blob: 5380ec1a99ab921403893da0ef7433c20f0436ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "base/SRC_FIRST.hpp"
#include "base/resource_pool.hpp"
BasePoolElemFactory::BasePoolElemFactory(char const * resName,
size_t elemSize,
size_t batchSize)
: m_resName(resName),
m_elemSize(elemSize),
m_batchSize(batchSize)
{}
char const * BasePoolElemFactory::ResName() const
{
return m_resName.c_str();
}
size_t BasePoolElemFactory::ElemSize() const
{
return m_elemSize;
}
size_t BasePoolElemFactory::BatchSize() const
{
return m_batchSize;
}
|