INOS
CINOSxmsHandlerBase Class Referenceabstract

#include <inos_1ms.h>

Inheritance diagram for CINOSxmsHandlerBase:

Public Member Functions

 CINOSxmsHandlerBase (int32 aInterval, bool aActive=true, bool aSingle=false)
 
void Activate ()
 
void Deactivate ()
 
long SetInterval (long aiInterval)
 
long GetTimer () const
 
virtual void Call ()=0
 

Protected Member Functions

void Action ()
 
 DECLARE_DYNAMIC (CINOSxmsHandlerBase)
 

Friends

class CINOS1ms
 

Detailed Description

Base implementation for a "1ms handler". One handler is responsible for exactly one callback. A handler can be configured with properties like "callback" call frequency, whether the "callback" shall be called at all or not (enable/disable), whether it's a 'single' time callback which destroys itself after having called the "callback" or a 'multiple' time callback, for which the user code needs to cleanup the handler when not used anymore, etc.

Member Function Documentation

◆ Call()

virtual void CINOSxmsHandlerBase::Call ( )
pure virtual

Actually call the registered function

Implemented in CINOSxmsHandler, and CINOSxmsHandlerFunction.

◆ GetTimer()

long CINOSxmsHandlerBase::GetTimer ( ) const
Returns
The actual timer value

The documentation for this class was generated from the following file: