YARP
Yet Another Robot Platform
RosSlave Class Reference

#include <tcpros_carrier/RosSlave.h>

+ Inheritance diagram for RosSlave:

Public Member Functions

 RosSlave ()
 
void start (const char *hostname, int portnum)
 
void stop ()
 
yarp::os::Contact where ()
 
bool isOk ()
 
bool read (yarp::os::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
 

Detailed Description

Definition at line 20 of file RosSlave.h.

Constructor & Destructor Documentation

◆ RosSlave()

RosSlave::RosSlave ( )
inline

Definition at line 30 of file RosSlave.h.

Member Function Documentation

◆ isOk()

bool RosSlave::isOk ( )
inline

Definition at line 64 of file RosSlave.h.

◆ read()

bool RosSlave::read ( yarp::os::ConnectionReader reader)
inlineoverridevirtual

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 68 of file RosSlave.h.

◆ start()

void RosSlave::start ( const char *  hostname,
int  portnum 
)
inline

Definition at line 36 of file RosSlave.h.

◆ stop()

void RosSlave::stop ( )
inline

Definition at line 43 of file RosSlave.h.

◆ where()

yarp::os::Contact RosSlave::where ( )
inline

Definition at line 60 of file RosSlave.h.


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