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