fsfw/src/fsfw/devicehandlers/ChildHandlerBase.h

25 lines
714 B
C
Raw Normal View History

2020-10-12 18:18:41 +02:00
#ifndef FSFW_DEVICEHANDLER_CHILDHANDLERBASE_H_
#define FSFW_DEVICEHANDLER_CHILDHANDLERBASE_H_
2020-09-01 11:52:18 +02:00
2022-09-30 13:30:07 +02:00
#include <fsfw/subsystem/HasModeTreeChildrenIF.h>
2022-09-30 15:05:32 +02:00
2020-10-12 18:18:41 +02:00
#include "ChildHandlerFDIR.h"
2022-02-02 10:29:30 +01:00
#include "DeviceHandlerBase.h"
2020-09-01 11:52:18 +02:00
2022-02-02 10:29:30 +01:00
class ChildHandlerBase : public DeviceHandlerBase {
public:
ChildHandlerBase(object_id_t setObjectId, object_id_t deviceCommunication, CookieIF* cookie,
2022-09-30 15:05:32 +02:00
HasModeTreeChildrenIF& parent, FailureIsolationBase* customFdir = nullptr,
size_t cmdQueueSize = 20);
2020-09-01 11:52:18 +02:00
2022-02-02 10:29:30 +01:00
virtual ~ChildHandlerBase();
2020-09-01 11:52:18 +02:00
2022-02-02 10:29:30 +01:00
virtual ReturnValue_t initialize();
2020-09-01 11:52:18 +02:00
2022-02-02 10:29:30 +01:00
protected:
2022-09-30 13:30:07 +02:00
HasModeTreeChildrenIF& parent;
2022-02-02 10:29:30 +01:00
ChildHandlerFDIR childHandlerFdir;
2020-09-01 11:52:18 +02:00
};
2020-10-12 18:18:41 +02:00
#endif /* FSFW_DEVICEHANDLER_CHILDHANDLERBASE_H_ */