Resource lock management.
More...
#include <objectregistry.hh>
template<typename T, ObjectRegistry< T > & R, ORRLExceptionDesc & ExceptionDesc, typename ExceptionType>
class ObjectRegistryResourceLock< T, R, ExceptionDesc, ExceptionType >
Resource lock management.
This is the public class to be used when defining objects for locking resources.
- Template Parameters
-
T | The type of the resource to be locked/unlocked |
R | The registry which should contain the resouce to be locked/unlocked. |
ExceptionDesc | The parameter to be passed to the ExceptionType when a range_error happens. |
ExceptionType | The type of exception to throw on range_errors |
◆ ObjectRegistryResourceLock() [1/3]
template<typename T , ObjectRegistry< T > & R, ORRLExceptionDesc & ExceptionDesc, typename ExceptionType >
Constructor.
Initialize by locking the object.
- Exceptions
-
ExceptionType | If a range error occurs which indicates that the Resource is not being managed by R, then throw as ExceptionType instead. |
◆ ObjectRegistryResourceLock() [2/3]
template<typename T , ObjectRegistry< T > & R, ORRLExceptionDesc & ExceptionDesc, typename ExceptionType >
Constructor.
Initialize by locking the object.
- Exceptions
-
ExceptionType | If a range error occurs which indicates that the Resource is not being managed by R, then throw as ExceptionType instead. |
◆ ObjectRegistryResourceLock() [3/3]
template<typename T , ObjectRegistry< T > & R, ORRLExceptionDesc & ExceptionDesc, typename ExceptionType >
Constructor.
Initialize by locking the object.
- Exceptions
-
ExceptionType | If a range error occurs which indicates that the Resource is not being managed by R, then throw as ExceptionType instead. |
The documentation for this class was generated from the following file:
- /build/ldas-tools-al-2.6.3/debian/tmp/usr/include/ldastoolsal/objectregistry.hh