Public Member Functions | List of all members
Celartem::License::CartridgeConsumer Class Reference

#include <cel_license.h>

Public Member Functions

 CartridgeConsumer ()
 
 ~CartridgeConsumer ()
 
void reserve (Feature inFeature, size_t inCount)
 
void commit ()
 
void revert ()
 

Detailed Description

This class is used by applications which consumes cartridges installed on the machine.

Constructor & Destructor Documentation

Celartem::License::CartridgeConsumer::CartridgeConsumer ( )

Initialize a CartridgeConsumer instance.

Celartem::License::CartridgeConsumer::~CartridgeConsumer ( )

Deinitialize the instance.
If commit method is not called, this method reverts the reserved cartridge to the cartridge store.

Member Function Documentation

void Celartem::License::CartridgeConsumer::commit ( )

Consumes the reserved cartridge.

void Celartem::License::CartridgeConsumer::reserve ( Feature  inFeature,
size_t  inCount 
)

Reserve cartridge counts of the specified feature.

Parameters
inFeatureThe feature of which cartridge counts will be reserved.
inCountThe cartridge counts.
void Celartem::License::CartridgeConsumer::revert ( )

Reverts the reserved cartridge;


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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo