AWS IoT C++ SDK
|
#include <Action.hpp>
Public Types | |
typedef std::function< void(uint16_t action_id, ResponseCode rc)> | AsyncAckNotificationHandlerPtr |
Public Member Functions | |
ActionData (const ActionData &)=default | |
ActionData (ActionData &&)=default | |
ActionData & | operator= (const ActionData &) &=default |
ActionData & | operator= (ActionData &&) &=default |
virtual uint16_t | GetActionId ()=0 |
Get ID of the current run of this Action. More... | |
virtual void | SetActionId (uint16_t action_id)=0 |
Set the Action ID for this run of the Action. More... | |
Data Fields | |
AsyncAckNotificationHandlerPtr | p_async_ack_handler_ |
Handler to call when response is received for this action. | |
Defines an Action Data class which contains dynamic information to be used by the action Instance of concrete implementation of this class is passed as argument each time Perform Action is called This is a pure virtual class, cannot be instantiated
typedef std::function<void(uint16_t action_id, ResponseCode rc)> awsiotsdk::ActionData::AsyncAckNotificationHandlerPtr |
Define a type for the Async Ack notification handler Clients can provide an instance of this to receive notification on status of Async API calls
|
pure virtual |
Implemented in awsiotsdk::discovery::DiscoverRequestData, and awsiotsdk::mqtt::Packet.
|
pure virtual |
action_id | - new Action ID |
Implemented in awsiotsdk::discovery::DiscoverRequestData, and awsiotsdk::mqtt::Packet.