Encapsulates the GenTL functions associated with the GenTL System module's ID. More...
#include <peak/system/peak_system_descriptor.hpp>
Public Member Functions | |
| SystemDescriptor ()=delete | |
| ~SystemDescriptor () override=default | |
| SystemDescriptor (const SystemDescriptor &other)=delete | |
| SystemDescriptor & | operator= (const SystemDescriptor &other)=delete |
| SystemDescriptor (SystemDescriptor &&other)=delete | |
| SystemDescriptor & | operator= (SystemDescriptor &&other)=delete |
| PEAK_COMMON_NO_DISCARD std::string | Key () const |
| Returns the unique key. | |
| PEAK_COMMON_NO_DISCARD RawInformation | Info (int32_t infoCommand) const |
| Delivers information based on the given GenTL info command. | |
| PEAK_COMMON_NO_DISCARD std::string | DisplayName () const |
| Returns the display name. | |
| PEAK_COMMON_NO_DISCARD std::string | VendorName () const |
| Returns the vendor name. | |
| PEAK_COMMON_NO_DISCARD std::string | ModelName () const |
| Returns the model name. | |
| PEAK_COMMON_NO_DISCARD std::string | Version () const |
| Returns the version. | |
| PEAK_COMMON_NO_DISCARD std::string | TLType () const |
| Returns the TL (transport layer) type. | |
| PEAK_COMMON_NO_DISCARD std::string | CTIFileName () const |
| Returns the file name of the GenTL producer library this system belongs to. | |
| PEAK_COMMON_NO_DISCARD std::string | CTIFullPath () const |
| Returns the full path of the GenTL producer library this system belongs to. | |
| PEAK_COMMON_NO_DISCARD uint32_t | GenTLVersionMajor () const |
| Returns the GenTL major version of the GenTL producer library this system belongs to. | |
| PEAK_COMMON_NO_DISCARD uint32_t | GenTLVersionMinor () const |
| Returns the GenTL minor version of the GenTL producer library this system belongs to. | |
| PEAK_COMMON_NO_DISCARD peak::core::CharacterEncoding | CharacterEncoding () const |
| Returns the character encoding of the GenTL producer library this system belongs to. | |
| PEAK_COMMON_NO_DISCARD std::shared_ptr< ProducerLibrary > | ParentLibrary () const |
| Returns the parent library. | |
| PEAK_COMMON_NO_DISCARD std::shared_ptr< System > | OpenSystem () |
| Opens the system. | |
| PEAK_COMMON_NO_DISCARD std::shared_ptr< System > | OpenedSystem () const |
| Returns the System that was opened with this SystemDescriptor. | |
| PEAK_COMMON_NO_DISCARD std::shared_ptr< System > | EnsureOpenedSystem () |
| Returns the opened system or opens it if it is not already open. | |
| PEAK_COMMON_NO_DISCARD bool | IsOpened () const |
| Returns whether the system is open. | |
| Public Member Functions inherited from peak::core::ModuleDescriptor | |
| ModuleDescriptor ()=default | |
| virtual | ~ModuleDescriptor ()=default |
| ModuleDescriptor (const ModuleDescriptor &other)=delete | |
| ModuleDescriptor & | operator= (const ModuleDescriptor &other)=delete |
| ModuleDescriptor (ModuleDescriptor &&other)=delete | |
| ModuleDescriptor & | operator= (ModuleDescriptor &&other)=delete |
| PEAK_COMMON_NO_DISCARD std::string | ID () const |
| Returns the ID of the described module. | |
Encapsulates the GenTL functions associated with the GenTL System module's ID.
This class allows to query information about the GenTL System module without opening it. Furthermore, it enables you to open the GenTL System module.
|
delete |
|
overridedefault |
|
delete |
|
delete |
|
inline |
Returns the character encoding of the GenTL producer library this system belongs to.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the file name of the GenTL producer library this system belongs to.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the full path of the GenTL producer library this system belongs to.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the display name.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the opened system or opens it if it is not already open.
| BadAccessException | Access denied |
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the GenTL major version of the GenTL producer library this system belongs to.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the GenTL minor version of the GenTL producer library this system belongs to.
| InternalErrorException | An internal error has occurred. |
|
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 whether the system is open.
|
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.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the System that was opened with this SystemDescriptor.
| BadAccessException | System is not open |
|
inline |
Opens the system.
| BadAccessException | Access denied |
| InternalErrorException | An internal error has occurred. |
|
delete |
|
delete |
|
inline |
Returns the parent library.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the TL (transport layer) type.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the vendor name.
| InternalErrorException | An internal error has occurred. |
|
inline |
Returns the version.
| InternalErrorException | An internal error has occurred. |