|
openDAQ
Open data acquisition platform
|
A class which is responsible for creating a permission mask. This is a collection of Permission values which are allowed or denied for a given group id. Permission mask is defined as a 64-bit integer, where each bit corespond to a specific permission defined by Permission enum. More...
Inheritance diagram for IPermissionMaskBuilder:
Collaboration diagram for IPermissionMaskBuilder:A class which is responsible for creating a permission mask. This is a collection of Permission values which are allowed or denied for a given group id. Permission mask is defined as a 64-bit integer, where each bit corespond to a specific permission defined by Permission enum.
Public Member Functions | |
| virtual ErrCode INTERFACE_FUNC | read ()=0 |
| Add read permission to the bit mask. | |
| virtual ErrCode INTERFACE_FUNC | write ()=0 |
| Add write permission to the bit mask. | |
| virtual ErrCode INTERFACE_FUNC | execute ()=0 |
| Add execute permission to the bit mask. | |
| virtual ErrCode INTERFACE_FUNC | clear ()=0 |
| Removes all permissions from bit mask. | |
| virtual ErrCode INTERFACE_FUNC | build (Int *permissionMask)=0 |
| Build permission mask and return it as 64-bit integer. More... | |
Public Member Functions inherited from IBaseObject | |
| virtual ErrCode INTERFACE_FUNC | borrowInterface (const IntfID &intfID, void **obj) const =0 |
| Returns another interface which is supported by the object without incrementing the reference count. More... | |
| virtual ErrCode INTERFACE_FUNC | dispose ()=0 |
| Disposes all references held by the object. More... | |
| virtual ErrCode INTERFACE_FUNC | getHashCode (SizeT *hashCode)=0 |
| Returns hash code of the object. More... | |
| virtual ErrCode INTERFACE_FUNC | equals (IBaseObject *other, Bool *equal) const =0 |
| Compares object to another object for equality. More... | |
| virtual ErrCode INTERFACE_FUNC | toString (CharPtr *str)=0 |
| Returns a string representation of the object. More... | |
Public Member Functions inherited from IUnknown | |
| virtual ErrCode INTERFACE_FUNC | queryInterface (const IntfID &intfID, void **obj)=0 |
| Returns another interface which is supported by the object and increments the reference count. More... | |
| virtual int INTERFACE_FUNC | addRef ()=0 |
| Increments the reference count for an interface on an object. More... | |
| virtual int INTERFACE_FUNC | releaseRef ()=0 |
| Decrements the reference count for an interface on an object. More... | |
|
pure virtual |
Build permission mask and return it as 64-bit integer.
| permissionMask[out] | Permission mask defined as 64-bit integer where each bit corresponds to a specific permissoin defined by Permission enum. |