INOS
CINOSxmsHandlerBase Class Reference

#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
 
- Public Member Functions inherited from CINOSBusHookEx
 CINOSBusHookEx (uint8 auCoreId, uint8 auCategory, uint8 auCyclenumber, int32 aiOrder, uint32 auCycletime, void *apHandler, void *apObject, uint32 auFlags, uint32 auInterval, uint32 auCount=0)
 Create extended bus hook.
 
virtual ~CINOSBusHookEx ()
 Destroy extended bus hook.
 
void SetIntervalCmd (uint32 auInterval)
 Set hook interval.
 
uint32 GetIntervalCmd ()
 Get commanded hook interval.
 
uint32 GetIntervalAct () const
 Get actual hook interval counter.
 
virtual void Action ()
 Base hook handler.
 
virtual void Call ()
 Base hook caller.
 
virtual CINOSBusHookClone () override
 Clone hook.
 
- Public Member Functions inherited from CINOSBusHook
 CINOSBusHook (uint8 auCoreId, uint8 auCategory, uint8 auCyclenumber, int32 aiOrder, uint32 auCycletime, void *apHandler, void *apObject, uint32 auFlags)
 Create bus hook.
 
virtual ~CINOSBusHook ()
 Destroy bus hook.
 
uintid GetId ()
 Get id.
 
uint32 Enable ()
 Enable hook.
 
uint32 Disable ()
 Disable hook.
 

Additional Inherited Members

- Public Types inherited from CINOSBusHook
enum  EFlags {
  eFlgNone = 0x00000000 , eFlgEnabled = 0x00000001 , eFlgSingle = 0x00000002 , eFlgNoException = 0x00000004 ,
  eFlgDeletePending = 0x40000000 , eFlgDynamic = 0x80000000
}
 Hook flags. More...
 
- Protected Member Functions inherited from CINOSBusHookEx
 DECLARE_DYNAMIC (CINOSBusHookEx)
 
- Protected Member Functions inherited from CINOSBusHook
 DECLARE_DYNAMIC (CINOSBusHook)
 
- Protected Attributes inherited from CINOSBusHookEx
uint32 m_uInterval
 
uint32 m_uIntervalAct {}
 
uint32 m_uCount {}
 
void * m_pOrgHandler
 
void * m_pOrgObject
 
- Protected Attributes inherited from CINOSBusHook
uint32 m_uFlags
 
uintid m_uId
 
uint8 m_uCoreId
 
uint8 m_uCategory
 
uint8 m_uCyclenumber
 
int8 m_iCycles
 
int32 m_iOrder
 
uint32 m_uCycletime
 
void * m_pHandler
 
void * m_pObject
 
uint32 m_uTicks
 

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

◆ GetTimer()

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

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