|
enum | { eEventDisabled = 0
, eUsePreviousTime = 0
} |
|
|
| CINOSTimeEvent (uint32 aTime) |
|
void | Reset (uint32 aTime=eUsePreviousTime) |
|
void | Stop () |
|
void | Start (uint32 aTime=eUsePreviousTime) |
|
| CINOSSync (const char *aName=0, uint32 aInitialCount=0, bool aManual=false) |
|
virtual | ~CINOSSync () |
| Destroy sync object.
|
|
virtual const char * | GetName () |
| Get name of sync object.
|
|
virtual uint32 | Wait (uint32 aTimeout=0xFFFFFFFF) |
| wait for signaled state for max. aTimeout usec
|
|
virtual void | Signal () |
| Put object into the signaled state.
|
|
virtual void | SignalEx (CINOSTaskExMsg *apMsg, uint32 auRplId, uint32 auAppError) |
|
virtual bool | MsgEvent (CINOSTaskExMsg *apMsg) |
|
virtual void | Reset () |
| Reset object state.
|
|
volatile uint32 * | GetLockAdr () |
| Return pointer to core locking structure.
|
|
virtual bool | UsesPolling () const |
|
bool | IsSame (CINOSSync *i_pSync) |
|
int | operator< (const CINOSSync &aSync) const |
|
int | operator== (const CINOSSync &aSync) const |
|
int | operator< (const char *aName) const |
|
int | operator== (const char *aName) const |
|
|
void | Handler () |
|
void | Cleanup () |
|
| DECLARE_DYNAMIC (CINOSTimeEvent) |
|
virtual bool | Signaled (CINOSSync *&aChild) |
|
virtual CINOSSyncNode * | GetNode () |
|
virtual void | SetNode (CINOSSyncNode *aNode) |
|
void | SignalAndUnlock (uint32 auMsr) |
| Put object into the signaled state and release the core lock.
|
|
|
uint32 | mWaitTime = eEventDisabled |
|
CINOSxmsHandler * | pHandler = nullptr |
|
CINOSExceptionCleanup * | pCleanup = nullptr |
|
const char * | m_pName |
| name of sync object
|
|
uint32 | m_uCount |
| signaled count of object
|
|
bool | m_bManual |
| manual object yes/no
|
|
tTaskId | m_idFstWaiting |
| id of first task waiting for the sync object
|
|
tTaskId | m_idLstWaiting |
| id of last task waiting for the sync object
|
|
SINOSCoreLock | m_Lock |
| core lock
|
|
CINOSSyncNode * | m_pNode |
| pointer to object node (if any)
|
|
◆ CINOSTimeEvent()
CINOSTimeEvent::CINOSTimeEvent |
( |
uint32 |
aTime | ) |
|
Create time event with aTime in [ms].
- Parameters
-
aTime | The time until this event is being signaled in [ms]. if using 0, this event is disabled/inactive and will NOT be signaled. |
◆ Stop()
void CINOSTimeEvent::Stop |
( |
| ) |
|
remove 1ms handler and reset sync object. The 'wait time' for this time event will be kept, so that a follow-up call to Reset or Start with aTime=0 will re-trigger this time event with the previously used event time.
The documentation for this class was generated from the following file:
- /home/jenkins/workspace/inos_doxygen/os/inos/inc/inos_syn.h