XF Test Bench 3.3

testfactory04.h
1#ifndef TESTFACTORY04_H
2#define TESTFACTORY04_H
3
4//
5// What is seen only by the C++ compiler
6//
7#ifdef __cplusplus
8
9#include "statemachine04a.h"
10#include "statemachine04b.h"
11
12
19 class TestFactory04
20{
21 public:
22 TestFactory04();
23
24 static void initialize();
25 static void build();
26
27 protected:
28 static StateMachine04a task01_;
29 static StateMachine04b task02_;
30};
31
32#endif // __cplusplus
33
34//
35// What is seen by the C and C++ compiler
36//
37#ifdef __cplusplus
38 extern "C" {
39#endif // __cplusplus
40
41 void Factory_initialize();
42 void Factory_build();
43
44#ifdef __cplusplus
45}
46#endif // __cplusplus
47#endif // TESTFACTORY03_H
StateMachine04a
Definition: statemachine04a.h:17
StateMachine04b
Definition: statemachine04b.h:18
TestFactory04
Definition: testfactory04.h:20
TestFactory04::initialize
static void initialize()
Initializes the factory.
Definition: testfactory04.cpp:23
TestFactory04::build
static void build()
Creates components and initializes relations.
Definition: testfactory04.cpp:28
TestFactory04::task02_
static StateMachine04b task02_
Instance of StateMachine04b.
Definition: testfactory04.h:29
TestFactory04::task01_
static StateMachine04a task01_
Instance of StateMachine04a.
Definition: testfactory04.h:28
TestFactory04::TestFactory04
TestFactory04()
Constructor.
Definition: testfactory04.cpp:18