dmlite::BaseInterface Class Reference

Base class for interfaces. More...

#include <base.h>

Inherited by dmlite::Catalog [virtual], dmlite::INode [virtual], dmlite::IODriver [virtual], dmlite::PoolDriver [virtual], and dmlite::PoolManager [virtual].

Inheritance diagram for dmlite::BaseInterface:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~BaseInterface ()
 Virtual destructor.
virtual std::string getImplId (void) const =0 throw ()
 String ID of the implementation.

Protected Member Functions

virtual void setStackInstance (StackInstance *si)=0 throw (DmException)
virtual void setSecurityContext (const SecurityContext *ctx)=0 throw (DmException)
 Set the security context.

Static Protected Member Functions

static void setStackInstance (BaseInterface *i, StackInstance *si) throw (DmException)
 These method allows plugins to call other plugins setStackInstance and setSecurityContext.
static void setSecurityContext (BaseInterface *i, const SecurityContext *ctx) throw (DmException)

Friends

class StackInstance

Detailed Description

Base class for interfaces.


Constructor & Destructor Documentation

BaseInterface::~BaseInterface (  )  [virtual]

Virtual destructor.


Member Function Documentation

virtual std::string dmlite::BaseInterface::getImplId ( void   )  const throw () [pure virtual]

String ID of the implementation.

Implemented in dmlite::BuiltInCatalog.

void BaseInterface::setSecurityContext ( BaseInterface i,
const SecurityContext ctx 
) throw (DmException) [static, protected]

virtual void dmlite::BaseInterface::setSecurityContext ( const SecurityContext ctx  )  throw (DmException) [protected, pure virtual]

Set the security context.

Implemented in dmlite::DummyCatalog, dmlite::DummyPoolManager, and dmlite::BuiltInCatalog.

void BaseInterface::setStackInstance ( BaseInterface i,
StackInstance si 
) throw (DmException) [static, protected]

These method allows plugins to call other plugins setStackInstance and setSecurityContext.

virtual void dmlite::BaseInterface::setStackInstance ( StackInstance si  )  throw (DmException) [protected, pure virtual]

Set the StackInstance. Some plugins may need to access other stacks (i.e. the pool may need the catalog) However, at construction time not all the stacks have been populated, so this will be called once all are instantiated.

Implemented in dmlite::DummyCatalog, dmlite::DummyPoolManager, and dmlite::BuiltInCatalog.


Friends And Related Function Documentation

friend class StackInstance [friend]


The documentation for this class was generated from the following files:
Generated on 3 Mar 2013 for dmlite by  doxygen 1.4.7