Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
inmemorymapserver.h
Go to the documentation of this file.
1
7
#ifndef PLIB_INMEMORYMAPSERVER_H
8
#define PLIB_INMEMORYMAPSERVER_H
9
10
#include <vector>
11
12
#include "../clib/binaryfile.h"
13
#include "../clib/compilerspecifics.h"
14
#include "
mapblock.h
"
15
#include "
mapcell.h
"
16
#include "
mapserver.h
"
17
18
namespace
Pol
19
{
20
namespace
Plib
21
{
22
class
RealmDescriptor;
23
}
// namespace Plib
24
}
// namespace Pol
25
26
namespace
Pol
27
{
28
namespace
Plib
29
{
30
class
InMemoryMapServer
:
public
MapServer
31
{
32
public
:
33
explicit
InMemoryMapServer
(
const
RealmDescriptor
& descriptor );
34
virtual
~
InMemoryMapServer
();
35
36
virtual
MAPCELL
GetMapCell(
unsigned
short
x,
unsigned
short
y )
const
POL_OVERRIDE
;
37
virtual
size_t
sizeEstimate()
const
POL_OVERRIDE
;
38
39
private
:
40
std::vector<MAPBLOCK>
_mapblocks
;
41
42
// not implemented:
43
InMemoryMapServer
& operator=(
const
InMemoryMapServer
& );
44
InMemoryMapServer
(
const
InMemoryMapServer
& );
45
};
46
}
47
}
48
#endif
Pol::Plib::MAPCELL
Definition:
mapcell.h:48
POL_OVERRIDE
#define POL_OVERRIDE
Definition:
compilerspecifics.h:74
Pol::Plib::RealmDescriptor
Definition:
realmdescriptor.h:24
mapblock.h
mapcell.h
Pol::Plib::InMemoryMapServer
Definition:
inmemorymapserver.h:30
Pol::Plib::InMemoryMapServer::_mapblocks
std::vector< MAPBLOCK > _mapblocks
Definition:
inmemorymapserver.h:40
mapserver.h
Pol::Plib::MapServer
Definition:
mapserver.h:22
Pol
Definition:
berror.cpp:12
plib
inmemorymapserver.h
Generated on Wed Oct 10 2018 02:41:52 for Pol by
1.8.11