24#ifndef _SO_LICENSES_INFO_
25#define _SO_LICENSES_INFO_
27#include <Inventor/SbPImpl.h>
28#include <Inventor/sys/port.h>
29#include <Inventor/SbBase.h>
30#include <Inventor/SbString.h>
31#include <Inventor/lock/SoLicensedProduct.h>
32#include <Inventor/STL/map>
33#include <Inventor/STL/vector>
144 static int check(
const char* productName,
float version,
const char* licenseString = NULL,
145 SbBool printWarning = TRUE,
char** errReport = NULL );
<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.
void SoLicensesCB(SoLicensedProduct::SbProduct product)
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.