dmlite  0.4
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
dmlite::BaseInterface Class Reference

Base class for interfaces. More...

#include <base.h>

Inheritance diagram for dmlite::BaseInterface:
Inheritance graph
[legend]

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.

virtual void dmlite::BaseInterface::setSecurityContext ( const SecurityContext ctx) throw (DmException)
protectedpure virtual

Set the security context.

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

void BaseInterface::setSecurityContext ( BaseInterface i,
const SecurityContext ctx 
) throw (DmException)
staticprotected
virtual void dmlite::BaseInterface::setStackInstance ( StackInstance si) throw (DmException)
protectedpure 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::BuiltInCatalog, dmlite::DummyCatalog, and dmlite::DummyPoolManager.

void BaseInterface::setStackInstance ( BaseInterface i,
StackInstance si 
) throw (DmException)
staticprotected

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

Friends And Related Function Documentation

friend class StackInstance
friend

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