#include <EventSemaphoreGroup.hpp>
Inheritance diagram for corelinux::EventSemaphoreGroup::

Public Methods | |
| EventSemaphoreGroup (Short aSemCount, Int aRightSet=OWNER_ALL) throw (Assertion,SemaphoreException) | |
| Default constructor creates a private group semaphores with access for OWNER_ALL. More... | |
| EventSemaphoreGroup (Short aSemCount, SemaphoreGroupIdentifierCref aGID, Int aRightSet, CreateDisposition disp=FAIL_IF_EXISTS) throw (Assertion,SemaphoreException) | |
| Constructor to open or create a semaphore group with a specific identifier. More... | |
| EventSemaphoreGroup (Short aSemCount, CharCptr aName, Int aRightSet, CreateDisposition disp=FAIL_IF_EXISTS) throw (Assertion,SemaphoreException) | |
| Constructor to open or create a semaphore group by name. More... | |
| virtual | ~EventSemaphoreGroup (void) |
| Virtual destructor. | |
| virtual AbstractSemaphorePtr | createSemaphore (void) throw ( SemaphoreException ) |
| Create a default EventSemaphore. More... | |
| virtual AbstractSemaphorePtr | createSemaphore (Counter aLimit) throw ( SemaphoreException ) |
| Create an EventSemaphore and set the maximum number of listeners allowed on this semaphore. More... | |
| virtual AbstractSemaphorePtr | createSemaphore (SemaphoreIdentifierRef aIdentifier, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
| Create or open (use) a specific EventSemphore. More... | |
| virtual AbstractSemaphorePtr | createSemaphore (SemaphoreIdentifierRef aIdentifier, Counter aLimit, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
| Create or open (use) a specific EventSemphore and set the maximum number of listeners to the specified count. More... | |
| virtual AbstractSemaphorePtr | createSemaphore (std::string aName, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
| Create or open (use) a specific EventSemaphore identified by its name. More... | |
| virtual AbstractSemaphorePtr | createSemaphore (std::string aName, Counter aLimit, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
| Create or open (use) a specific EventSemaphore. More... | |
| virtual void | destroySemaphore (AbstractSemaphorePtr aPtr) throw ( SemaphoreException ) |
| Destroys a previously created EventSemaphore. More... | |
Protected Methods | |
| EventSemaphoreGroup (void) throw ( Assertion ) | |
| Default constructor not allowed. | |
| EventSemaphoreGroup (EventSemaphoreGroupCref) throw ( Assertion ) | |
| Copy constructor not allowed. | |
| EventSemaphoreGroupRef | operator= (EventSemaphoreGroupCref) throw ( Assertion ) |
| AbstractSemaphorePtr | resolveSemaphore (SemaphoreIdentifierRef aIdentifier, Short aSemId, CreateDisposition aDisp, bool aRecurse, bool aBalk, Counter aMaxValue=1) throw ( SemaphoreException ) |
Default behavior for creating semaphores via the SemaphoreGroup interface is to create a Event and autolock it. There is no option for not autolocking it.
|
||||||||||||
|
Default constructor creates a private group semaphores with access for OWNER_ALL. Maximum limit of listeners will be set to "infinity"
|
|
||||||||||||||||||||
|
Constructor to open or create a semaphore group with a specific identifier. Maximum limit of listeners will be set to "infinity".
|
|
||||||||||||||||||||
|
Constructor to open or create a semaphore group by name. Maximum limit of listeners is set to "infinity"
|
|
||||||||||||||||||||||||
|
Create or open (use) a specific EventSemaphore.
|
|
||||||||||||||||||||
|
Create or open (use) a specific EventSemaphore identified by its name.
Reimplemented from corelinux::SemaphoreGroup. |
|
||||||||||||||||||||||||
|
Create or open (use) a specific EventSemphore and set the maximum number of listeners to the specified count.
|
|
||||||||||||||||||||
|
Create or open (use) a specific EventSemphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
|
Create an EventSemaphore and set the maximum number of listeners allowed on this semaphore.
|
|
|
Create a default EventSemaphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
|
Destroys a previously created EventSemaphore.
Reimplemented from corelinux::SemaphoreGroup. |