fsfw/devicehandlers/ChildHandlerBase.h

27 lines
680 B
C
Raw Normal View History

2020-08-27 20:11:36 +02:00
#ifndef FSFW_DEVICES_CHILDHANDLERBASE_H_
2020-09-01 11:52:18 +02:00
#define FSFW_DEVICES_CHILDHANDLERBASE_H_
#include "ChildHandlerFDIR.h"
#include "DeviceHandlerBase.h"
class ChildHandlerBase: public DeviceHandlerBase {
public:
ChildHandlerBase(object_id_t setObjectId, object_id_t deviceCommunication,
CookieIF * cookie, uint32_t thermalStatePoolId,
2020-08-27 20:11:36 +02:00
uint32_t thermalRequestPoolId,
2020-09-01 11:52:18 +02:00
object_id_t parent = objects::NO_OBJECT,
2020-08-27 20:11:36 +02:00
FailureIsolationBase* customFdir = nullptr,
2020-09-01 11:52:18 +02:00
size_t cmdQueueSize = 20);
virtual ~ChildHandlerBase();
virtual ReturnValue_t initialize();
protected:
const uint32_t parentId;
ChildHandlerFDIR childHandlerFdir;
};
#endif /* FSFW_DEVICES_CHILDHANDLERBASE_H_ */
2020-08-27 20:11:36 +02:00