Torc
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
torc
openmax
torcomxtest.cpp
Go to the documentation of this file.
1
/* Class TorcOMXTest
2
*
3
* This file is part of the Torc project.
4
*
5
* Copyright (C) Mark Kendall 2018
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20
* USA.
21
*/
22
23
// Torc
24
#include "
torcadminthread.h
"
25
#include "
torcomxtest.h
"
26
27
TorcOMXTest::TorcOMXTest
()
28
: m_core()
29
{
30
}
31
32
TorcOMXTest::~TorcOMXTest
()
33
{
34
}
35
36
static
class
TorcOMXTestObject
:
public
TorcAdminObject
37
{
38
public
:
39
TorcOMXTestObject
()
40
:
TorcAdminObject
(
TORC_ADMIN_LOW_PRIORITY
)
41
{
42
}
43
44
~TorcOMXTestObject
()
45
{
46
Destroy();
47
}
48
49
void
Create
(
void
)
50
{
51
(void)
TorcOMXTest
();
52
}
53
54
void
Destroy
(
void
)
55
{
56
}
57
}
TorcOMXTestObject
;
58
59
TorcOMXTestObject
TorcOMXTestObject TorcOMXTestObject
TorcOMXTest::TorcOMXTest
TorcOMXTest()
Definition:
torcomxtest.cpp:27
TorcAdminObject
A factory class for automatically running objects outside of the main loop.
Definition:
torcadminthread.h:28
torcadminthread.h
TorcOMXTest::~TorcOMXTest
~TorcOMXTest()
Definition:
torcomxtest.cpp:32
TorcOMXTestObject::TorcOMXTestObject
TorcOMXTestObject()
Definition:
torcomxtest.cpp:39
TORC_ADMIN_LOW_PRIORITY
#define TORC_ADMIN_LOW_PRIORITY
Definition:
torcadminthread.h:26
TorcOMXTestObject::Create
void Create(void)
Definition:
torcomxtest.cpp:49
torcomxtest.h
TorcOMXTestObject::Destroy
void Destroy(void)
Definition:
torcomxtest.cpp:54
TorcOMXTestObject::~TorcOMXTestObject
~TorcOMXTestObject()
Definition:
torcomxtest.cpp:44
TorcOMXTestObject
Definition:
torcomxtest.cpp:36
Generated on Sat Jan 5 2019 21:54:03 for Torc by
1.8.11