some ctors
This commit is contained in:
parent
c379f8671d
commit
bb640f8758
@ -8,7 +8,6 @@
|
|||||||
#include "DeviceHandlerIF.h"
|
#include "DeviceHandlerIF.h"
|
||||||
#include "DeviceHandlerThermalSet.h"
|
#include "DeviceHandlerThermalSet.h"
|
||||||
#include "DhbCfgHelpers.h"
|
#include "DhbCfgHelpers.h"
|
||||||
|
|
||||||
#include "fsfw/action/ActionHelper.h"
|
#include "fsfw/action/ActionHelper.h"
|
||||||
#include "fsfw/action/HasActionsIF.h"
|
#include "fsfw/action/HasActionsIF.h"
|
||||||
#include "fsfw/datapool/PoolVariableIF.h"
|
#include "fsfw/datapool/PoolVariableIF.h"
|
||||||
@ -490,7 +489,9 @@ class DeviceHandlerBase : public DeviceHandlerIF,
|
|||||||
* @return - @c RETURN_OK when the command was successfully inserted,
|
* @return - @c RETURN_OK when the command was successfully inserted,
|
||||||
* - @c RETURN_FAILED else.
|
* - @c RETURN_FAILED else.
|
||||||
*/
|
*/
|
||||||
ReturnValue_t insertInCommandMap(CmdCfg cfg);
|
ReturnValue_t insertInCommandMap(
|
||||||
|
DeviceCommandId_t deviceCommand, bool useAlternativeReply = false,
|
||||||
|
DeviceCommandId_t alternativeReplyId = DeviceHandlerIF::NO_COMMAND_ID);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables a periodic reply for a given command. It sets to delay cycles to the specified
|
* Enables a periodic reply for a given command. It sets to delay cycles to the specified
|
||||||
|
@ -28,8 +28,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
struct ReplyCfg {
|
struct ReplyCfg {
|
||||||
public:
|
public:
|
||||||
ReplyCfg(DeviceCommandId_t replyId, uint16_t maxDelayCycles);
|
ReplyCfg(DeviceCommandId_t replyId, uint16_t maxDelayCycles)
|
||||||
ReplyCfg(DeviceCommandId_t replyId, uint16_t maxDelayCycles);
|
: baseCfg(replyId), maxDelayCycles(maxDelayCycles){};
|
||||||
|
ReplyCfg(DeviceCommandId_t replyId, uint16_t maxDelayCycles, LocalPoolDataSetBase* set)
|
||||||
|
: ReplyCfg(replyId, maxDelayCycles) {
|
||||||
|
dataSet = set;
|
||||||
|
};
|
||||||
|
|
||||||
CfgBase baseCfg;
|
CfgBase baseCfg;
|
||||||
//! A data set can be mapped to a reply ID. This allows to omit the #getDataSetHandle
|
//! A data set can be mapped to a reply ID. This allows to omit the #getDataSetHandle
|
||||||
//! override in a user device handler as this pointer will be passed as long as the device
|
//! override in a user device handler as this pointer will be passed as long as the device
|
||||||
|
Loading…
Reference in New Issue
Block a user