18 #ifndef MODBUS_MSG_RUN_PERMITTED_WRAPPER_H 19 #define MODBUS_MSG_RUN_PERMITTED_WRAPPER_H 22 #include <prbt_hardware_support/ModbusMsgInStamped.h> 78 #endif // MODBUS_MSG_RUN_PERMITTED_WRAPPER_H const ModbusApiSpec & getApiSpec() const
uint16_t getRegister(uint32_t reg) const
bool hasRunPermitted() const
Check if the message contains a RUN_PERMITTED definition.
bool hasRegister(uint32_t reg) const
Check if a certain holding register is define in the Modbus message.
Wrapper class to add semantic to a raw ModbusMsgInStamped.
virtual void checkStructuralIntegrity() const override
Calls ModbusMsgWrapper::checkStructuralIntegrity().
static const std::string RUN_PERMITTED
bool getRunPermitted() const
Get the RUN_PERMITTED from the Modbus message.
ModbusMsgRunPermittedWrapper(const ModbusMsgInStampedConstPtr &modbus_msg_raw, const ModbusApiSpec &api_spec)
Wrapper class to add semantic to a raw ModbusMsgInStamped.
Specifies the meaning of the holding registers.