Class managing a licensed product. More...
#include <Inventor/lock/SoLicensedProduct.h>
Public Types | |
enum | SbProduct { OpenInventor = 0 , HardCopy , MeshVizXLM , MeshViz , MeshVizInterface , MeshVizExtractor , VolumeVizLDM , VolumeViz , LDMWriter , AllInventor , OivCatia5Reader , OivCatia6Reader , OivDxfReader , OivDwgReader , OivIgesReader , OivJtReader , OivProeReader , OivSolidedgeReader , OivSolidworksReader , OivStepReader , OivUgReader , OivVdaReader , OivXmtReader , IvTuneViewer , RemoteViz , ScaleVizCluster , ScaleVizWorkstation , NumberOfProducts } |
List of all available Open Inventor products. More... | |
Public Member Functions | |
SoLicensedProduct () | |
virtual | ~SoLicensedProduct () |
SbProduct | getProduct () const |
Returns the SbProduct enum value of the licensed product. | |
SbString | getProductName () const |
Returns the name of the licensed product. | |
unsigned int | getLicenseCount () const |
Returns the number of licenses available for this product. | |
const SoLicenseProperty * | getLicenseByIndex (unsigned int index) const |
Returns the license of the licensed product for the given index. | |
Public Member Functions inherited from SoRefCounter | |
void | ref () const |
Adds a reference to an instance. | |
void | unref () const |
Removes a reference from an instance. | |
void | unrefNoDelete () const |
unrefNoDelete() should be called when it is desired to decrement the reference count, but not delete the instance if this brings the reference count to zero. | |
int | getRefCount () const |
Returns current reference count. | |
void | lock () const |
lock this instance. | |
void | unlock () const |
unlock this instance. | |
Friends | |
class | inventor::impl::SoLicensesInfoImpl |
Class managing a licensed product.
SoLicensedProduct manages a licensed product. This class provides information about the current available licenses for a given product. The getProduct() method returns the SbProduct enum value corresponding to the product. The getLicenseCount() method gives you the number of licenses available. The getLicenseByIndex() method gives you a SoLicenseProperty containing license info for this product.
Definition at line 51 of file SoLicensedProduct.h.
List of all available Open Inventor products.
Definition at line 60 of file SoLicensedProduct.h.
SoLicensedProduct::SoLicensedProduct | ( | ) |
|
virtual |
const SoLicenseProperty * SoLicensedProduct::getLicenseByIndex | ( | unsigned int | index | ) | const |
Returns the license of the licensed product for the given index.
If the given index is greater than the value returned by getLicenseCount(), the method returns NULL.
unsigned int SoLicensedProduct::getLicenseCount | ( | ) | const |
Returns the number of licenses available for this product.
SbProduct SoLicensedProduct::getProduct | ( | ) | const |
Returns the SbProduct enum value of the licensed product.
SbString SoLicensedProduct::getProductName | ( | ) | const |
Returns the name of the licensed product.
|
friend |
Definition at line 123 of file SoLicensedProduct.h.