A single Magic Number entry.
More...
#include <cvb/utilities/system_info.hpp>
|
String | Provider () const noexcept |
| The friendly (= human-readable) name of the license provider, that reported this Magic Number entry.
|
|
String | ToolID () const noexcept |
| The tool ID of the Magic Number entry.
|
|
String | MagicNumber () const noexcept |
| The Magic Number which is tool-specific and at the same time specific to the Common Vision Blox Serial Number for which they have been bought.
|
|
int | SerialNumber () const noexcept |
| The serial number assigned to this Magic Number entry (0 if it has no inherent link to a serial number).
|
|
A single Magic Number entry.
◆ MagicNumber()
The Magic Number which is tool-specific and at the same time specific to the Common Vision Blox Serial Number for which they have been bought.
- Returns
- The magic number.
- Exceptions
-
Does | not throw any exception. |
◆ Provider()
The friendly (= human-readable) name of the license provider, that reported this Magic Number entry.
- Returns
- The provider string.
- Exceptions
-
Does | not throw any exception. |
◆ SerialNumber()
int SerialNumber |
( |
| ) |
const |
|
inlinenoexcept |
The serial number assigned to this Magic Number entry (0 if it has no inherent link to a serial number).
- Returns
- The serial number.
- Exceptions
-
Does | not throw any exception. |
◆ ToolID()
The tool ID of the Magic Number entry.
- Returns
- The tool ID string.
- Exceptions
-
Does | not throw any exception. |
◆ GetMagicNumberEntries
Query the set of currently available Magic Numbers.
- Returns
- A vector containing the currently available magic number entries.
- Exceptions
-
In theory, the collection of available Magic Numbers can change any time. However, it is fairly unlikely that during runtime someone unplugs a dongle or removes a Node Locked license, so Common Vision Blox does not implement a costly push/event model for notifying clients during runtime about the presence of new Magic Numbers or the loss of a Magic Number. Instead, the Magic Number information can and needs to be queried using this method.