Initial commit

This commit is contained in:
2023-09-19 15:59:49 +02:00
commit bef0bade14
1860 changed files with 582828 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
#ifndef TESTFACTORY01_H
#define TESTFACTORY01_H
//
// What is seen only by the C++ compiler
//
#ifdef __cplusplus
#include "statemachine01.h"
/**
* \ingroup test01
*
* Factory creating all objects used in test1.
*
*/
class TestFactory01
{
public:
TestFactory01(); ///< Constructor
static void initialize(); ///< Initializes the factory
static void build(); ///< Creates components and initializes relations
protected:
static StateMachine01 task01_; ///< First instance of StateMachine01
static StateMachine01 task02_; ///< Second instance of StateMachine01
};
#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