![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Singleton class allowing to store and manage pending action requests. More...
#include <PendingActionRequestManager.h>
Public Member Functions | |
| ~PendingActionRequestManager () | |
| destructor | |
| void | registerRequest (const PendingActionRequestPtr &pRequest) |
| method allowing to register a new pending action request More... | |
| bool | isRegistredRequest (const Guid &requestGuid) const |
| method allowing to test whether a given request guid is registred | |
| PendingActionRequestPtr | releaseRequest (const Guid &requestGuid) |
| method allowing to release a request given its guid More... | |
Static Public Member Functions | |
| static PendingActionRequestManager & | getInstance () |
| retrieve unique instance of singeton object | |
Protected Types | |
| typedef std::map< Guid, PendingActionRequestPtr > | RequestMap |
| collection allowing to associated a guid to a request | |
Protected Member Functions | |
| PendingActionRequestManager () | |
| constructor | |
Protected Attributes | |
| boost::mutex | _mutex |
| mutex allowing to lock object data during execution | |
| RequestMap | _requestMap |
| collection of registred requests | |
Singleton class allowing to store and manage pending action requests.
| void ipsdk::core::PendingActionRequestManager::registerRequest | ( | const PendingActionRequestPtr & | pRequest | ) |
method allowing to register a new pending action request
| ipsdk::core::IPSDKCoreException | if pRequest.get() == 0 |
| ipsdk::core::IPSDKCoreException | if isRegistredRequest(pRequest->getGuid()) == true |
| PendingActionRequestPtr ipsdk::core::PendingActionRequestManager::releaseRequest | ( | const Guid & | requestGuid | ) |
method allowing to release a request given its guid
1.8.14