Class DataContainer
Defined in File data_container.hpp
Inheritance Relationships
Base Type
public DataContainerInterface
(Class DataContainerInterface)
Class Documentation
-
class DataContainer : public DataContainerInterface
DataContainer implementation class. This class contains all initialization-related data.
Public Types
-
using AddCallbackGroup = ContainerTraits<const void*, const void*, const char*, const void*, int64_t>
for add_callback_group trace points.
-
using AddCallbackGroupStaticExecutor = ContainerTraits<const void*, const void*, const char*, const void*, int64_t>
ContainerTraits for add_callback_group_static_executor trace points.
-
using CallbackGroupAddClient = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for callback_group_add_client trace points.
-
using CallbackGroupAddService = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for callback_group_add_service trace points.
-
using CallbackGroupAddSubscription = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for callback_group_add_subscription trace points.
-
using CallbackGroupAddTimer = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for callback_group_add_timer trace points.
-
using ConstructExecutor = ContainerTraits<const void*, const char*, int64_t>
ContainerTraits for construct_executor trace points.
-
using ConstructStaticExecutor = ContainerTraits<const void*, const void*, const char*, int64_t>
ContainerTraits for construct_static_executor trace points.
-
using RclInit = ContainerTraits<const void*, int64_t>
ContainerTraits for rcl_init trace points.
-
using RclNodeInit = ContainerTraits<const void*, const void*, const char*, const char*, int64_t>
ContainerTraits for rcl_node_init trace points.
-
using RclSubscriptionInit = ContainerTraits<const void*, const void*, const void*, const char*, size_t, int64_t>
ContainerTraits for rcl_subscription_init trace points.
-
using RclcppCallbackRegister = ContainerTraits<const void*, const char*, int64_t>
ContainerTraits for rclcpp_callback_register trace points.
-
using RclcppSubscriptionInit = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_subscription_init trace points.
-
using RclcppSubscriptionCallbackAdded = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_subscription_callback_added trace points.
-
using RclcppTimerCallbackAdded = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_timer_callback_added trace points.
-
using RclcppTimerLinkNode = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_timer_link_node trace points.
-
using RclTimerInit = ContainerTraits<const void*, int64_t, int64_t>
ContainerTraits for rcl_timer_init trace points.
-
using RclPublisherInit = ContainerTraits<const void*, const void*, const void*, const char*, size_t, int64_t>
ContainerTraits for rcl_publisher_init trace points.
-
using RclClientInit = ContainerTraits<const void*, const void*, const void*, const char*, int64_t>
ContainerTraits for rcl_client_init trace points.
-
using RclcppServiceCallbackAdded = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_service_callback_added trace points.
-
using RclServiceInit = ContainerTraits<const void*, const void*, const void*, const char*, int64_t>
ContainerTraits for rcl_service_init trace points.
-
using RclcppConstructRingBuffer = ContainerTraits<const void*, int64_t, int64_t>
ContainerTraits for rclcpp_construct_ring_buffer trace points.
-
using RclcppBufferToIpb = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_buffer_to_ipb trace points.
-
using RclcppIpbToSubscription = ContainerTraits<const void*, const void*, int64_t>
ContainerTraits for rclcpp_ipb_to_subscription trace points.
-
using RmwImplementation = ContainerTraits<const char*, int64_t>
ContainerTraits for rmw_implementation trace points.
Public Functions
-
DataContainer()
Construct an instance.
Construct an instance.
- Parameters:
add_callback_group – Data instance for add_callback_group trace point.
add_callback_group_static_executor – Data instance for add_callback_group_static_executor trace point.
callback_group_add_client – Data instance for callback_group_add_client trace point.
callback_group_add_service – Data instance for callback_group_add_service trace point.
callback_group_add_subscription – Data instance for callback_group_add_subscription trace point.
callback_group_add_timer – Data instance for callback_group_add_timer trace point.
construct_executor – Data instance for construct_executor trace point.
construct_static_executor – Data instance for construct_static_executor trace point.
rcl_client_init – Data instance for rcl_client_init trace point.
rcl_init – Data instance for rcl_init trace point.
rcl_node_init – Data instance for rcl_node_init trace point.
rcl_publisher_init – Data instance for rcl_publisher_init trace point.
rcl_service_init – Data instance for rcl_service_init trace point.
rcl_subscription_init – Data instance for rcl_subscription_init trace point.
rcl_timer_init – Data instance for rcl_timer_init trace point.
rclcpp_callback_register – Data instance for rclcpp_callback_register trace point.
rclcpp_service_callback_added – Data instance for rclcpp_service_callback_added trace point.
rclcpp_subscription_callback_added – Data instance for rclcpp_subscription_callback_added trace point.
rclcpp_subscription_init – Data instance for rclcpp_subscription_init trace point.
rclcpp_timer_callback_added – Data instance for rclcpp_timer_callback_added trace point.
rclcpp_timer_link_node – Data instance for rclcpp_timer_link_node trace point.
rmw_implementation – Data instance for rmw_implementation trace point.
-
virtual bool record(uint64_t loop_count = 1) override
record stored data.
- Parameters:
loop_count – Number of records to be recorded at one time.
- Returns:
True if record has finished, false otherwise.
-
virtual void start_recording() override
transition to recording state.
-
virtual void reset() override
Reset recording state.
-
template<typename ...Args>
inline bool store_add_callback_group(Args... args) Store data for add_callback_group trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_add_callback_group_static_executor(Args... args) Store data for add_callback_group_static_executor trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_callback_group_add_client(Args... args) Store data for callback_group_add_client trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_callback_group_add_service(Args... args) Store data for callback_group_add_service trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_callback_group_add_subscription(Args... args) Store data for callback_group_add_subscription trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_callback_group_add_timer(Args... args) Store data for callback_group_add_timer trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_construct_executor(Args... args) Store data for construct_executor trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_construct_static_executor(Args... args) Store data for construct_static_executor trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_node_init(Args... args) Store data for rcl_node_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_init(Args... args) Store data for rcl_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_subscription_init(Args... args) Store data for rcl_subscription_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_callback_register(Args... args) Store data for rclcpp_callback_register trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_subscription_init(Args... args) Store data for rclcpp_subscription_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_subscription_callback_added(Args... args) Store data for rclcpp_subscription_callback_added trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_timer_callback_added(Args... args) Store data for rclcpp_timer_callback_added trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_timer_link_node(Args... args) Store data for rclcpp_timer_link_node trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_timer_init(Args... args) Store data for rcl_timer_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_publisher_init(Args... args) Store data for rcl_publisher_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_client_init(Args... args) Store data for rcl_client_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_service_callback_added(Args... args) Store data for rclcpp_service_callback_added trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rcl_service_init(Args... args) Store data for rcl_service_init trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_construct_ring_buffer(Args... args) Store data for rclcpp_construct_ring_buffer trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_buffer_to_ipb(Args... args) Store data for rclcpp_buffer_to_ipb trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rclcpp_ipb_to_subscription(Args... args) Store data for rclcpp_ipb_to_subscription trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
template<typename ...Args>
inline bool store_rmw_implementation(Args... args) Store data for rmw_implementation trace points.
- Template Parameters:
...Args – Data types to be stored.
- Parameters:
...args – Data to be stored.
- Returns:
True, data was stored to pending set.
- Returns:
False, data was stored to set.
-
void assign_add_callback_group(AddCallbackGroup::StdFuncT record)
Assign recording function for add_callback_group trace points.
- Parameters:
record – recording function.
-
void assign_add_callback_group_static_executor(AddCallbackGroupStaticExecutor::StdFuncT record)
Assign recording function for add_callback_group_static_executor trace points.
- Parameters:
record – recording function.
-
void assign_callback_group_add_client(CallbackGroupAddClient::StdFuncT record)
Assign recording function for callback_group_add_client trace points.
- Parameters:
record – recording function.
-
void assign_callback_group_add_service(CallbackGroupAddService::StdFuncT record)
Assign recording function for callback_group_add_service trace points.
- Parameters:
record – recording function.
-
void assign_callback_group_add_subscription(CallbackGroupAddSubscription::StdFuncT record)
Assign recording function for callback_group_add_subscription trace points.
- Parameters:
record – recording function.
-
void assign_callback_group_add_timer(CallbackGroupAddTimer::StdFuncT record)
Assign recording function for callback_group_add_timer trace points.
- Parameters:
record – recording function.
-
void assign_construct_executor(ConstructExecutor::StdFuncT record)
Assign recording function for construct_executor trace points.
- Parameters:
record – recording function.
-
void assign_construct_static_executor(ConstructStaticExecutor::StdFuncT record)
Assign recording function for construct_static_executor trace points.
- Parameters:
record – recording function.
-
void assign_rcl_client_init(RclClientInit::StdFuncT record)
Assign recording function for rcl_client_init trace points.
- Parameters:
record – recording function.
-
void assign_rcl_init(RclInit::StdFuncT record)
Assign recording function for rcl_init trace points.
- Parameters:
record – recording function.
-
void assign_rcl_node_init(RclNodeInit::StdFuncT record)
Assign recording function for rcl_node_init trace points.
- Parameters:
record – recording function.
-
void assign_rcl_publisher_init(RclPublisherInit::StdFuncT record)
Assign recording function for rcl_publisher_init trace points.
- Parameters:
record – recording function.
-
void assign_rcl_service_init(RclServiceInit::StdFuncT record)
Assign recording function for rcl_service_init trace points.
- Parameters:
record – recording function.
-
void assign_rcl_subscription_init(RclSubscriptionInit::StdFuncT record)
Assign recording function for rcl_subscription_init trace points.
- Parameters:
record – recording function.
-
void assign_rcl_timer_init(RclTimerInit::StdFuncT record)
Assign recording function for rcl_timer_init trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_callback_register(RclcppCallbackRegister::StdFuncT record)
Assign recording function for rclcpp_callback_register trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_service_callback_added(RclcppServiceCallbackAdded::StdFuncT record)
Assign recording function for rclcpp_service_callback_added trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_subscription_callback_added(RclcppSubscriptionCallbackAdded::StdFuncT record)
Assign recording function for rclcpp_subscription_callback_added trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_subscription_init(RclcppSubscriptionInit::StdFuncT record)
Assign recording function for rclcpp_subscription_init trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_timer_callback_added(RclcppTimerCallbackAdded::StdFuncT record)
Assign recording function for rclcpp_timer_callback_added trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_timer_link_node(RclcppTimerLinkNode::StdFuncT record)
Assign recording function for rclcpp_timer_link_node trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_construct_ring_buffer(RclcppConstructRingBuffer::StdFuncT record)
Assign recording function for rclcpp_construct_ring_buffer trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_buffer_to_ipb(RclcppBufferToIpb::StdFuncT record)
Assign recording function for rclcpp_buffer_to_ipb trace points.
- Parameters:
record – recording function.
-
void assign_rclcpp_ipb_to_subscription(RclcppIpbToSubscription::StdFuncT record)
Assign recording function for rclcpp_ipb_to_subscription trace points.
- Parameters:
record – recording function.
-
void assign_rmw_implementation(RmwImplementation::StdFuncT record)
Assign recording function for rmw_implementation trace points.
- Parameters:
record – recording function.
-
bool is_assigned_add_callback_group() const
Check whether recording function for add_callback_group trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_add_callback_group_static_executor() const
Check whether recording function for add_callback_group_static_executor trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_callback_group_add_client() const
Check whether recording function for callback_group_add_client trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_callback_group_add_service() const
Check whether recording function for callback_group_add_service trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_callback_group_add_subscription() const
Check whether recording function for callback_group_add_subscription trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_callback_group_add_timer() const
Check whether recording function for callback_group_add_timer trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_callback_group_static_executor() const
Check whether recording function for callback_group_static_executor trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_construct_executor() const
Check whether recording function for construct_executor trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_construct_static_executor() const
Check whether recording function for construct_static_executor trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_client_init() const
Check whether recording function for rcl_client_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_init() const
Check whether recording function for rcl_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_node_init() const
Check whether recording function for rcl_node_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_publisher_init() const
Check whether recording function for rcl_publisher_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_service_init() const
Check whether recording function for rcl_service_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_subscription_init() const
Check whether recording function for rcl_subscription_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rcl_timer_init() const
Check whether recording function for rcl_timer_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_callback_register() const
Check whether recording function for rclcpp_callback_register trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_service_callback_added() const
Check whether recording function for rclcpp_service_callback_added trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_subscription_callback_added() const
Check whether recording function for rclcpp_subscription_callback_added trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_subscription_init() const
Check whether recording function for rclcpp_subscription_init trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_timer_callback_added() const
Check whether recording function for rclcpp_timer_callback_added trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_timer_link_node() const
Check whether recording function for rclcpp_timer_link_node trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_construct_ring_buffer() const
Check whether recording function for rclcpp_construct_ring_buffer trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_buffer_to_ipb() const
Check whether recording function for rclcpp_buffer_to_ipb trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rclcpp_ipb_to_subscription() const
Check whether recording function for rclcpp_ipb_to_subscription trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
bool is_assigned_rmw_implementation() const
Check whether recording function for rmw_implementation trace point is assigned.
- Returns:
True if function is assigned, false otherwise.
-
std::vector<std::string> trace_points() const
Get trace point names.
- Returns:
Trace point names.
-
using AddCallbackGroup = ContainerTraits<const void*, const void*, const char*, const void*, int64_t>