![]() |
IDS peak genericC++
v1.4.0
|
Represents a GenTL Device module, i.e. a local virtual Device proxy for the actual hardware RemoteDevice. More...
#include <peak/device/peak_device.hpp>
Public Member Functions | |
| Device ()=delete | |
| ~Device () override | |
| Device (const Device &other)=delete | |
| Device & | operator= (const Device &other)=delete |
| Device (Device &&other)=delete | |
| Device & | operator= (Device &&other)=delete |
| std::string | Key () const |
| Returns the unique key. More... | |
| RawInformation | Info (int32_t infoCommand) const |
| Delivers information based on the given GenTL info command. More... | |
| std::string | ID () const |
| Returns the ID. More... | |
| std::string | DisplayName () const |
| Returns the display name. More... | |
| std::string | VendorName () const |
| Returns the vendor name. More... | |
| std::string | ModelName () const |
| Returns the model name. More... | |
| std::string | Version () const |
| Returns the version. More... | |
| std::string | TLType () const |
| Returns the TL (transport layer) type. More... | |
| std::string | UserDefinedName () const |
| Returns the user defined name. More... | |
| std::string | SerialNumber () const |
| Returns the serial number. More... | |
| DeviceAccessStatus | AccessStatus () const |
| Returns the access status. More... | |
| uint64_t | TimestampTickFrequency () const |
| Returns the timestamp tick frequency. More... | |
| std::shared_ptr< class RemoteDevice > | RemoteDevice () const |
| Returns the remote device of the device. More... | |
| std::vector< std::shared_ptr< DataStreamDescriptor > > | DataStreams () const |
| Returns the data stream list of the device. More... | |
| std::shared_ptr< Interface > | ParentInterface () const |
| Returns the parent interface. More... | |
Public Member Functions inherited from peak::core::EventSupportingModule | |
| EventSupportingModule ()=default | |
| ~EventSupportingModule () override=default | |
| EventSupportingModule (const EventSupportingModule &other)=delete | |
| EventSupportingModule & | operator= (const EventSupportingModule &other)=delete |
| EventSupportingModule (EventSupportingModule &&other)=delete | |
| EventSupportingModule & | operator= (EventSupportingModule &&other)=delete |
| std::unique_ptr< EventController > | EnableEvents (EventType type) |
| Enables events of the given event type. More... | |
Public Member Functions inherited from peak::core::Module | |
| Module ()=default | |
| virtual | ~Module ()=default |
| Module (const Module &other)=delete | |
| Module & | operator= (const Module &other)=delete |
| Module (Module &&other)=delete | |
| Module & | operator= (Module &&other)=delete |
| std::vector< std::shared_ptr< NodeMap > > | NodeMaps () const |
| Returns the module's node maps. More... | |
| std::shared_ptr< class Port > | Port () const |
| Returns the module's port. More... | |
Additional Inherited Members |
Represents a GenTL Device module, i.e. a local virtual Device proxy for the actual hardware RemoteDevice.
This class allows to query information about a GenTL Device module and to enumerate its DataStreamDescriptors, which allows to open the corresponding DataStream.
Additionally, it allows access to its RemoteDevice, i.e. the actual hardware device. To change hardware settings, you typically need to work with the NodeMap of the RemoteDevice. E.g. to change the exposure time:
|
delete |
|
inlineoverride |
|
delete |
|
delete |
|
inline |
Returns the access status.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the data stream list of the device.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the display name.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
|
inline |
Delivers information based on the given GenTL info command.
| [in] | infoCommand | The GenTL info command. |
This function can be used to query information going beyond the predefined info functions, based on the GenTL info commands of the corresponding module.
Example (error handling is omitted):
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the unique key.
The returned key is unique even across different producer libraries.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the model name.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the parent interface.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the remote device of the device.
This function returns the remote device which provides the access to the physical device. In contrast, this class acts only as a proxy for the physical device.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the serial number.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the timestamp tick frequency.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the TL (transport layer) type.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the user defined name.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the vendor name.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the version.
| NotFoundException | Device could not be found. |
| InternalErrorException | An internal error has occurred. |