#include <state_machine_event_loop.h>
Public Member Functions | |
void | start () |
StateMachineEventLoop (int interval=50) | |
void | stop () |
~StateMachineEventLoop () | |
Public Attributes | |
EventHandler< StateMachineEventLoop, EventArgs > | updateTickEvent |
Private Member Functions | |
void | updateLoop () |
Private Attributes | |
int | interval_ |
std::atomic< bool > | stop_thread_ |
std::unique_ptr< std::thread > | thread_ |
Definition at line 27 of file state_machine_event_loop.h.
packml_sm::StateMachineEventLoop::StateMachineEventLoop | ( | int | interval = 50 | ) |
Definition at line 25 of file state_machine_event_loop.cpp.
packml_sm::StateMachineEventLoop::~StateMachineEventLoop | ( | ) |
Definition at line 29 of file state_machine_event_loop.cpp.
void packml_sm::StateMachineEventLoop::start | ( | ) |
Definition at line 38 of file state_machine_event_loop.cpp.
void packml_sm::StateMachineEventLoop::stop | ( | ) |
Definition at line 46 of file state_machine_event_loop.cpp.
|
private |
Definition at line 56 of file state_machine_event_loop.cpp.
|
private |
Definition at line 41 of file state_machine_event_loop.h.
|
private |
Definition at line 40 of file state_machine_event_loop.h.
|
private |
Definition at line 39 of file state_machine_event_loop.h.
EventHandler<StateMachineEventLoop, EventArgs> packml_sm::StateMachineEventLoop::updateTickEvent |
Definition at line 30 of file state_machine_event_loop.h.