dmlite  0.6
Public Member Functions | List of all members
dmlite::PoolDriver Class Reference

Interface for a pool driver. More...

#include <pooldriver.h>

Inheritance diagram for dmlite::PoolDriver:
Inheritance graph
[legend]
Collaboration diagram for dmlite::PoolDriver:
Collaboration graph
[legend]

Public Member Functions

virtual ~PoolDriver ()
 Destructor. More...
 
virtual PoolHandlercreatePoolHandler (const std::string &poolName)
 Create a handler. More...
 
virtual void toBeCreated (const Pool &pool)
 
virtual void justCreated (const Pool &pool)
 Called just after a pool is added to the database. More...
 
virtual void update (const Pool &pool)
 Called when updating a pool. More...
 
virtual void toBeDeleted (const Pool &pool)
 
- Public Member Functions inherited from dmlite::BaseInterface
virtual ~BaseInterface ()
 Virtual destructor. More...
 
virtual std::string getImplId (void) const =0 throw ()
 String ID of the implementation. More...
 

Additional Inherited Members

- Protected Member Functions inherited from dmlite::BaseInterface
virtual void setStackInstance (StackInstance *si)
 
virtual void setSecurityContext (const SecurityContext *ctx)
 Set the security context. More...
 
- Static Protected Member Functions inherited from dmlite::BaseInterface
static void setStackInstance (BaseInterface *i, StackInstance *si)
 These method allows plugins to call other plugins setStackInstance and setSecurityContext. More...
 
static void setSecurityContext (BaseInterface *i, const SecurityContext *ctx)
 

Detailed Description

Interface for a pool driver.

Constructor & Destructor Documentation

virtual dmlite::PoolDriver::~PoolDriver ( )
virtual

Destructor.

Member Function Documentation

virtual PoolHandler* dmlite::PoolDriver::createPoolHandler ( const std::string &  poolName)
virtual

Create a handler.

virtual void dmlite::PoolDriver::justCreated ( const Pool pool)
virtual

Called just after a pool is added to the database.

virtual void dmlite::PoolDriver::toBeCreated ( const Pool pool)
virtual

Called just before adding the pool to the database. To be used by a plugin, in case it needs to do some previous preparations. (i.e. legacy filesystem will actually create the pool here)

virtual void dmlite::PoolDriver::toBeDeleted ( const Pool pool)
virtual

Called just before a pool of this type is removed.

Note
The driver may remove the pool itself (i.e. filesystem)
virtual void dmlite::PoolDriver::update ( const Pool pool)
virtual

Called when updating a pool.


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