AURobotServers
4
|
#include <ugmkpool.h>
Public Member Functions | |
UGmk * | getGmk (unsigned long shortCode, bool mayCreate) |
int | getGmkCnt () |
UGmk * | getGmkId (unsigned long ID) |
UGmk * | getGmkNew (int serial, UTime sinceTime) |
int | getGmkNewCnt (UTime sinceTime) |
UGmk * | getGmkNum (unsigned int serial) |
UGmkPool () | |
~UGmkPool () | |
Protected Attributes | |
UGmk * | gmks [MAX_GUIDEMARK_COUNT] |
int | gmksCnt |
Static Protected Attributes | |
static const int | MAX_GUIDEMARK_COUNT = 100 |
Holds all detected guidemarks
UGmkPool::UGmkPool | ( | ) |
Constructor
References gmks, gmksCnt, and MAX_GUIDEMARK_COUNT.
UGmk * UGmkPool::getGmk | ( | unsigned long | shortCode, |
bool | mayCreate | ||
) |
Get handle for guidemark with this short code. If not available, then create if 'mayCreate' is true. Returns NULL if not 'mayCreate' and not found.
Referenced by UClientFuncGmk::handleGmkGet().
int UGmkPool::getGmkCnt | ( | ) |
Get total number of guidemarks in pool
References gmksCnt.
Referenced by UResCamIfGmk::newDataAvailable(), UNavPaint::paintGmks(), and UResCamIfGmk::snprint().
UGmk * UGmkPool::getGmkId | ( | unsigned long | ID | ) |
int UGmkPool::getGmkNewCnt | ( | UTime | sinceTime | ) |
UGmk * UGmkPool::getGmkNum | ( | unsigned int | serial | ) |
Get a specific gmk from the number in the pool
Referenced by UResCamIfGmk::newDataAvailable(), UNavPaint::paintGmks(), and UResCamIfGmk::snprint().
|
protected |
Guidemark storage list
Referenced by getGmk(), getGmkId(), getGmkNew(), getGmkNewCnt(), getGmkNum(), UGmkPool(), and ~UGmkPool().
|
protected |
Used guidemarks
Referenced by getGmk(), getGmkCnt(), getGmkId(), getGmkNew(), getGmkNewCnt(), getGmkNum(), UGmkPool(), and ~UGmkPool().
|
staticprotected |
Max number of guidemarks
Referenced by UGmkPool().