![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Encapsulates the permissions of a camera feature. More...
#include <discovery.hpp>
Public Member Functions | |
FeaturePermissions (bool isAvailable, bool isReadable, bool isWritable) | |
Constructs FeaturePermissions from boolean flags. | |
bool | isAvailable () const |
Checks if the feature is available. | |
bool | isReadable () const |
Checks if the feature is readable. | |
bool | isWritable () const |
Checks if the feature is writable. | |
bool | operator< (const FeaturePermissions &other) const |
Comparison operator for ordering FeaturePermissions. | |
Public Attributes | |
FeaturePermissionValue | value |
Combined permission flags. | |
Encapsulates the permissions of a camera feature.
Stores permission flags indicating availability, readability, and writability. Provides convenience methods to query individual permissions.
Definition at line 39 of file discovery.hpp.
|
inline |
Constructs FeaturePermissions from boolean flags.
isAvailable | Whether the feature is available. |
isReadable | Whether the feature is readable. |
isWritable | Whether the feature is writable. |
Definition at line 50 of file discovery.hpp.
|
inline |
Checks if the feature is available.
Definition at line 61 of file discovery.hpp.
|
inline |
Checks if the feature is readable.
Definition at line 70 of file discovery.hpp.
|
inline |
Checks if the feature is writable.
Definition at line 79 of file discovery.hpp.
|
inline |
Comparison operator for ordering FeaturePermissions.
Enables usage as a key in ordered containers like std::map.
other | The other FeaturePermissions to compare with. |
Definition at line 92 of file discovery.hpp.
FeaturePermissionValue irsol::camera::internal::FeaturePermissions::value |
Combined permission flags.
Definition at line 41 of file discovery.hpp.