|
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 |
Friends |
friend std::ostream & | operator<< (std::ostream &out, const Object &obj) |