24#ifndef _SO_LICENSES_INFO_
25#define _SO_LICENSES_INFO_
32#include <Inventor/STL/map>
33#include <Inventor/STL/vector>
143 static int check(
const char* productName,
float version,
const char* licenseString = NULL,
144 SbBool printWarning =
TRUE,
char** errReport = NULL );
#define TRUE
Possible value of SbBool.
SO_PIMPL_BASE_PUBLIC_DECLARATION(SoImageDataAdapter)
void SoLicensesCB(SoLicensedProduct::SbProduct product)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class managing a...
SbProduct
List of all available Open Inventor products.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class managing e...
const SoLicensedProduct * getLicensedProductByIndex(unsigned int index) const
Gets the licensed product corresponding to the given index.
static int check(const char *productName, float version, const char *licenseString=NULL, SbBool printWarning=TRUE, char **errReport=NULL)
Query if Open Inventor or an extension module is licensed on this machine.
void registerExpirationCallback(SoLicensesCB *cb)
Sets the callback to call when a license is expired.
void registerWarningCallback(int nbDaysBeforeExpiration, SoLicensesCB *cb)
Sets the callback to call when a license date of expiration is lower than nbDayBeforeExpiration.
unsigned int getProductCount() const
Gets number of licensed products.
static SoLicensesInfo & getInstance()
Returns SoLicensesInfo singleton.
static const char * getVersion()
Returns a character string identifying the version of the Open Inventor library in use.
static float getLicensingVersionNumber()
Returns the current version number as a float for license checking.
const SoLicensedProduct * getLicensedProduct(SoLicensedProduct::SbProduct prod) const
Gets the licensed product corresponding to the given SoLicensedProduct::SbProduct.