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]
.
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 |
Base class for interfaces.
BaseInterface::~BaseInterface | ( | ) | [virtual] |
Virtual destructor.
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.
friend class StackInstance [friend] |