XF Test Bench 3.3
testfactory02.h
1#ifndef TESTFACTORY02_H
2#define TESTFACTORY02_H
3
4//
5// What is seen only by the C++ compiler
6//
7#ifdef __cplusplus
8
9#include "statemachine02.h"
10
18{
19public:
21
22 static void initialize();
23 static void build();
24
25protected:
26 static StateMachine02 & getStaticTask();
28};
29
30#endif // __cplusplus
31
32//
33// What is seen by the C and C++ compiler
34//
35#ifdef __cplusplus
36extern "C" {
37#endif // __cplusplus
38
39void Factory_initialize();
40void Factory_build();
41
42#ifdef __cplusplus
43}
44#endif // __cplusplus
45#endif // TESTFACTORY02_H
Definition: statemachine02.h:17
Definition: testfactory02.h:18
static void build()
Creates components and initializes relations.
Definition: testfactory02.cpp:32
TestFactory02()
Constructor.
Definition: testfactory02.cpp:16
static StateMachine02 & getDynamicTask()
Returns reference to dynamically allocated instance of StateMachine02.
Definition: testfactory02.cpp:51
static StateMachine02 & getStaticTask()
Returns reference to static instance of StateMachine02.
Definition: testfactory02.cpp:43
static void initialize()
Initializes the factory.
Definition: testfactory02.cpp:21