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 14 of file RosLookup.h.

Constructor & Destructor Documentation

◆ RosLookup()

RosLookup::RosLookup ( )
inline

Definition at line 22 of file RosLookup.h.

Member Function Documentation

◆ getRosCoreAddress()

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

Definition at line 130 of file RosLookup.cpp.

◆ getRosCoreAddressFromEnv()

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

Definition at line 121 of file RosLookup.cpp.

◆ lookupCore()

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

Definition at line 39 of file RosLookup.cpp.

◆ lookupTopic()

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

Definition at line 76 of file RosLookup.cpp.

◆ toContact()

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

Definition at line 37 of file RosLookup.h.

◆ toString()

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

Definition at line 31 of file RosLookup.h.

Member Data Documentation

◆ hostname

std::string RosLookup::hostname

Definition at line 18 of file RosLookup.h.

◆ portnum

int RosLookup::portnum

Definition at line 19 of file RosLookup.h.

◆ protocol

std::string RosLookup::protocol

Definition at line 20 of file RosLookup.h.

◆ valid

bool RosLookup::valid

Definition at line 17 of file RosLookup.h.


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