RobotUnitDataStreamingReceiver Class Reference

Brief description of class RobotUnitDataStreamingReceiver. More...

#include <RobotAPI/libraries/RobotUnitDataStreamingReceiver/RobotUnitDataStreamingReceiver.h>

Classes

struct  DataEntryReader
 

Public Types

using clock_t = std::chrono::high_resolution_clock
 
using entry_t = RobotUnitDataStreaming::DataEntry
 
using timestep_t = RobotUnitDataStreaming::TimeStep
 

Public Member Functions

std::deque< timestep_t > & getDataBuffer ()
 
const RobotUnitDataStreaming::DataStreamingDescription & getDataDescription () const
 
std::string getDataDescriptionString () const
 
template<class T >
DataEntryReader< TgetDataEntryReader (const std::string &name) const
 
template<class T >
void getDataEntryReader (DataEntryReader< T > &e, const std::string &name) const
 
 RobotUnitDataStreamingReceiver (const ManagedIceObjectPtr &obj, const RobotUnitInterfacePrx &ru, const RobotUnitDataStreaming::Config &cfg)
 
 ~RobotUnitDataStreamingReceiver ()
 

Static Public Member Functions

template<class T >
static RobotUnitDataStreaming::DataEntryType ExpectedDataEntryType ()
 
template<class T >
static T GetAs (const timestep_t &st, const entry_t &e)
 
static void VisitEntries (auto &&f, const timestep_t &st, const auto &cont)
 
static void VisitEntry (auto &&f, const timestep_t &st, const entry_t &e)
 

Detailed Description

Brief description of class RobotUnitDataStreamingReceiver.

Detailed description of class RobotUnitDataStreamingReceiver.

Definition at line 50 of file RobotUnitDataStreamingReceiver.h.

Member Typedef Documentation

◆ clock_t

using clock_t = std::chrono::high_resolution_clock

Definition at line 53 of file RobotUnitDataStreamingReceiver.h.

◆ entry_t

using entry_t = RobotUnitDataStreaming::DataEntry

Definition at line 55 of file RobotUnitDataStreamingReceiver.h.

◆ timestep_t

using timestep_t = RobotUnitDataStreaming::TimeStep

Definition at line 54 of file RobotUnitDataStreamingReceiver.h.

Constructor & Destructor Documentation

◆ RobotUnitDataStreamingReceiver()

RobotUnitDataStreamingReceiver ( const ManagedIceObjectPtr obj,
const RobotUnitInterfacePrx ru,
const RobotUnitDataStreaming::Config &  cfg 
)

Definition at line 91 of file RobotUnitDataStreamingReceiver.cpp.

◆ ~RobotUnitDataStreamingReceiver()

Definition at line 111 of file RobotUnitDataStreamingReceiver.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ ExpectedDataEntryType()

RobotUnitDataStreaming::DataEntryType ExpectedDataEntryType
inlinestatic

Definition at line 234 of file RobotUnitDataStreamingReceiver.h.

◆ GetAs()

T GetAs ( const timestep_t st,
const entry_t e 
)
inlinestatic

Definition at line 188 of file RobotUnitDataStreamingReceiver.h.

◆ getDataBuffer()

std::deque< RobotUnitDataStreaming::TimeStep > & getDataBuffer ( )

Definition at line 141 of file RobotUnitDataStreamingReceiver.cpp.

+ Here is the call graph for this function:

◆ getDataDescription()

const RobotUnitDataStreaming::DataStreamingDescription & getDataDescription ( ) const

Definition at line 202 of file RobotUnitDataStreamingReceiver.cpp.

+ Here is the caller graph for this function:

◆ getDataDescriptionString()

std::string getDataDescriptionString ( ) const

Definition at line 208 of file RobotUnitDataStreamingReceiver.cpp.

+ Here is the call graph for this function:

◆ getDataEntryReader() [1/2]

RobotUnitDataStreamingReceiver::DataEntryReader< T > getDataEntryReader ( const std::string &  name) const
inline

Definition at line 161 of file RobotUnitDataStreamingReceiver.h.

◆ getDataEntryReader() [2/2]

void getDataEntryReader ( DataEntryReader< T > &  e,
const std::string &  name 
) const
inline

Definition at line 155 of file RobotUnitDataStreamingReceiver.h.

◆ VisitEntries()

void VisitEntries ( auto &&  f,
const timestep_t st,
const auto &  cont 
)
inlinestatic

Definition at line 272 of file RobotUnitDataStreamingReceiver.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ VisitEntry()

void VisitEntry ( auto &&  f,
const timestep_t st,
const entry_t e 
)
inlinestatic

Definition at line 169 of file RobotUnitDataStreamingReceiver.h.

+ Here is the caller graph for this function:

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