38 typedef std::map<int, MCBinaryData*> PacketCacheMap;
53 int GetCurrentStorageSize()
const;
54 bool UploadPacket(
int index);
59 virtual bool Upload(
int index,
const MCBinaryData& packet) = 0;
int StorageSizeLimit
Storage size limit in bytes.
int CurrentStorageSize
Current storage size.
Indexer< T > index(T &t)
Iterator magic for for loops to get the index while iterating through.
#define MC_DISABLE_COPY(class_name)
Helper macro to disable the copy constructor and assignment operator of a class (object copying) ...
MA::PacketCacheMap Packets
Image cache.