testfactory01.h
#ifndef TESTFACTORY01_H
#define TESTFACTORY01_H
//
// What is seen only by the C++ compiler
//
#ifdef __cplusplus
#include "statemachine01.h"
class TestFactory01
{
public:
TestFactory01();
static void initialize();
static void build();
protected:
static StateMachine01 task01_;
static StateMachine01 task02_;
};
#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 // 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