#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. |
It makes sense as a base for other decorator plug-ins.
#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__);
#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__);