2016-06-15 23:48:41 +02:00
|
|
|
#ifndef PAYLOADHANDLERBASE_H_
|
|
|
|
#define PAYLOADHANDLERBASE_H_
|
|
|
|
|
|
|
|
#include <framework/devicehandlers/ChildHandlerFDIR.h>
|
|
|
|
#include <framework/devicehandlers/DeviceHandlerBase.h>
|
|
|
|
|
|
|
|
class ChildHandlerBase: public DeviceHandlerBase {
|
|
|
|
public:
|
2020-03-23 19:09:42 +01:00
|
|
|
ChildHandlerBase(object_id_t setObjectId, object_id_t deviceCommunication,
|
2020-07-09 14:26:15 +02:00
|
|
|
CookieIF * cookie, uint8_t setDeviceSwitch,
|
2020-06-30 21:22:26 +02:00
|
|
|
object_id_t hkDestination, uint32_t thermalStatePoolId,
|
2020-07-09 14:26:15 +02:00
|
|
|
uint32_t thermalRequestPoolId, object_id_t parent = objects::NO_OBJECT,
|
2020-06-30 21:22:26 +02:00
|
|
|
FailureIsolationBase* customFdir = nullptr, size_t cmdQueueSize = 20);
|
2016-06-15 23:48:41 +02:00
|
|
|
virtual ~ChildHandlerBase();
|
|
|
|
|
|
|
|
virtual ReturnValue_t initialize();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
const uint32_t parentId;
|
|
|
|
ChildHandlerFDIR childHandlerFdir;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* PAYLOADHANDLERBASE_H_ */
|