File introspector.hpp¶
-
namespace o80
-
template<class ROBOT_STATE>
class Introspector - #include <introspector.hpp>
Public Types
-
typedef time_series::MultiprocessTimeSeries<Command<ROBOT_STATE>> CommandsTimeSeries
-
typedef time_series::MultiprocessTimeSeries<int> CompletedCommandsTimeSeries
Public Functions
-
Introspector(std::string segment_id)
-
void start()
-
void stop()
Public Static Functions
-
static bool start_running(std::string segment_id)
-
static bool stop_running()
Private Functions
-
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
-
namespace internal¶
Functions
-
template<class ROBOT_STATE>
THREAD_FUNCTION_RETURN_TYPE run_commands_helper(void *arg)¶
-
template<class ROBOT_STATE>
THREAD_FUNCTION_RETURN_TYPE run_completed_commands_helper(void *arg)¶
-
template<class ROBOT_STATE>
THREAD_FUNCTION_RETURN_TYPE run_waiting_for_completion_helper(void *arg)¶
-
template<class ROBOT_STATE>
THREAD_FUNCTION_RETURN_TYPE run_completion_reported_helper(void *arg)¶
-
template<class ROBOT_STATE>
THREAD_FUNCTION_RETURN_TYPE run_received_helper(void *arg)¶
-
template<class ROBOT_STATE>
THREAD_FUNCTION_RETURN_TYPE run_starting_helper(void *arg)¶
-
template<class ROBOT_STATE>
-
template<class ROBOT_STATE>