Example class for synchronized interprocess memory 更多...
#include <IPC.h>
Public 成员函数 | |
| bool | Read (FString &OutString, uint32 MaxMillisecondsToWait=0) |
| Reads a string from shared memory 更多... | |
| bool | Write (const FString &String, uint32 MaxMillisecondsToWait=0) |
| Writes string to shared memory 更多... | |
| ~FSynchronizedInterprocessMemory () | |
| Destructor | |
静态 Public 成员函数 | |
| static FSynchronizedInterprocessMemory * | Create (const TCHAR *Name, SIZE_T Size) |
| Creates a new synchronized interprocess memory object | |
| static FSynchronizedInterprocessMemory * | OpenExisting (const TCHAR *Name, SIZE_T Size) |
| Opens existing synchronized interprocess memory object | |
Example class for synchronized interprocess memory
|
inline |
Reads a string from shared memory
| String | string to read into |
| MaxMillisecondsToWait | max milliseconds to wait (if 0, wait forever) |
|
inline |
Writes string to shared memory
| String | string to write |
| MaxMillisecondsToWait | max milliseconds to wait (if 0, wait forever) |