Class o80::Introspector¶
-
template<class ROBOT_STATE>
class o80::Introspector¶ Public Types
-
typedef time_series::MultiprocessTimeSeries<Command<ROBOT_STATE>> CommandsTimeSeries¶
-
typedef time_series::MultiprocessTimeSeries<int> CompletedCommandsTimeSeries¶
Public Static Functions
-
static bool start_running(std::string segment_id)¶
-
static bool stop_running()¶
Private Functions
-
template<class T>
void run(std::shared_ptr<T> time_series, std::string prefix)
-
void run_commands()¶
-
void run_completed_commands()¶
-
void run_waiting_for_completion()¶
-
void run_completion_reported()¶
-
void run_received()¶
-
void run_starting()¶
Private Members
-
std::mutex mutex_¶
-
std::atomic<bool> running_¶
-
real_time_tools::RealTimeThread commands_thread_¶
-
real_time_tools::RealTimeThread completed_commands_thread_¶
-
real_time_tools::RealTimeThread waiting_for_completion_thread_¶
-
real_time_tools::RealTimeThread completion_reported_thread_¶
-
real_time_tools::RealTimeThread received_thread_¶
-
real_time_tools::RealTimeThread starting_thread_¶
-
std::shared_ptr<CommandsTimeSeries> commands_¶
-
std::shared_ptr<CompletedCommandsTimeSeries> completed_commands_¶
-
std::shared_ptr<CompletedCommandsTimeSeries> waiting_for_completion_¶
-
std::shared_ptr<CompletedCommandsTimeSeries> completion_reported_¶
-
std::shared_ptr<CompletedCommandsTimeSeries> received_¶
-
std::shared_ptr<CompletedCommandsTimeSeries> starting_¶
Private Static Attributes
-
static std::shared_ptr<Introspector<ROBOT_STATE>> instance_ = nullptr¶
Friends
- friend friend THREAD_FUNCTION_RETURN_TYPE internal::run_commands_helper (void *arg)
- friend friend THREAD_FUNCTION_RETURN_TYPE internal::run_completed_commands_helper (void *arg)
- friend friend THREAD_FUNCTION_RETURN_TYPE internal::run_waiting_for_completion_helper (void *arg)
- friend friend THREAD_FUNCTION_RETURN_TYPE internal::run_completion_reported_helper (void *arg)
- friend friend THREAD_FUNCTION_RETURN_TYPE internal::run_received_helper (void *arg)
- friend friend THREAD_FUNCTION_RETURN_TYPE internal::run_starting_helper (void *arg)
-
typedef time_series::MultiprocessTimeSeries<Command<ROBOT_STATE>> CommandsTimeSeries¶