#include <GatewaySemaphoreGroup.hpp>
Inheritance diagram for corelinux::GatewaySemaphoreGroup::
Public Methods | |
GatewaySemaphoreGroup (Short, Int Rights=OWNER_ALL) throw (Assertion,SemaphoreException) | |
Default constructor creates a private group semaphores with access for OWNER_ALL. More... | |
GatewaySemaphoreGroup (Short, SemaphoreGroupIdentifierCref, Int, CreateDisposition disp=FAIL_IF_EXISTS) throw (Assertion,SemaphoreException) | |
Constructor to open or create a semaphore group with a specific identifier. More... | |
GatewaySemaphoreGroup (Short, CharCptr aName, Int, CreateDisposition disp=FAIL_IF_EXISTS) throw (Assertion,SemaphoreException) | |
Constructor to open or create a semaphore group by name. More... | |
virtual | ~GatewaySemaphoreGroup (void) |
Virtual destructor. | |
virtual AbstractSemaphorePtr | createSemaphore (void) throw ( SemaphoreException ) |
Create a default GatewaySemaphore. More... | |
virtual AbstractSemaphorePtr | createCountSemaphore (Count aCount) throw ( SemaphoreException ) |
Create a count GatewaySemaphore. 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 GatewaySemphore. More... | |
virtual AbstractSemaphorePtr | createCountSemaphore (SemaphoreIdentifierRef aIdentifier, Count aCount, CreateDisposition disp=CREATE_OR_REUSE, bool Recursive=false, bool Balking=false) throw ( SemaphoreException ) |
Create or open (use) a specific GatewaySemphore and have it automatically initialized 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 GatewaySemphore. More... | |
virtual void | destroySemaphore (AbstractSemaphorePtr) throw ( SemaphoreException ) |
Destroys a created GatewaySemaphore. More... | |
Protected Methods | |
GatewaySemaphoreGroup (void) throw ( Assertion ) | |
Default constructor not allowed. | |
GatewaySemaphoreGroup (GatewaySemaphoreGroupCref) throw ( Assertion ) | |
Copy constructor not allowed. | |
GatewaySemaphoreGroupRef | operator= (GatewaySemaphoreGroupCref) throw ( Assertion ) |
Assignment operator not allowed. | |
AbstractSemaphorePtr | resolveSemaphore (SemaphoreIdentifierRef aIdentifier, Short aSemId, CreateDisposition aDisp, bool aRecurse, bool aBalk, Count aMaxValue=1) throw ( SemaphoreException ) |
Protected method for resolving mutex between CSA and local. |
Default behavior for creating semaphores via the SemaphoreGroup interface is to create a Gateway and initialize it to a count of two (2) Use the createCountSemaphore(...) interface to accomplish initializing the GatewaySemaphore to a count > 2.
|
Default constructor creates a private group semaphores with access for OWNER_ALL.
|
|
Constructor to open or create a semaphore group with a specific identifier.
|
|
Constructor to open or create a semaphore group by name.
|
|
Create or open (use) a specific GatewaySemphore and have it automatically initialized to the specified count.
|
|
Create a count GatewaySemaphore.
|
|
Create or open (use) a specific GatewaySemphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
Create or open (use) a specific GatewaySemphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
Create a default GatewaySemaphore.
Reimplemented from corelinux::SemaphoreGroup. |
|
Destroys a created GatewaySemaphore.
Reimplemented from corelinux::SemaphoreGroup. |