Information about CVB licenses. More...
#include <cvb/utilities/system_info.hpp>
Public Member Functions | |
int | SerialNumber () const noexcept |
The 32 bit CVB serial number of this license. More... | |
bool | IsFoundation () const noexcept |
Check if the license includes the Common Vision Blox Foundation package. More... | |
Friends | |
std::vector< LicenseInfo > | GetLicenseInfo () |
Get information about available licenses. More... | |
Information about CVB licenses.
|
inlinenoexcept |
Check if the license includes the Common Vision Blox Foundation package.
Does | not throw any exception. |
|
inlinenoexcept |
The 32 bit CVB serial number of this license.
Does | not throw any exception. |
|
friend |
Get information about available licenses.
Any | exception derived from std::exception including CvbException. |
In theory, the collection of available licenses 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 licenses or the loss of a license. Instead, the license information can and needs to be queried using this method.