testfactory05.h
#ifndef TESTFACTORY05_H
#define TESTFACTORY05_H
//
// What is seen only by the C++ compiler
//
#ifdef __cplusplus
#include "statemachine05a.h"
#include "statemachine05b.h"
class TestFactory05
{
public:
TestFactory05();
static void initialize();
static void build();
protected:
static StateMachine05a task01_;
static StateMachine05b task02_;
static StateMachine05b task03_;
static StateMachine05b task04_;
};
#endif // __cplusplus
//
// What is seen by the C and C++ compiler
//
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
void Factory_initialize();
void Factory_build();
#ifdef __cplusplus
}
#endif // __cplusplus
#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