engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
IPC::FSynchronizedInterprocessMemory类 参考

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

成员函数说明

◆ Read()

bool IPC::FSynchronizedInterprocessMemory::Read ( FString &  OutString,
uint32  MaxMillisecondsToWait = 0 
)
inline

Reads a string from shared memory

参数
Stringstring to read into
MaxMillisecondsToWaitmax milliseconds to wait (if 0, wait forever)
返回
true if read withing given time

◆ Write()

bool IPC::FSynchronizedInterprocessMemory::Write ( const FString &  String,
uint32  MaxMillisecondsToWait = 0 
)
inline

Writes string to shared memory

参数
Stringstring to write
MaxMillisecondsToWaitmax milliseconds to wait (if 0, wait forever)
返回
true if was able to write

该类的文档由以下文件生成: