Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
SoLicensedProduct Class Reference

VSG extension Class managing a licensed product. More...

#include <Inventor/lock/SoLicensedProduct.h>

+ Inheritance diagram for SoLicensedProduct:

Public Types

enum  SbProduct {
  OpenInventor = 0 ,
  HardCopy ,
  ImageViz ,
  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 SoLicensePropertygetLicenseByIndex (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
 

Detailed Description

VSG extension 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.

Member Enumeration Documentation

◆ SbProduct

List of all available Open Inventor products.

Enumerator
OpenInventor 
HardCopy 
ImageViz 
MeshVizXLM 
MeshViz 
MeshVizInterface 
MeshVizExtractor 
VolumeVizLDM 
VolumeViz 
LDMWriter 
AllInventor 
OivCatia5Reader 

Unlocks all Open Inventor products.

OivCatia6Reader 
OivDxfReader 
OivDwgReader 

VSG Reader.

OivIgesReader 
OivJtReader 
OivProeReader 
OivSolidedgeReader 
OivSolidworksReader 
OivStepReader 
OivUgReader 
OivVdaReader 
OivXmtReader 
IvTuneViewer 
RemoteViz 
ScaleVizCluster 
ScaleVizWorkstation 
NumberOfProducts 

Definition at line 60 of file SoLicensedProduct.h.

Constructor & Destructor Documentation

◆ SoLicensedProduct()

SoLicensedProduct::SoLicensedProduct ( )

◆ ~SoLicensedProduct()

virtual SoLicensedProduct::~SoLicensedProduct ( )
virtual

Member Function Documentation

◆ getLicenseByIndex()

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.

◆ getLicenseCount()

unsigned int SoLicensedProduct::getLicenseCount ( ) const

Returns the number of licenses available for this product.

◆ getProduct()

SbProduct SoLicensedProduct::getProduct ( ) const

Returns the SbProduct enum value of the licensed product.

◆ getProductName()

SbString SoLicensedProduct::getProductName ( ) const

Returns the name of the licensed product.

Friends And Related Symbol Documentation

◆ inventor::impl::SoLicensesInfoImpl

friend class inventor::impl::SoLicensesInfoImpl
friend

Definition at line 124 of file SoLicensedProduct.h.


The documentation for this class was generated from the following file: