![]() |
![]() |
Collection of access mode bits. More...
#include <pylon/DeviceAccessMode.h>
Public Member Functions | |
AccessModeSet (void) | |
Default constructor creates an empty set. | |
AccessModeSet (EDeviceAccessMode am) | |
Converts an access mode into a set. | |
AccessModeSet (const AccessModeSet &ams) | |
Copy constructor. | |
AccessModeSet & | set (size_t pos) |
Sets the bit at position pos. More... | |
AccessModeSet & | reset () |
Resets all bits to zero. More... | |
bool | any () const |
Returns whether any of the bits is set (i.e., whether at least one bit in the AccessModeSet is set to one). More... | |
bool | none () const |
Returns whether any of the bits is set (i.e., whether at least one bit in the AccessModeSet is set to one). More... | |
bool | test (size_t pos) const |
Returns whether the bit at position pos is set (i.e., whether it is one). More... | |
unsigned long | to_ulong () const |
Returns an unsigned long with the integer value that has the same bits set as the AccessModeSet. More... | |
Collection of access mode bits.
Used for defining how a device is accessed.