#ifndef MISSION_DEVICES_P60DOCKHANDLER_H_ #define MISSION_DEVICES_P60DOCKHANDLER_H_ #include "GomspaceDeviceHandler.h" #include /** * @brief Device handler for the P60Dock. The P60Dock serves as carrier for the ACU, PDU1 and * PDU2. Via the P60Dock each of these modules can be turned on and off individually. */ class P60DockHandler: public GomspaceDeviceHandler { public: P60DockHandler(object_id_t objectId, object_id_t comIF, CookieIF * comCookie); virtual ~P60DockHandler(); virtual ReturnValue_t initializeLocalDataPool(localpool::DataPool& localDataPoolMap, LocalDataPoolManager& poolManager) override; protected: /** * @brief As soon as the device is in MODE_NORMAL, this function is executed periodically. */ virtual ReturnValue_t buildNormalDeviceCommand(DeviceCommandId_t * id) override; virtual void letChildHandleHkReply(DeviceCommandId_t id, const uint8_t *packet) override; private: P60Dock::HkTableDataset p60dockHkTableDataset; /** * @brief Function extracts the hk table information from the received csp packet and stores * the values in the p60dockHkTableDataset. */ void parseHkTableReply(const uint8_t *packet); }; #endif /* MISSION_DEVICES_P60DOCKHANDLER_H_ */