AURobotServers  4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UClientFuncObstGrp Class Reference

#include <uclientfuncobstgrp.h>

Inheritance diagram for UClientFuncObstGrp:
Inheritance graph

Public Member Functions

virtual const char * commandList ()
 
UObstHistgetObstHistData ()
 
virtual void handleNewData (USmlTag *tag, const char *ifname)
 
virtual const char * name ()
 
 UClientFuncObstGrp ()
 
 ~UClientFuncObstGrp ()
 
- Public Member Functions inherited from UClientFuncBase
virtual void changedNamespace (const char *newNamespace)
 
virtual void doTimeTick ()
 
int getMsgCnt ()
 
bool getVerbose ()
 
bool sendMsg (UClientPortSml *cnn, const char *buff, int buffCnt)
 
bool sendMsg (UClientPortSml *cnn, const char *buff)
 
void setVerbose (bool value)
 
 UClientFuncBase ()
 
virtual ~UClientFuncBase ()
 

Protected Member Functions

bool handleObst (USmlTag *tag)
 
- Protected Member Functions inherited from UClientFuncBase
void handleHelp (USmlTag *tag)
 
void printReply (USmlTagIn *tag, const char *preString)
 

Protected Attributes

UObstHistobsts
 
- Protected Attributes inherited from UClientFuncBase
int msgHandled
 
char serverNamespace [MAX_SML_NAME_LENGTH]
 
int serverNamespaceValue
 
bool verboseMessages
 

Additional Inherited Members

- Public Attributes inherited from UClientFuncBase
ULock decodeLock
 

Detailed Description

Holds a group of obstacles

Author
Christian Andersen

Constructor & Destructor Documentation

UClientFuncObstGrp::UClientFuncObstGrp ( )

Constructor

References obsts.

UClientFuncObstGrp::~UClientFuncObstGrp ( )

Destructor

References obsts.

Member Function Documentation

const char * UClientFuncObstGrp::commandList ( )
virtual

Function, that shall return a string with all handled commands, i.e. should return "gmk gmk2d guidemark", if commands starting with any of these three keywords are handled by this function

Reimplemented from UClientFuncBase.

UObstHist* UClientFuncObstGrp::getObstHistData ( )
inline

The server has set (or changed) the namespace Get pointer to obstacle data

References handleObst(), and obsts.

Referenced by clientCmdLine().

void UClientFuncObstGrp::handleNewData ( USmlTag tag,
const char *  ifname 
)
virtual
bool UClientFuncObstGrp::handleObst ( USmlTag tag)
protected
const char * UClientFuncObstGrp::name ( )
virtual

Name of function The returned name is intended as informative to clients and should include a version number

Reimplemented from UClientFuncBase.

Member Data Documentation

UObstHist* UClientFuncObstGrp::obsts
protected

Group of obstacles, i.e. set of polygons

Referenced by getObstHistData(), handleObst(), UClientFuncObstGrp(), and ~UClientFuncObstGrp().


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