voxelTerrain
Main Page
Classes
Files
Examples
File List
All
Classes
Functions
Variables
Typedefs
Enumerations
Pages
modules
sync
source
blub
sync
voxel
container
multipleTiles
network_sync_voxel_container_multipleTiles_receiver.hpp
1
#ifndef NETWORK_SYNC_VOXEL_CONTAINER_MULTIPLETILES_RECEIVER_HPP
2
#define NETWORK_SYNC_VOXEL_CONTAINER_MULTIPLETILES_RECEIVER_HPP
3
4
#include "blub/async/predecl.hpp"
5
#include "blub/core/globals.hpp"
6
#include "blub/core/signal.hpp"
7
#include "blub/procedural/voxel/simple/container/utils/tile.hpp"
8
9
10
11
namespace
blub
12
{
13
namespace
sync
14
{
15
namespace
voxel
16
{
17
namespace
container
18
{
19
namespace
simple
20
{
21
22
23
//class receiver
24
//{
25
//public:
26
// typedef sharedPointer<byteArray> t_tileDataPtr;
27
// typedef sharedPointer<procedural::voxel::tile::container> t_tilePtr;
28
// typedef procedural::voxel::simple::container::utils::tile t_tileHolder;
29
// typedef vector3int32 t_tileId;
30
// typedef hashList<t_tileId> t_tileList;
31
32
// receiver(blub::async::dispatcher * todoListenerMaster, procedural::voxel::simple::container::base *tiles = nullptr);
33
34
// // "receive sync"
35
// void receivedTileData(const byteArray& data);
36
// void receivedTilePtrData(t_tileDataPtr data);
37
38
// // to "receive sync" signals
39
// typedef blub::signal<void ()> t_sigStartEditing;
40
// t_sigStartEditing* signalStartEditing(void);
41
// typedef blub::signal<void ()> t_sigEndEditing;
42
// t_sigEndEditing* signalEndEditing(void);
43
// typedef blub::signal<void (t_tileId, t_tileHolder)> t_sigSetTile;
44
// t_sigSetTile* signalSetTile(void);
45
46
//protected:
47
// void receivedTileDataMaster(const byteArray& data);
48
// void receivedTileDataPtrMaster(t_tileDataPtr data);
49
50
// procedural::voxel::simple::container::base *m_tiles;
51
// async::dispatcher *m_todoListenerMaster;
52
53
// t_sigStartEditing m_sigStartEditing;
54
// t_sigEndEditing m_sigEndEditing;
55
// t_sigSetTile m_sigSetTile;
56
57
//};
58
59
60
61
62
}
63
}
64
}
65
}
66
}
67
68
69
70
#endif // NETWORK_SYNC_VOXEL_CONTAINER_MULTIPLETILES_RECEIVER_HPP
blub
Definition:
deadlineTimer.hpp:10
Generated on Sat Jan 31 2015 13:35:23 for voxelTerrain by
1.8.8