RobotsIO
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
RobotsIO::Utils::YarpBufferedPort< T > Class Template Reference
Inheritance diagram for RobotsIO::Utils::YarpBufferedPort< T >:
RobotsIO::Utils::YarpVectorOfProbe< double > RobotsIO::Utils::SpatialVelocityYarpPort

Public Member Functions

 YarpBufferedPort (const std::string &port_name)
 
void send_data (const T &data)
 
T * receive_data (const bool &blocking)
 
double time_stamp ()
 
void set_time_stamp (const double &stamp)
 
std::size_t flush ()
 

Protected Attributes

yarp::os::Network yarp_
 
yarp::os::BufferedPort< T > port_
 
yarp::os::Stamp stamp_
 
const std::string log_name_ = "YarpBufferedPort"
 

Detailed Description

template<class T>
class RobotsIO::Utils::YarpBufferedPort< T >

Definition at line 27 of file YarpBufferedPort.hpp.

Constructor & Destructor Documentation

◆ YarpBufferedPort()

template<class T >
RobotsIO::Utils::YarpBufferedPort< T >::YarpBufferedPort ( const std::string &  port_name)

Definition at line 56 of file YarpBufferedPort.hpp.

◆ ~YarpBufferedPort()

template<class T >
RobotsIO::Utils::YarpBufferedPort< T >::~YarpBufferedPort
virtual

Definition at line 71 of file YarpBufferedPort.hpp.

Member Function Documentation

◆ flush()

template<class T >
std::size_t RobotsIO::Utils::YarpBufferedPort< T >::flush

Definition at line 116 of file YarpBufferedPort.hpp.

◆ receive_data()

template<class T >
T * RobotsIO::Utils::YarpBufferedPort< T >::receive_data ( const bool &  blocking)

Definition at line 92 of file YarpBufferedPort.hpp.

◆ send_data()

template<class T >
void RobotsIO::Utils::YarpBufferedPort< T >::send_data ( const T &  data)

Definition at line 79 of file YarpBufferedPort.hpp.

◆ set_time_stamp()

template<class T >
void RobotsIO::Utils::YarpBufferedPort< T >::set_time_stamp ( const double &  stamp)

Definition at line 109 of file YarpBufferedPort.hpp.

◆ time_stamp()

template<class T >
double RobotsIO::Utils::YarpBufferedPort< T >::time_stamp

Definition at line 99 of file YarpBufferedPort.hpp.

Member Data Documentation

◆ log_name_

template<class T >
const std::string RobotsIO::Utils::YarpBufferedPort< T >::log_name_ = "YarpBufferedPort"
protected

Definition at line 51 of file YarpBufferedPort.hpp.

◆ port_

template<class T >
yarp::os::BufferedPort<T> RobotsIO::Utils::YarpBufferedPort< T >::port_
protected

Definition at line 47 of file YarpBufferedPort.hpp.

◆ stamp_

template<class T >
yarp::os::Stamp RobotsIO::Utils::YarpBufferedPort< T >::stamp_
protected

Definition at line 49 of file YarpBufferedPort.hpp.

◆ yarp_

template<class T >
yarp::os::Network RobotsIO::Utils::YarpBufferedPort< T >::yarp_
protected

Definition at line 45 of file YarpBufferedPort.hpp.