Struct Ros2TopicDataProvider::PoolEntry

Nested Relationships

This struct is a nested type of Class Ros2TopicDataProvider.

Struct Documentation

struct PoolEntry

Public Members

std::string topic
std::string cached_type
std::unique_ptr<ros2_common::Ros2SubscriptionSlot> slot
mutable std::mutex buf_mtx
std::condition_variable buf_cv
std::optional<rclcpp::SerializedMessage> latest
std::int64_t latest_ns = {0}
std::chrono::steady_clock::time_point last_sample_time
std::atomic<bool> shutdown = {false}