#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:
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) throw (DmException) |
virtual void | setSecurityContext (const SecurityContext *ctx) 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 |
virtual dmlite::BaseInterface::~BaseInterface | ( | ) | [virtual] |
Virtual destructor.
virtual std::string dmlite::BaseInterface::getImplId | ( | void | ) | const throw () [pure virtual] |
static void dmlite::BaseInterface::setSecurityContext | ( | BaseInterface * | i, | |
const SecurityContext * | ctx | |||
) | throw (DmException) [static, protected] |
virtual void dmlite::BaseInterface::setSecurityContext | ( | const SecurityContext * | ctx | ) | throw (DmException) [protected, virtual] |
Set the security context.
Reimplemented in dmlite::DummyCatalog, dmlite::DummyPoolManager, dmlite::IODriver, and dmlite::BuiltInCatalog.
static void dmlite::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, 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.
Reimplemented in dmlite::DummyCatalog, dmlite::DummyPoolManager, and dmlite::BuiltInCatalog.
friend class StackInstance [friend] |
Reimplemented in dmlite::IODriver.