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

#include <uclientfuncsimscan.h>

Inheritance diagram for UClientFuncSimScan:
Inheritance graph

Public Member Functions

virtual const char * commandList ()
 
virtual void handleNewData (USmlTag *tag, const char *ifname)
 
virtual const char * name ()
 
void setLaserData (ULaserData *value)
 
 UClientFuncSimScan ()
 
 ~UClientFuncSimScan ()
 
- 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 handleLaserScan (USmlTag *tag)
 
- Protected Member Functions inherited from UClientFuncBase
void handleHelp (USmlTag *tag)
 
void printReply (USmlTagIn *tag, const char *preString)
 

Protected Attributes

ULaserDatascan
 
- 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

Decode of laser scan from simulated laser scanner from visualized.

Author
Christian Andersen

Constructor & Destructor Documentation

UClientFuncSimScan::UClientFuncSimScan ( )

Constructor

References scan.

UClientFuncSimScan::~UClientFuncSimScan ( )

Destructor

Member Function Documentation

const char * UClientFuncSimScan::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.

bool UClientFuncSimScan::handleLaserScan ( USmlTag tag)
protected
void UClientFuncSimScan::handleNewData ( USmlTag tag,
const char *  ifname 
)
virtual

Got fresh data destined to this function.

Reimplemented from UClientFuncBase.

References handleLaserScan(), USmlTagIn::isTagA(), and UClientFuncBase::printReply().

const char * UClientFuncSimScan::name ( )
virtual

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

Reimplemented from UClientFuncBase.

void UClientFuncSimScan::setLaserData ( ULaserData value)
inline

Set data structure to use

References handleLaserScan(), and scan.

Referenced by ULaserSim::ULaserSim().

Member Data Documentation

ULaserData* UClientFuncSimScan::scan
protected

Received laser data

Referenced by handleLaserScan(), setLaserData(), and UClientFuncSimScan().


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