Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rc::dynamics::TrackedDataReceiver Class Reference

Class for data stream receivers that are created by this remote interface in order to keep track of created streams. More...

Inheritance diagram for rc::dynamics::TrackedDataReceiver:
Inheritance graph
[legend]

Public Member Functions

virtual ~TrackedDataReceiver ()
 
- Public Member Functions inherited from rc::dynamics::DataReceiver
std::string getIpAddress () const
 Returns Ip address for which the receiver was created. More...
 
unsigned int getPort () const
 Returns port for which the receiver was created. More...
 
template<class PbMsgType >
std::shared_ptr< PbMsgType > receive ()
 Receives the next message from data stream (template-parameter version) More...
 
virtual std::shared_ptr<::google::protobuf::Message > receive (const std::string &pb_msg_type)
 Receives the next message from data stream (string-parameter version) More...
 
virtual void setTimeout (unsigned int ms)
 Sets a user-specified timeout for the receivePose() method. More...
 
virtual ~DataReceiver ()
 

Static Public Member Functions

static shared_ptr< TrackedDataReceivercreate (const string &ip_address, unsigned int &port, const string &stream, shared_ptr< RemoteInterface > creator)
 
- Static Public Member Functions inherited from rc::dynamics::DataReceiver
static Ptr create (const std::string &ip_address, unsigned int &port)
 Creates a data receiver bound to the user-given IP address and port number. More...
 

Protected Member Functions

 TrackedDataReceiver (const string &ip_address, unsigned int &port, const string &stream, shared_ptr< RemoteInterface > creator)
 
- Protected Member Functions inherited from rc::dynamics::DataReceiver
 DataReceiver (const std::string &ip_address, unsigned int &port)
 

Protected Attributes

shared_ptr< RemoteInterfacecreator_
 
string dest_
 
string stream_
 
- Protected Attributes inherited from rc::dynamics::DataReceiver
char _buffer [512]
 
map_type _recv_func_map
 
int _sockfd
 
std::string ip_
 
unsigned int port_
 

Additional Inherited Members

- Public Types inherited from rc::dynamics::DataReceiver
using Ptr = std::shared_ptr< DataReceiver >
 
- Protected Types inherited from rc::dynamics::DataReceiver
typedef std::map< std::string, std::function< std::shared_ptr<::google::protobuf::Message >)> > map_type
 

Detailed Description

Class for data stream receivers that are created by this remote interface in order to keep track of created streams.

Definition at line 172 of file remote_interface.cc.

Constructor & Destructor Documentation

virtual rc::dynamics::TrackedDataReceiver::~TrackedDataReceiver ( )
inlinevirtual

Definition at line 181 of file remote_interface.cc.

rc::dynamics::TrackedDataReceiver::TrackedDataReceiver ( const string &  ip_address,
unsigned int &  port,
const string &  stream,
shared_ptr< RemoteInterface creator 
)
inlineprotected

Definition at line 195 of file remote_interface.cc.

Member Function Documentation

static shared_ptr<TrackedDataReceiver> rc::dynamics::TrackedDataReceiver::create ( const string &  ip_address,
unsigned int &  port,
const string &  stream,
shared_ptr< RemoteInterface creator 
)
inlinestatic

Definition at line 175 of file remote_interface.cc.

Member Data Documentation

shared_ptr<RemoteInterface> rc::dynamics::TrackedDataReceiver::creator_
protected

Definition at line 202 of file remote_interface.cc.

string rc::dynamics::TrackedDataReceiver::dest_
protected

Definition at line 201 of file remote_interface.cc.

string rc::dynamics::TrackedDataReceiver::stream_
protected

Definition at line 201 of file remote_interface.cc.


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


rc_dynamics_api
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Endres
autogenerated on Thu May 9 2019 02:51:36