Public Member Functions | Private Member Functions | Private Attributes | List of all members
StatePublisherZMQ Class Reference

#include <statepublisher_zmq.h>

Inheritance diagram for StatePublisherZMQ:
Inheritance graph
[legend]

Public Member Functions

 StatePublisherZMQ ()
 
virtual void updateState (PlotDataMap *datamap, double current_time)
 
virtual ~StatePublisherZMQ ()
 

Private Member Functions

void run_thread ()
 

Private Attributes

std::map< QString, double > _current_data
 
std::mutex _mutex
 
PlotDataMap * _prev_dataplot
 
double _prev_time
 
std::thread _thread
 

Detailed Description

Definition at line 11 of file statepublisher_zmq.h.

Constructor & Destructor Documentation

◆ StatePublisherZMQ()

StatePublisherZMQ::StatePublisherZMQ ( )

Definition at line 8 of file statepublisher_zmq.cpp.

◆ ~StatePublisherZMQ()

StatePublisherZMQ::~StatePublisherZMQ ( )
virtual

Definition at line 15 of file statepublisher_zmq.cpp.

Member Function Documentation

◆ run_thread()

void StatePublisherZMQ::run_thread ( )
private

Definition at line 19 of file statepublisher_zmq.cpp.

◆ updateState()

void StatePublisherZMQ::updateState ( PlotDataMap *  datamap,
double  current_time 
)
virtual

Definition at line 95 of file statepublisher_zmq.cpp.

Member Data Documentation

◆ _current_data

std::map<QString, double> StatePublisherZMQ::_current_data
private

Definition at line 32 of file statepublisher_zmq.h.

◆ _mutex

std::mutex StatePublisherZMQ::_mutex
private

Definition at line 30 of file statepublisher_zmq.h.

◆ _prev_dataplot

PlotDataMap* StatePublisherZMQ::_prev_dataplot
private

Definition at line 25 of file statepublisher_zmq.h.

◆ _prev_time

double StatePublisherZMQ::_prev_time
private

Definition at line 33 of file statepublisher_zmq.h.

◆ _thread

std::thread StatePublisherZMQ::_thread
private

Definition at line 29 of file statepublisher_zmq.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Tue Nov 26 2024 03:24:14