XF Test Bench 3.3

testfactory05.h
1#ifndef TESTFACTORY05_H
2#define TESTFACTORY05_H
3
4//
5// What is seen only by the C++ compiler
6//
7#ifdef __cplusplus
8
9#include "statemachine05a.h"
10#include "statemachine05b.h"
11
12
19 class TestFactory05
20{
21 public:
22 TestFactory05();
23
24 static void initialize();
25 static void build();
26
27 protected:
28 static StateMachine05a task01_;
29 static StateMachine05b task02_;
30 static StateMachine05b task03_;
31 static StateMachine05b task04_;
32};
33
34#endif // __cplusplus
35
36//
37// What is seen by the C and C++ compiler
38//
39#ifdef __cplusplus
40 extern "C" {
41#endif // __cplusplus
42
43 void Factory_initialize();
44 void Factory_build();
45
46#ifdef __cplusplus
47}
48#endif // __cplusplus
49#endif // TESTFACTORY05_H
StateMachine05a
Definition: statemachine05a.h:19
StateMachine05b
Definition: statemachine05b.h:19
TestFactory05
Factory creating all objects used in test5.
Definition: testfactory05.h:20
TestFactory05::task01_
static StateMachine05a task01_
Instance of StateMachine05a saying 'Tick 500ms'.
Definition: testfactory05.h:28
TestFactory05::task02_
static StateMachine05b task02_
Instance of StateMachine05b saying 'One' every second.
Definition: testfactory05.h:29
TestFactory05::task04_
static StateMachine05b task04_
Instance of StateMachine05b saying 'Three' every second.
Definition: testfactory05.h:31
TestFactory05::initialize
static void initialize()
Initializes the factory.
Definition: testfactory05.cpp:25
TestFactory05::build
static void build()
Creates components and initializes relations.
Definition: testfactory05.cpp:30
TestFactory05::TestFactory05
TestFactory05()
Constructor.
Definition: testfactory05.cpp:20
TestFactory05::task03_
static StateMachine05b task03_
Instance of StateMachine05b saying 'Two' every second.
Definition: testfactory05.h:30