Encapsulates the GenTL functions associated with the GenTL System module's ID.
More...
#include <peak/system/peak_system_descriptor.hpp>
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.
◆ SystemDescriptor() [1/3]
| peak::core::SystemDescriptor::SystemDescriptor |
( |
| ) |
|
|
delete |
◆ ~SystemDescriptor()
| peak::core::SystemDescriptor::~SystemDescriptor |
( |
| ) |
|
|
overridedefault |
◆ SystemDescriptor() [2/3]
| peak::core::SystemDescriptor::SystemDescriptor |
( |
const SystemDescriptor & |
other | ) |
|
|
delete |
◆ SystemDescriptor() [3/3]
◆ CharacterEncoding()
Returns the character encoding of the GenTL producer library this system belongs to.
- Returns
- Character encoding of the GenTL producer library
- Since
- 1.0
- Exceptions
-
◆ CTIFileName()
| std::string peak::core::SystemDescriptor::CTIFileName |
( |
| ) |
const |
|
inline |
Returns the file name of the GenTL producer library this system belongs to.
- Returns
- File name of the GenTL producer library
- Since
- 1.0
- Exceptions
-
◆ CTIFullPath()
| std::string peak::core::SystemDescriptor::CTIFullPath |
( |
| ) |
const |
|
inline |
Returns the full path of the GenTL producer library this system belongs to.
- Returns
- Full path of the GenTL producer library
- Since
- 1.0
- Exceptions
-
◆ DisplayName()
| std::string peak::core::SystemDescriptor::DisplayName |
( |
| ) |
const |
|
inline |
Returns the display name.
- Returns
- Display name
- Since
- 1.0
- Exceptions
-
◆ GenTLVersionMajor()
| uint32_t peak::core::SystemDescriptor::GenTLVersionMajor |
( |
| ) |
const |
|
inline |
Returns the GenTL major version of the GenTL producer library this system belongs to.
- Returns
- GenTL major version of the GenTL producer library
- Since
- 1.0
- Exceptions
-
◆ GenTLVersionMinor()
| uint32_t peak::core::SystemDescriptor::GenTLVersionMinor |
( |
| ) |
const |
|
inline |
Returns the GenTL minor version of the GenTL producer library this system belongs to.
- Returns
- GenTL minor version of the GenTL producer library
- Since
- 1.0
- Exceptions
-
◆ Info()
| RawInformation peak::core::SystemDescriptor::Info |
( |
int32_t |
infoCommand | ) |
const |
|
inline |
Delivers information based on the given GenTL info command.
- Parameters
-
| [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):
auto info = object->Info(GenTL::XX_INFO_XX);
if (info.dataType == GenTL::INFO_DATATYPE_UINT64)
{
uint64_t uint64Var = *reinterpret_cast<const uint64_t*>(info.data.data());
}
else if (infoDataTypeVar == GenTL::INFO_DATATYPE_INT64)
{
...
}
...
- Returns
- Raw information according to the passed info command
- Since
- 1.0
- Exceptions
-
◆ IsOpened()
| bool peak::core::SystemDescriptor::IsOpened |
( |
| ) |
const |
|
inline |
Returns if the system is currently opened or not.
- Returns
- true if open, false if not
- Since
- 1.7
◆ Key()
| std::string peak::core::SystemDescriptor::Key |
( |
| ) |
const |
|
inline |
Returns the unique key.
The returned key is unique even across different producer libraries.
- Returns
- Unique key
- Since
- 1.0
- Exceptions
-
◆ ModelName()
| std::string peak::core::SystemDescriptor::ModelName |
( |
| ) |
const |
|
inline |
Returns the model name.
- Returns
- Model name
- Since
- 1.0
- Exceptions
-
◆ OpenedSystem()
| std::shared_ptr< System > peak::core::SystemDescriptor::OpenedSystem |
( |
| ) |
const |
|
inline |
◆ OpenSystem()
| std::shared_ptr< System > peak::core::SystemDescriptor::OpenSystem |
( |
| ) |
|
|
inline |
Opens the system.
- Returns
- Opened system
- Since
- 1.0
- Exceptions
-
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ParentLibrary()
| std::shared_ptr< ProducerLibrary > peak::core::SystemDescriptor::ParentLibrary |
( |
| ) |
const |
|
inline |
Returns the parent library.
- Returns
- Parent library
- Since
- 1.0
- Exceptions
-
◆ TLType()
| std::string peak::core::SystemDescriptor::TLType |
( |
| ) |
const |
|
inline |
Returns the TL (transport layer) type.
- Returns
- TL type
- Since
- 1.0
- Exceptions
-
◆ VendorName()
| std::string peak::core::SystemDescriptor::VendorName |
( |
| ) |
const |
|
inline |
Returns the vendor name.
- Returns
- Vendor name
- Since
- 1.0
- Exceptions
-
◆ Version()
| std::string peak::core::SystemDescriptor::Version |
( |
| ) |
const |
|
inline |
Returns the version.
- Returns
- Version
- Since
- 1.0
- Exceptions
-
The documentation for this class was generated from the following file: