Robin Mueller
a18706ec53
1. Further reduces the amount of code the user needs to copy and paste 2. Makes FSFW tests more accessible. This can be used to simplify moving mission unit tests to the FSFW 3. A lot of include improvements
25 lines
653 B
C++
25 lines
653 B
C++
#ifndef FSFW_CATCHFACTORY_H_
|
|
#define FSFW_CATCHFACTORY_H_
|
|
|
|
#include "TestConfig.h"
|
|
#include "fsfw/objectmanager/SystemObjectIF.h"
|
|
#include "fsfw/objectmanager/ObjectManager.h"
|
|
|
|
// TODO: It is possible to solve this more cleanly using a special class which
|
|
// is allowed to set the object IDs and has virtual functions.
|
|
#if FSFW_ADD_DEFAULT_FACTORY_FUNCTIONS == 1
|
|
|
|
namespace Factory {
|
|
/**
|
|
* @brief Creates all SystemObject elements which are persistent
|
|
* during execution.
|
|
*/
|
|
void produceFrameworkObjects(void* args);
|
|
void setStaticFrameworkObjectIds();
|
|
|
|
}
|
|
|
|
#endif /* FSFW_ADD_DEFAULT_FSFW_FACTORY == 1 */
|
|
|
|
#endif /* FSFW_CATCHFACTORY_H_ */
|