DummyPool.cpp File Reference

DummyPoolManager implementation. More...

#include <dmlite/cpp/dummy/DummyPool.h>
Include dependency graph for DummyPool.cpp:

Defines

#define DELEGATE(method,...)
 Little of help here to avoid redundancy.
#define DELEGATE_RETURN(method,...)
 Little of help here to avoid redundancy.

Detailed Description

DummyPoolManager implementation.

It makes sense as a base for other decorator plug-ins.

Author:
Alejandro Álvarez Ayllón <aalvarez@cern.ch>

Define Documentation

#define DELEGATE ( method,
...   ) 
Value:
if (this->decorated_ == NULL)\
  throw DmException(DM_NOT_IMPLEMENTED, "There is no plugin in the stack that implements "#method);\
this->decorated_->method(__VA_ARGS__);

Little of help here to avoid redundancy.

#define DELEGATE_RETURN ( method,
...   ) 
Value:
if (this->decorated_ == NULL)\
  throw DmException(DM_NOT_IMPLEMENTED, "There is no plugin in the stack that implements "#method);\
return this->decorated_->method(__VA_ARGS__);

Little of help here to avoid redundancy.


Generated on 8 Mar 2013 for dmlite by  doxygen 1.6.1