XF Test Bench 3.3

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