Rosetta
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ui::network::B Class Reference

Public Member Functions

 B (BowmanThread &, zmq::context_t &)
 
void run ()
 

Private Member Functions

void update_hal_settings ()
 
void update_hal_settings (string const &client_id)
 

Private Attributes

BowmanThreadbowman_thread
 
zmq::socket_t bus
 
zmq::socket_t hal
 
std::vector< zmq_pollitem_t > poll_items
 
std::chrono::milliseconds const timeout {2500}
 
std::chrono::milliseconds const ping_interval {500}
 
std::chrono::steady_clock::time_point last_ping_time
 
HAL_Settings hal_settings
 
std::map< string, std::chrono::steady_clock::time_point > clients
 

Detailed Description

actual implementation of BowmanThread::run Think of this as not of data type but as way to implement single, a few-pages long function

Constructor & Destructor Documentation

◆ B()

B::B ( BowmanThread _bowman_thread,
zmq::context_t &  context 
)

References hal.

Member Function Documentation

◆ run()

void B::run ( )

◆ update_hal_settings() [1/2]

void B::update_hal_settings ( )
private

◆ update_hal_settings() [2/2]

void B::update_hal_settings ( string const &  client_id)
private

Member Data Documentation

◆ bowman_thread

BowmanThread& ui::network::B::bowman_thread
private

◆ bus

zmq::socket_t ui::network::B::bus
private

◆ clients

std::map<string, std::chrono::steady_clock::time_point> ui::network::B::clients
private

◆ hal

zmq::socket_t ui::network::B::hal
private

Referenced by B().

◆ hal_settings

HAL_Settings ui::network::B::hal_settings
private

◆ last_ping_time

std::chrono::steady_clock::time_point ui::network::B::last_ping_time
private

◆ ping_interval

std::chrono::milliseconds const ui::network::B::ping_interval {500}
private

◆ poll_items

std::vector<zmq_pollitem_t> ui::network::B::poll_items
private

◆ timeout

std::chrono::milliseconds const ui::network::B::timeout {2500}
private

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