Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

RobotFlow::PlayerClientWrap Class Reference

#include <PlayerConnect.h>

Inheritance diagram for RobotFlow::PlayerClientWrap:

Inheritance graph
Collaboration diagram for RobotFlow::PlayerClientWrap:

Collaboration graph

Public Member Functions

 PlayerClientWrap (const char *hostname=NULL, int port=PLAYER_PORTNUM, bool startPositionProxy=true, bool startGripperProxy=true, bool startLaserProxy=true, bool startPTZProxy=true, bool startSonarProxy=true, bool startBlobFinderProxy=true, bool startGPSProxy=true, bool startLaser2Proxy=true)
 ~PlayerClientWrap ()
PositionProxy * getPositionProxy ()
GripperProxy * getGripperProxy ()
LaserProxy * getLaserProxy ()
PtzProxy * getPtzProxy ()
SonarProxy * getSonarProxy ()
BlobfinderProxy * getBlobFinderProxy ()
GpsProxy * getGpsProxy ()
LaserProxy * getLaser2Proxy ()
bool Connected ()
int Connect (const char *hostname, int port)
int Connect (const char *hostname)
int Connect ()
int Disconnect ()
PlayerClient & get_player_client ()
void printOn (std::ostream &out=std::cout) const
void ref ()
void unref ()
int unique ()
virtual void destroy ()
virtual void serialize (std::ostream &out) const
virtual void unserialize (std::istream &in)
virtual void doesNotUnderstand (std::string method)
virtual bool isNil () const
virtual void prettyPrint (std::ostream &out=std::cout) const
virtual void readFrom (std::istream &in=std::cin)
virtual ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static ObjectRef newObject (const std::string &objType)
static int addObjectType (const std::string &objType, _ObjectFactory *factory)
static std::map< std::string,
_ObjectFactory * > & 
ObjectFactoryDictionary ()
static TypeMap< _ObjectFactory * > & TypeidDictionary ()

Protected Attributes

AtomicCounter ref_count

Private Member Functions

void createProxies (bool startPositionProxy, bool startGripperProxy, bool startLaserProxy, bool startPTZProxy, bool startSonarProxy, bool startBlobFinderProxy, bool startGPSProxy, bool startLaser2Proxy)
void destroyProxies ()

Private Attributes

PlayerClient m_client
PositionProxy * m_positionProxy
GripperProxy * m_gripperProxy
LaserProxy * m_laserProxy
LaserProxy * m_laser2Proxy
PtzProxy * m_ptzProxy
SonarProxy * m_sonarProxy
BlobfinderProxy * m_blobFinderProxy
GpsProxy * m_gpsProxy


friend std::ostream & operator<< (std::ostream &out, const Object &obj)

Constructor & Destructor Documentation

RobotFlow::PlayerClientWrap::PlayerClientWrap const char *  hostname = NULL,
int  port = PLAYER_PORTNUM,
bool  startPositionProxy = true,
bool  startGripperProxy = true,
bool  startLaserProxy = true,
bool  startPTZProxy = true,
bool  startSonarProxy = true,
bool  startBlobFinderProxy = true,
bool  startGPSProxy = true,
bool  startLaser2Proxy = true

RobotFlow::PlayerClientWrap::~PlayerClientWrap  )  [inline]

Member Function Documentation

int RobotFlow::PlayerClientWrap::Connect  )  [inline]

int RobotFlow::PlayerClientWrap::Connect const char *  hostname  )  [inline]

int RobotFlow::PlayerClientWrap::Connect const char *  hostname,
int  port

bool RobotFlow::PlayerClientWrap::Connected  )  [inline]

void RobotFlow::PlayerClientWrap::createProxies bool  startPositionProxy,
bool  startGripperProxy,
bool  startLaserProxy,
bool  startPTZProxy,
bool  startSonarProxy,
bool  startBlobFinderProxy,
bool  startGPSProxy,
bool  startLaser2Proxy
[inline, private]

void RobotFlow::PlayerClientWrap::destroyProxies  )  [inline, private]

int RobotFlow::PlayerClientWrap::Disconnect  )  [inline]

PlayerClient& RobotFlow::PlayerClientWrap::get_player_client  )  [inline]

BlobfinderProxy* RobotFlow::PlayerClientWrap::getBlobFinderProxy  )  [inline]

GpsProxy* RobotFlow::PlayerClientWrap::getGpsProxy  )  [inline]

GripperProxy* RobotFlow::PlayerClientWrap::getGripperProxy  )  [inline]

LaserProxy* RobotFlow::PlayerClientWrap::getLaser2Proxy  )  [inline]

LaserProxy* RobotFlow::PlayerClientWrap::getLaserProxy  )  [inline]

PositionProxy* RobotFlow::PlayerClientWrap::getPositionProxy  )  [inline]

PtzProxy* RobotFlow::PlayerClientWrap::getPtzProxy  )  [inline]

SonarProxy* RobotFlow::PlayerClientWrap::getSonarProxy  )  [inline]

void RobotFlow::PlayerClientWrap::printOn std::ostream &  out = std::cout  )  const [inline, virtual]

Implements FD::Object.

Field Documentation

BlobfinderProxy* RobotFlow::PlayerClientWrap::m_blobFinderProxy [private]

PlayerClient RobotFlow::PlayerClientWrap::m_client [private]

GpsProxy* RobotFlow::PlayerClientWrap::m_gpsProxy [private]

GripperProxy* RobotFlow::PlayerClientWrap::m_gripperProxy [private]

LaserProxy* RobotFlow::PlayerClientWrap::m_laser2Proxy [private]

LaserProxy* RobotFlow::PlayerClientWrap::m_laserProxy [private]

PositionProxy* RobotFlow::PlayerClientWrap::m_positionProxy [private]

PtzProxy* RobotFlow::PlayerClientWrap::m_ptzProxy [private]

SonarProxy* RobotFlow::PlayerClientWrap::m_sonarProxy [private]

The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:36:31 2005 for RobotFlow by  doxygen 1.4.4