SqueezeBrains SDK 1.13
License

License management. More...

Collaboration diagram for License:

Data Structures

class  sb_cs::SbLicenseConfiguration
 License configuration class that wraps the sb_t_license_configuration structure More...
 
class  sb_cs::SbLicenseModule
 License module Class that wraps the sb_t_license_module structure More...
 
class  sb_cs::SbLicense
 License Class that wraps the sb_t_license structure.
You must call the Dispose() method to free all the resources of the returned instance. More...
 

Enumerations

enum class  sb_cs::SbLicenseType : int {
  sb_cs::SbLicenseType::SB_LICENSE_NULL = SB_LICENSE_NULL , sb_cs::SbLicenseType::SB_LICENSE_DISABLED = SB_LICENSE_DISABLED , sb_cs::SbLicenseType::SB_LICENSE_DEMO = SB_LICENSE_DEMO , sb_cs::SbLicenseType::SB_LICENSE_MASTER = SB_LICENSE_MASTER ,
  sb_cs::SbLicenseType::SB_LICENSE_NOT_PRESENT =SB_LICENSE_NOT_PRESENT
}
 License type that wraps the sb_t_license_type enum More...
 
enum class  sb_cs::SbLicenseConfigurationId : int { sb_cs::SbLicenseConfigurationId::SB_LICENSE_PREMIUM = SB_LICENSE_PREMIUM , sb_cs::SbLicenseConfigurationId::SB_LICENSE_STANDARD = SB_LICENSE_STANDARD , sb_cs::SbLicenseConfigurationId::SB_LICENSE_BASIC = SB_LICENSE_BASIC , sb_cs::SbLicenseConfigurationId::SB_LICENSE_CONFIGURATION_NUMBER = SB_LICENSE_CONFIGURATION_NUMBER }
 License configuration id that wraps the sb_t_license_configuration_id enum. More...
 
enum class  sb_cs::SbLicenseModuleId : int {
  sb_cs::SbLicenseModuleId::SB_LICENSE_MODULE_NONE = SB_LICENSE_MODULE_NONE , sb_cs::SbLicenseModuleId::SB_LICENSE_MODULE_RETINA = SB_LICENSE_MODULE_RETINA , sb_cs::SbLicenseModuleId::SB_LICENSE_MODULE_SURFACE = SB_LICENSE_MODULE_SURFACE , sb_cs::SbLicenseModuleId::SB_LICENSE_MODULE_DEEP_CORTEX = SB_LICENSE_MODULE_DEEP_CORTEX ,
  sb_cs::SbLicenseModuleId::SB_LICENSE_MODULE_DEEP_SURFACE = SB_LICENSE_MODULE_DEEP_SURFACE , sb_cs::SbLicenseModuleId::SB_LICENSE_MODULE_NUMBER = SB_LICENSE_MODULE_NUMBER
}
 Enumerations of modules of the SB library. More...
 
enum class  sb_cs::SbLicenseModuleStatus : int { sb_cs::SbLicenseModuleStatus::SB_LICENSE_MODULE_STATUS_NULL = SB_LICENSE_MODULE_STATUS_NULL , sb_cs::SbLicenseModuleStatus::SB_LICENSE_MODULE_STATUS_ACTIVE = SB_LICENSE_MODULE_STATUS_ACTIVE , sb_cs::SbLicenseModuleStatus::SB_LICENSE_MODULE_STATUS_DISABLED = SB_LICENSE_MODULE_STATUS_DISABLED , sb_cs::SbLicenseModuleStatus::SB_LICENSE_MODULE_STATUS_ERR = SB_LICENSE_MODULE_STATUS_ERR }
 License module status that wraps the sb_t_license_module_status enum More...
 

Detailed Description

License management.

See License for more information.

Enumeration Type Documentation

◆ SbLicenseConfigurationId

enum class sb_cs::SbLicenseConfigurationId : int
strong

License configuration id that wraps the sb_t_license_configuration_id enum.

Enumerator
SB_LICENSE_PREMIUM 

Premium configuration.

SB_LICENSE_STANDARD 

Standard configuration.

SB_LICENSE_BASIC 

Basic configuration.

SB_LICENSE_CONFIGURATION_NUMBER 

Number of configurations.

This field must be the last of the enum.

Definition at line 28 of file cs_license.h.

◆ SbLicenseModuleId

enum class sb_cs::SbLicenseModuleId : int
strong

Enumerations of modules of the SB library.

It wraps the sb_t_license_module_id enum.

Enumerator
SB_LICENSE_MODULE_NONE 

Module type not defined.

SB_LICENSE_MODULE_RETINA 

Retina.

SB_LICENSE_MODULE_SURFACE 

Surface.

SB_LICENSE_MODULE_DEEP_CORTEX 

Deep Cortex.

SB_LICENSE_MODULE_DEEP_SURFACE 

Deep Surface.

SB_LICENSE_MODULE_NUMBER 

Number of modules.

This field must be the last of the enum.

Definition at line 43 of file cs_license.h.

◆ SbLicenseModuleStatus

enum class sb_cs::SbLicenseModuleStatus : int
strong

License module status that wraps the sb_t_license_module_status enum

Enumerator
SB_LICENSE_MODULE_STATUS_NULL 

The license status is undefined.

SB_LICENSE_MODULE_STATUS_ACTIVE 

The license is valid and active.

SB_LICENSE_MODULE_STATUS_DISABLED 

The license is disabled.

SB_LICENSE_MODULE_STATUS_ERR 

There is an error. See the field sb_t_license_module::err.

Definition at line 60 of file cs_license.h.

◆ SbLicenseType

enum class sb_cs::SbLicenseType : int
strong

License type that wraps the sb_t_license_type enum

Enumerator
SB_LICENSE_NULL 

License type isn't defined.

SB_LICENSE_DISABLED 

License is disabled.

SB_LICENSE_DEMO 

Demo license: has an expiry date.

SB_LICENSE_MASTER 

Master license: hasn't an expiry date.

SB_LICENSE_NOT_PRESENT 

License is not present.

Definition at line 17 of file cs_license.h.