Class StateReactor
Defined in File smacc_state_reactor.hpp
Class Documentation
-
class StateReactor
Public Functions
-
StateReactor()
-
virtual ~StateReactor()
-
virtual void onInitialized()
-
virtual void onEntry()
-
virtual void onExit()
-
virtual void onEventNotified(const std::type_info *eventType)
-
template<typename EventType>
void postEvent()
-
template<typename T, typename TClass>
void createEventCallback(void (TClass::* callback)(T*), TClass *object)
-
void update()
-
virtual bool triggers() = 0
-
template<typename TEv>
void addInputEvent()
-
template<typename TEv>
void setOutputEvent()
-
void initialize(ISmaccState *ownerState)
-
rclcpp::Node::SharedPtr &getNode()
-
rclcpp::Logger getLogger()
Public Members
-
ISmaccState *ownerState
-
std::function<void()> postEventFn
-
std::vector<const std::type_info*> eventTypes
-
std::map<const std::type_info*, std::function<void(void*)>> eventCallbacks_
-
StateReactor()