|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Methods:
- TimedEventQueueC()
-
Default constructor.
Creates an invalid handle.
- TimedEventQueueC(BooleanT)
-
Default constructor.
Creates an invalid handle.
- TimedEventQueueC(TimedEventQueueBodyC & bod)
-
Body constructor.
- TimedEventQueueBodyC & Body()
-
Access body.
- const TimedEventQueueBodyC & Body() const
-
Access body.
- void Process()
-
Used to start internal thread.
- UIntT Schedule(RealT t,const SignalEventC & se)
-
Schedule event for running after time 't' (in seconds).
Thread safe.
Returns an ID for the event, which can
be used for canceling it.
- UIntT Schedule(DateC & at,const SignalEventC & se)
-
Schedule event for running.
Thread safe.
Returns an ID for the event, which can
be used for canceling it.
- BooleanT Cancel(UIntT eventID)
-
Cancel pending event.
Will return TRUE if event in canceled before
it was run.
- void Shutdown()
-
Shutdown even queue.
NB. This will block until shutdown is complete
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<TimedEventQueueBodyC> & operator=(const RCHandleC<TimedEventQueueBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<TimedEventQueueBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<TimedEventQueueBodyC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- TimedEventQueueBodyC & Body()
-
Direct access to body.
- const TimedEventQueueBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|