Skip to content

Commit

Permalink
Improved description of some device methods [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
heikohimu committed Jan 9, 2019
1 parent 7b03bf0 commit 13f8091
Showing 1 changed file with 31 additions and 21 deletions.
52 changes: 31 additions & 21 deletions rc_genicam_api/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the currently available streams of this device.
NOTE: open() must be called before calling this method.
NOTE: The device must have been opened with the open() call before
calling this method.
@return List of streams.
*/
Expand All @@ -108,8 +109,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the vendor of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Vendor.
*/
Expand All @@ -119,8 +121,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the model of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Model.
*/
Expand All @@ -130,8 +133,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the transport layer type of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Transport layer type.
*/
Expand All @@ -141,8 +145,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the display name of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Display name.
*/
Expand All @@ -152,8 +157,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the access status of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Access status.
*/
Expand All @@ -163,8 +169,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the user defined name of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return User defined name.
*/
Expand All @@ -174,8 +181,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the serial number of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Serial number.
*/
Expand All @@ -185,8 +193,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the version of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Version.
*/
Expand All @@ -196,8 +205,9 @@ class Device : public std::enable_shared_from_this<Device>
/**
Returns the timestamp frequency of the device.
NOTE: At least the parent object must have been opened before calling
this method.
NOTE: This method only returns a non empty string if the parent interface
has NOT been closed after Interface::getDevice() or Interface::getDevices()
call, or if this device itself has been opened with the open() call.
@return Tick-frequency of the time stamp clock.
*/
Expand Down Expand Up @@ -229,7 +239,7 @@ class Device : public std::enable_shared_from_this<Device>
std::shared_ptr<GenApi::CNodeMapRef> getRemoteNodeMap(const char *xml=0);

/**
Get internal interace handle.
Get internal interface handle.
@return Internal handle.
*/
Expand Down Expand Up @@ -278,4 +288,4 @@ std::shared_ptr<Device> getDevice(const char *devid);

}

#endif
#endif

0 comments on commit 13f8091

Please sign in to comment.