|
Public Member Functions |
|
| LostTargetTrans (StateNode *destination, unsigned int source_id, unsigned int delay, int minframes=5) |
| | constructor, specify delay in milliseconds
|
|
| LostTargetTrans (const std::string &name, StateNode *destination, unsigned int source_id, unsigned int delay, int minframes=5) |
| | constructor, specify delay in milliseconds
|
|
virtual void | DoStart () |
| | starts timer
|
|
virtual void | processEvent (const EventBase &e) |
| | if we receive the timer event, fire()
|
|
virtual void | resetTimer () |
| | resets timer; does not deactivate it
|
|
virtual void | set_minframes (int minframes) |
| | set minimum number of frames that target must be seen before resetting the timer
|
Protected Member Functions |
|
| LostTargetTrans (const std::string &classname, const std::string &instancename, StateNode *destination, unsigned int source_id, unsigned int delay, int minframes=5) |
| | constructor, only to be called by subclasses (which need to specify their own classname)
|
Private Attributes |
|
unsigned int | sid |
| | the source id from the detector of the object which is being monitored
|
|
int | minf |
| | number of frames that target must be seen before resetting the timer
|
|
int | counter |
| | number of frames target has been seen so far
|