YARP
Yet Another Robot Platform
RosLookup Class Reference

#include <tcpros_carrier/RosLookup.h>

Public Member Functions

 RosLookup ()
 
bool lookupCore (const std::string &name)
 
bool lookupTopic (const std::string &name)
 
std::string toString () const
 
yarp::os::Contact toContact (const char *carrier)
 

Static Public Member Functions

static yarp::os::Contact getRosCoreAddressFromEnv ()
 
static yarp::os::Contact getRosCoreAddress ()
 

Public Attributes

bool valid
 
std::string hostname
 
int portnum
 
std::string protocol
 

Detailed Description

Definition at line 11 of file RosLookup.h.

Constructor & Destructor Documentation

◆ RosLookup()

RosLookup::RosLookup ( )
inline

Definition at line 19 of file RosLookup.h.

Member Function Documentation

◆ getRosCoreAddress()

yarp::os::Contact RosLookup::getRosCoreAddress ( )
static

Definition at line 127 of file RosLookup.cpp.

◆ getRosCoreAddressFromEnv()

yarp::os::Contact RosLookup::getRosCoreAddressFromEnv ( )
static

Definition at line 118 of file RosLookup.cpp.

◆ lookupCore()

bool RosLookup::lookupCore ( const std::string &  name)

Definition at line 36 of file RosLookup.cpp.

◆ lookupTopic()

bool RosLookup::lookupTopic ( const std::string &  name)

Definition at line 73 of file RosLookup.cpp.

◆ toContact()

yarp::os::Contact RosLookup::toContact ( const char *  carrier)
inline

Definition at line 34 of file RosLookup.h.

◆ toString()

std::string RosLookup::toString ( ) const
inline

Definition at line 28 of file RosLookup.h.

Member Data Documentation

◆ hostname

std::string RosLookup::hostname

Definition at line 15 of file RosLookup.h.

◆ portnum

int RosLookup::portnum

Definition at line 16 of file RosLookup.h.

◆ protocol

std::string RosLookup::protocol

Definition at line 17 of file RosLookup.h.

◆ valid

bool RosLookup::valid

Definition at line 14 of file RosLookup.h.


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