#include <PipesManager.h>
◆ Pipe()
◆ ~Pipe()
◆ AddListener()
◆ AddRef()
◆ CheckStatus()
void Pipe::CheckStatus |
( |
| ) |
|
◆ Close()
◆ DecRef()
◆ Flush()
◆ GetAvailableRead()
int Pipe::GetAvailableRead |
( |
| ) |
|
◆ GetName()
const std::string & Pipe::GetName |
( |
| ) |
|
◆ IsEmpty()
◆ IsEof()
◆ Read()
int Pipe::Read |
( |
char * | buf, |
|
|
int | nMaxSize, |
|
|
int | nWaitMillis = -1 ) |
Read into the buffer from the Pipe the num of bytes asked for blocking forever (which happens to be 5 minutes in this case).
In the case where nWaitMillis is provided block for that number of milliseconds instead.
◆ RefCount()
◆ RemoveListener()
◆ SetEof()
◆ SetOpenThreshold()
void Pipe::SetOpenThreshold |
( |
int | threshold | ) |
|
◆ Write()
bool Pipe::Write |
( |
const char * | buf, |
|
|
int | nSize, |
|
|
int | nWaitMillis = -1 ) |
Write into the Pipe from the buffer the num of bytes asked for blocking forever.
In the case where nWaitMillis is provided block for that number of milliseconds instead.
◆ m_bEof
◆ m_bOpen
bool XFILE::Pipe::m_bOpen |
|
protected |
◆ m_bReadyForRead
bool XFILE::Pipe::m_bReadyForRead |
|
protected |
◆ m_buffer
◆ m_listeners
◆ m_lock
CCriticalSection XFILE::Pipe::m_lock |
|
protected |
◆ m_nOpenThreshold
int XFILE::Pipe::m_nOpenThreshold |
|
protected |
◆ m_nRefCount
int XFILE::Pipe::m_nRefCount |
|
protected |
◆ m_readEvent
CEvent XFILE::Pipe::m_readEvent |
|
protected |
◆ m_strPipeName
std::string XFILE::Pipe::m_strPipeName |
|
protected |
◆ m_writeEvent
CEvent XFILE::Pipe::m_writeEvent |
|
protected |
The documentation for this class was generated from the following files: