Public Member Functions | Public Attributes | List of all members
BT::Groot2Publisher::PImpl Struct Reference

Public Member Functions

 PImpl ()
 

Public Attributes

std::atomic_bool active_server = false
 
zmq::context_t context
 
std::thread heartbeat_thread
 
std::mutex hooks_map_mutex
 
std::chrono::system_clock::time_point last_heartbeat
 
std::chrono::milliseconds max_heartbeat_delay = std::chrono::milliseconds(5000)
 
std::unordered_map< uint16_t, std::weak_ptr< BT::TreeNode > > nodes_by_uid
 
std::unordered_map< uint16_t, Monitor::Hook::Ptrpost_hooks
 
std::unordered_map< uint16_t, Monitor::Hook::Ptrpre_hooks
 
zmq::socket_t publisher
 
std::string publisher_address
 
std::atomic_bool recording = false
 
std::chrono::microseconds recording_fist_time
 
zmq::socket_t server
 
std::string server_address
 
unsigned server_port = 0
 
std::thread server_thread
 
std::string status_buffer
 
std::unordered_map< uint16_t, char * > status_buffermap
 
std::mutex status_mutex
 
std::unordered_map< std::string, std::weak_ptr< BT::Tree::Subtree > > subtrees
 
std::deque< Transitiontransitions_buffer
 
std::string tree_xml
 

Detailed Description

Definition at line 54 of file groot2_publisher.cpp.

Constructor & Destructor Documentation

◆ PImpl()

BT::Groot2Publisher::PImpl::PImpl ( )
inline

Definition at line 56 of file groot2_publisher.cpp.

Member Data Documentation

◆ active_server

std::atomic_bool BT::Groot2Publisher::PImpl::active_server = false

Definition at line 76 of file groot2_publisher.cpp.

◆ context

zmq::context_t BT::Groot2Publisher::PImpl::context

Definition at line 102 of file groot2_publisher.cpp.

◆ heartbeat_thread

std::thread BT::Groot2Publisher::PImpl::heartbeat_thread

Definition at line 100 of file groot2_publisher.cpp.

◆ hooks_map_mutex

std::mutex BT::Groot2Publisher::PImpl::hooks_map_mutex

Definition at line 89 of file groot2_publisher.cpp.

◆ last_heartbeat

std::chrono::system_clock::time_point BT::Groot2Publisher::PImpl::last_heartbeat

Definition at line 93 of file groot2_publisher.cpp.

◆ max_heartbeat_delay

std::chrono::milliseconds BT::Groot2Publisher::PImpl::max_heartbeat_delay = std::chrono::milliseconds(5000)

Definition at line 94 of file groot2_publisher.cpp.

◆ nodes_by_uid

std::unordered_map<uint16_t, std::weak_ptr<BT::TreeNode> > BT::Groot2Publisher::PImpl::nodes_by_uid

Definition at line 87 of file groot2_publisher.cpp.

◆ post_hooks

std::unordered_map<uint16_t, Monitor::Hook::Ptr> BT::Groot2Publisher::PImpl::post_hooks

Definition at line 91 of file groot2_publisher.cpp.

◆ pre_hooks

std::unordered_map<uint16_t, Monitor::Hook::Ptr> BT::Groot2Publisher::PImpl::pre_hooks

Definition at line 90 of file groot2_publisher.cpp.

◆ publisher

zmq::socket_t BT::Groot2Publisher::PImpl::publisher

Definition at line 104 of file groot2_publisher.cpp.

◆ publisher_address

std::string BT::Groot2Publisher::PImpl::publisher_address

Definition at line 72 of file groot2_publisher.cpp.

◆ recording

std::atomic_bool BT::Groot2Publisher::PImpl::recording = false

Definition at line 96 of file groot2_publisher.cpp.

◆ recording_fist_time

std::chrono::microseconds BT::Groot2Publisher::PImpl::recording_fist_time

Definition at line 98 of file groot2_publisher.cpp.

◆ server

zmq::socket_t BT::Groot2Publisher::PImpl::server

Definition at line 103 of file groot2_publisher.cpp.

◆ server_address

std::string BT::Groot2Publisher::PImpl::server_address

Definition at line 71 of file groot2_publisher.cpp.

◆ server_port

unsigned BT::Groot2Publisher::PImpl::server_port = 0

Definition at line 70 of file groot2_publisher.cpp.

◆ server_thread

std::thread BT::Groot2Publisher::PImpl::server_thread

Definition at line 77 of file groot2_publisher.cpp.

◆ status_buffer

std::string BT::Groot2Publisher::PImpl::status_buffer

Definition at line 81 of file groot2_publisher.cpp.

◆ status_buffermap

std::unordered_map<uint16_t, char*> BT::Groot2Publisher::PImpl::status_buffermap

Definition at line 83 of file groot2_publisher.cpp.

◆ status_mutex

std::mutex BT::Groot2Publisher::PImpl::status_mutex

Definition at line 79 of file groot2_publisher.cpp.

◆ subtrees

std::unordered_map<std::string, std::weak_ptr<BT::Tree::Subtree> > BT::Groot2Publisher::PImpl::subtrees

Definition at line 86 of file groot2_publisher.cpp.

◆ transitions_buffer

std::deque<Transition> BT::Groot2Publisher::PImpl::transitions_buffer

Definition at line 97 of file groot2_publisher.cpp.

◆ tree_xml

std::string BT::Groot2Publisher::PImpl::tree_xml

Definition at line 74 of file groot2_publisher.cpp.


The documentation for this struct was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18