VisionObjectEvent.cc File Reference
Detailed Description
Implements VisionObjectEvent, which provides information about objects recognized in the camera image.
- Author:
- alokl (Creator)
Ignacio Herrero Reder < nhr at dte uma es > (VisionObjectInfo Boundary Box - bug 74)
- Author
- ejt
- Name
- tekkotsu-2_4_1
- Revision
- 1.9
- State
- Exp
- Date
- 2005/08/07 04:11:03
Definition in file VisionObjectEvent.cc.
#include "VisionObjectEvent.h"
#include <sstream>
#include <libxml/tree.h>
Include dependency graph for VisionObjectEvent.cc:
Go to the source code of this file.
|
Defines |
#define | SAVE_PARAM(strname, varname, format) |
| a little local macro to make saving fields easier
|
Define Documentation
#define SAVE_PARAM |
( |
strname, |
|
|
varname, |
|
|
format |
|
) |
|
|
|
Value: {\
xmlNode* cur=xmlNewChild(node,NULL,(const xmlChar*)"param",NULL); \
if(cur==NULL) \
throw bad_format(node,"Error: VisionObjectEvent xml error on saving param"); \
xmlSetProp(cur,(const xmlChar*)"name",(const xmlChar*)strname); \
char valbuf[20]; \
snprintf(valbuf,20,format,varname); \
xmlSetProp(cur,(const xmlChar*)"value",(const xmlChar*)valbuf); }
a little local macro to make saving fields easier
Definition at line 109 of file VisionObjectEvent.cc. |
|