BWAPI
|
#include <SharedMemory.h>
Classes | |
struct | Export |
struct | Pointer |
Public Member Functions | |
SharedMemory () | |
~SharedMemory () | |
void | create (int size) |
bool | create (int size, const char *systemName) |
void | import (Export source) |
void | release () |
Export | exportToProcess (RemoteProcess &target, bool readOnly) const |
template<typename T > | |
T * | unpack (Pointer< T > p) const |
template<typename T > | |
Pointer< T > | pack (T *pt) const |
MemoryFrame | getMemory () const |
Static Public Member Functions | |
static int | getPageSize () |
void Util::SharedMemory::create | ( | int | size | ) |
bool Util::SharedMemory::create | ( | int | size, |
const char * | systemName | ||
) |
SharedMemory::Export Util::SharedMemory::exportToProcess | ( | RemoteProcess & | target, |
bool | readOnly | ||
) | const |
MemoryFrame Util::SharedMemory::getMemory | ( | ) | const |
int Util::SharedMemory::getPageSize | ( | ) | [static] |
void Util::SharedMemory::import | ( | Export | source | ) |
Pointer<T> Util::SharedMemory::pack | ( | T * | pt | ) | const [inline] |
void Util::SharedMemory::release | ( | ) |
T* Util::SharedMemory::unpack | ( | Pointer< T > | p | ) | const [inline] |