AURobotServers  4
Public Member Functions | List of all members
UCallBack Class Reference

#include <uclientfuncbase.h>

Inheritance diagram for UCallBack:
Inheritance graph

Public Member Functions

bool addOnEvent (UOnEvent *dataObject)
 
virtual bool onEvent (const char *interface, const char *dataType, void *data)
 
 UCallBack ()
 
virtual ~UCallBack ()
 

Detailed Description

Base class that encapsulates the ability to make a call-back, when a data source based on UOnEvent has new data. The function 'onEvent' should be overwritten and will be called when the data source is updated. To start the call back function the 'addOnEvent('dataSourceObject')' should be called

Constructor & Destructor Documentation

UCallBack::UCallBack ( )

Constructor

UCallBack::~UCallBack ( )
virtual

Destructor

Member Function Documentation

bool UCallBack::addOnEvent ( UOnEvent dataObject)
bool UCallBack::onEvent ( const char *  interface,
const char *  dataType,
void *  data 
)
virtual

Call back function

Reimplemented in UClientFuncLaserGui.

References bool2str().

Referenced by addOnEvent().


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