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 ( )

Definition at line 19 of file RosLookup.h.

Member Function Documentation

◆ getRosCoreAddress()

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

Definition at line 127 of file RosLookup.cpp.

◆ getRosCoreAddressFromEnv()

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

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)

Definition at line 34 of file RosLookup.h.

◆ toString()

std::string RosLookup::toString ( ) const

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: