INOS
|
Public Member Functions | |
CINOSBitSetEvent (CINOSBit *apBit) | |
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 | Reset () |
Reset object state. | |
virtual bool | UsesPolling () const |
![]() | |
CINOSSync (const char *aName=0, uint32 aInitialCount=0, bool aManual=false) | |
virtual | ~CINOSSync () |
Destroy sync object. | |
virtual void | SignalEx (CINOSTaskExMsg *apMsg, uint32 auRplId, uint32 auAppError) |
virtual bool | MsgEvent (CINOSTaskExMsg *apMsg) |
volatile uint32 * | GetLockAdr () |
Return pointer to core locking structure. | |
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 |
Protected Member Functions | |
virtual bool | Signaled (CINOSSync *&aChild) |
virtual CINOSSyncNode * | GetNode () |
virtual void | SetNode (CINOSSyncNode *aNode) |
void | Cleanup () |
DECLARE_DYNAMIC (CINOSBitSetEvent) | |
![]() | |
void | SignalAndUnlock (uint32 auMsr) |
Put object into the signaled state and release the core lock. | |
Protected Attributes | |
CINOSBit * | m_pBit |
CINOSEvent * | m_pEvent |
CINOSExceptionCleanup * | m_pCleanup |
bool | m_bUsesPolling |
![]() | |
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) | |
Friends | |
class | CINOSBit |
Get name of sync object.
Reimplemented from CINOSSync.
|
inlineprotectedvirtual |
Reimplemented from CINOSSync.
Reimplemented from CINOSSync.
Put object into the signaled state.
Reimplemented from CINOSSync.
Reimplemented from CINOSSync.
|
virtual |
wait for signaled state for max. aTimeout usec
auTimeout | max. time to wait for the signaled state or forever if used INOS_WAIT_FOREVER. The unit of the time is [usec] (microseconds). Set auTimeout == 100000 for example if you want to wait for max. 100ms |
Reimplemented from CINOSSync.