dmlite
0.4
Main Page
Namespaces
Classes
Files
File List
File Members
include
dmlite
cpp
dummy
DummyPool.h
Go to the documentation of this file.
1
/// @file include/dmlite/cpp/dummy/DummyPool.h
2
/// @brief A dummy plugin that just delegates calls to a decorated one.
3
/// @details It makes sense as a base for other decorator plug-ins.
4
/// @author Alejandro Álvarez Ayllón <aalvarez@cern.ch>
5
#ifndef DMLITE_CPP_DUMMY_POOL_H
6
#define DMLITE_CPP_DUMMY_POOL_H
7
8
#include "../poolmanager.h"
9
10
namespace
dmlite {
11
12
class
DummyPoolManager
:
public
PoolManager
{
13
public
:
14
DummyPoolManager
(
PoolManager
* decorated)
throw
(
DmException
);
15
virtual
~DummyPoolManager
();
16
17
virtual
void
setStackInstance
(
StackInstance
*)
throw
(
DmException
);
18
virtual
void
setSecurityContext
(
const
SecurityContext
*)
throw
(
DmException
);
19
20
virtual
std::vector<Pool>
getPools
(
PoolAvailability
availability)
throw
(
DmException
);
21
22
virtual
Pool
getPool
(
const
std::string& poolname)
throw
(
DmException
);
23
24
virtual
Location
whereToRead
(
const
std::string& path)
throw
(
DmException
);
25
26
virtual
Location
whereToWrite
(
const
std::string& path)
throw
(
DmException
);
27
28
protected
:
29
PoolManager
*
decorated_
;
30
};
31
32
};
33
34
#endif // DMLITE_DUMMYPOOL_H
Generated on Sun Oct 28 2012 12:14:39 for dmlite by
1.8.1.2