2020-10-12 18:12:26 +02:00
|
|
|
#ifndef FSFW_DEVICEHANDLER_CHILDHANDLERBASE_H_
|
|
|
|
#define FSFW_DEVICEHANDLER_CHILDHANDLERBASE_H_
|
2020-08-28 18:33:29 +02:00
|
|
|
|
2020-10-12 18:12:26 +02:00
|
|
|
#include "DeviceHandlerBase.h"
|
|
|
|
#include "ChildHandlerFDIR.h"
|
2020-08-28 18:33:29 +02:00
|
|
|
|
|
|
|
class ChildHandlerBase: public DeviceHandlerBase {
|
|
|
|
public:
|
|
|
|
ChildHandlerBase(object_id_t setObjectId, object_id_t deviceCommunication,
|
|
|
|
CookieIF * cookie, object_id_t hkDestination,
|
|
|
|
uint32_t thermalStatePoolId, uint32_t thermalRequestPoolId,
|
|
|
|
object_id_t parent = objects::NO_OBJECT,
|
2020-10-12 18:12:26 +02:00
|
|
|
FailureIsolationBase* customFdir = nullptr,
|
|
|
|
size_t cmdQueueSize = 20);
|
|
|
|
|
2020-08-28 18:33:29 +02:00
|
|
|
virtual ~ChildHandlerBase();
|
|
|
|
|
|
|
|
virtual ReturnValue_t initialize();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
const uint32_t parentId;
|
|
|
|
ChildHandlerFDIR childHandlerFdir;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2020-10-12 18:12:26 +02:00
|
|
|
#endif /* FSFW_DEVICEHANDLER_CHILDHANDLERBASE_H_ */
|