YARP
Yet Another Robot Platform
yarp::os::NetworkClock::Private Class Reference
+ Inheritance diagram for yarp::os::NetworkClock::Private:

Public Types

using Waiters = std::list< std::pair< double, Semaphore * > >
 

Public Member Functions

 Private ()
 
 ~Private () override
 
bool read (ConnectionReader &reader) override
 Read this object from a network connection. More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 

Public Attributes

std::string clockName
 
Waiterswaiters
 
Port port
 
std::mutex listMutex
 
std::mutex timeMutex
 
std::int32_t sec {0}
 
std::int32_t nsec {0}
 
double _time {0}
 
bool closing {false}
 
bool initted {false}
 

Detailed Description

Definition at line 38 of file NetworkClock.cpp.

Member Typedef Documentation

◆ Waiters

using yarp::os::NetworkClock::Private::Waiters = std::list<std::pair<double, Semaphore*> >

Definition at line 48 of file NetworkClock.cpp.

Constructor & Destructor Documentation

◆ Private()

yarp::os::NetworkClock::Private::Private ( )

Definition at line 62 of file NetworkClock.cpp.

◆ ~Private()

yarp::os::NetworkClock::Private::~Private ( )
override

Definition at line 68 of file NetworkClock.cpp.

Member Function Documentation

◆ read()

bool yarp::os::NetworkClock::Private::read ( ConnectionReader reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 90 of file NetworkClock.cpp.

Member Data Documentation

◆ _time

double yarp::os::NetworkClock::Private::_time {0}

Definition at line 57 of file NetworkClock.cpp.

◆ clockName

std::string yarp::os::NetworkClock::Private::clockName

Definition at line 46 of file NetworkClock.cpp.

◆ closing

bool yarp::os::NetworkClock::Private::closing {false}

Definition at line 58 of file NetworkClock.cpp.

◆ initted

bool yarp::os::NetworkClock::Private::initted {false}

Definition at line 59 of file NetworkClock.cpp.

◆ listMutex

std::mutex yarp::os::NetworkClock::Private::listMutex

Definition at line 52 of file NetworkClock.cpp.

◆ nsec

std::int32_t yarp::os::NetworkClock::Private::nsec {0}

Definition at line 56 of file NetworkClock.cpp.

◆ port

Port yarp::os::NetworkClock::Private::port

Definition at line 50 of file NetworkClock.cpp.

◆ sec

std::int32_t yarp::os::NetworkClock::Private::sec {0}

Definition at line 55 of file NetworkClock.cpp.

◆ timeMutex

std::mutex yarp::os::NetworkClock::Private::timeMutex

Definition at line 53 of file NetworkClock.cpp.

◆ waiters

Waiters* yarp::os::NetworkClock::Private::waiters

Definition at line 49 of file NetworkClock.cpp.


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