Public Member Functions

QuotaGuard< T > Class Template Reference

Optimize the request of different resources and the rollback if one failes. More...

#include <generic_service.h>

List of all members.

Public Member Functions

 QuotaGuard (Utcb &utcb, unsigned pseudonym, const char *name, long value_in, QuotaGuard *prev=0)
 ~QuotaGuard ()
void commit ()
unsigned status ()

Detailed Description

template<class T>
class QuotaGuard< T >

Optimize the request of different resources and the rollback if one failes.


Constructor & Destructor Documentation

template<class T >
QuotaGuard< T >::QuotaGuard ( Utcb utcb,
unsigned  pseudonym,
const char *  name,
long  value_in,
QuotaGuard< T > *  prev = 0 
) [inline]
template<class T >
QuotaGuard< T >::~QuotaGuard (  )  [inline]

Member Function Documentation

template<class T >
void QuotaGuard< T >::commit (  )  [inline]
template<class T >
unsigned QuotaGuard< T >::status (  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines