rotor_light
real-time C++ actor micro-framework for embedded systems, supervisable
rotor_light::message::ChangeStateAck Struct Reference

State Change confirmation, from actor to supervisor. More...

#include <messages.hpp>

Inheritance diagram for rotor_light::message::ChangeStateAck:
rotor_light::Message

Public Member Functions

 ChangeStateAck (ActorId to, ActorId from_, State state_, bool success_)
 
- Public Member Functions inherited from rotor_light::Message
 Message (ActorId to_)
 
 Message (const Message &)=delete
 
 Message (Message &&)=delete
 

Public Attributes

ActorId from
 
State state
 
bool success
 
- Public Attributes inherited from rotor_light::Message
MessageTypeId type
 

Static Public Attributes

static constexpr auto type_id = ChangeState::type_id - 1
 

Detailed Description

State Change confirmation, from actor to supervisor.

Constructor & Destructor Documentation

◆ ChangeStateAck()

rotor_light::message::ChangeStateAck::ChangeStateAck ( ActorId  to,
ActorId  from_,
State  state_,
bool  success_ 
)
inline

records origin of the state change and success marker

Member Data Documentation

◆ from

ActorId rotor_light::message::ChangeStateAck::from

origin/source actor

◆ state

State rotor_light::message::ChangeStateAck::state

asked/subject state

◆ success

bool rotor_light::message::ChangeStateAck::success

success marker

◆ type_id

constexpr auto rotor_light::message::ChangeStateAck::type_id = ChangeState::type_id - 1
staticconstexpr

message type identifyer


The documentation for this struct was generated from the following file: