AURobotServers
4
|
#include <uobstgrp.h>
Public Member Functions | |
UObstacleGroup * | getGroup (int idx) |
int | getGrpsCnt () |
int | getGrpsMaxCnt () |
UObstacleGroup * | getNewGrp () |
void | setGroupsCnt (int value) |
UObstHist () | |
~UObstHist () | |
Public Member Functions inherited from UOnEvent | |
bool | addEventHandler (UCallBack *object, Method methodToCall) |
bool | event (const char *interface, const char *dataType, void *dataPtr) |
UOnEvent () | |
~UOnEvent () | |
Static Public Attributes | |
static const int | MAX_OBST_GRPS = 200 |
Protected Attributes | |
UObstacleGroup * | grps [MAX_OBST_GRPS] |
int | grpsCnt |
Protected Attributes inherited from UOnEvent | |
Method | method [MAX_CALL_BACKS] |
UCallBack * | obj [MAX_CALL_BACKS] |
int | objCnt |
Additional Inherited Members | |
Public Types inherited from UOnEvent | |
typedef bool(UCallBack::* | Method) (const char *interface, const char *dataType, void *data) |
Static Protected Attributes inherited from UOnEvent | |
static const int | MAX_CALL_BACKS = 20 |
Group of obstacles (just an array, not the full story as used in mmrd)
UObstHist::UObstHist | ( | ) |
constructor
References grps, grpsCnt, and MAX_OBST_GRPS.
UObstHist::~UObstHist | ( | ) |
destructor
References grps, grpsCnt, and MAX_OBST_GRPS.
|
inline |
Get one group
References grps.
Referenced by UClientFuncLaserGui::doRepaint(), and UClientFuncLaserGui::onEvent().
|
inline |
Get count of obst groups in hist
References grpsCnt.
Referenced by UClientFuncLaserGui::doRepaint(), and UClientFuncLaserGui::onEvent().
|
inline |
Get maximum count of group buffers
References getNewGrp(), and MAX_OBST_GRPS.
UObstacleGroup * UObstHist::getNewGrp | ( | ) |
Get next obstacle group, and create if not created already
References grps, grpsCnt, and MAX_OBST_GRPS.
Referenced by getGrpsMaxCnt(), and UClientFuncObstGrp::handleObst().
|
inline |
|
protected |
Group of obstacles, i.e. set of polygons
Referenced by getGroup(), getNewGrp(), UObstHist(), and ~UObstHist().
|
protected |
Number of groups loaded into obstGrps array
Referenced by getGrpsCnt(), getNewGrp(), setGroupsCnt(), UObstHist(), and ~UObstHist().
|
static |
Referenced by getGrpsMaxCnt(), getNewGrp(), UObstHist(), and ~UObstHist().