![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cOSPipe.h>
Public Member Functions | |
UNITTEST2_PREDEF (cOSPipe) | |
![]() | |
cOSHandle (HANDLE h=INVALID_HANDLE_VALUE) noexcept | |
cOSHandle (const cOSHandle &Handle) noexcept | |
cOSHandle & | operator= (const cOSHandle &Handle) |
~cOSHandle () | |
operator HANDLE () const noexcept | |
HANDLE | get_Handle () const noexcept |
HANDLE & | ref_Handle () noexcept |
bool | isValidHandle () const noexcept |
void | CloseHandle () noexcept |
void | AttachHandle (HANDLE h) noexcept |
HANDLE | DetachHandle () noexcept |
HRESULT | WriteX (const void *pData, size_t nDataSize) const |
HRESULT | ReadX (void *pData, size_t nDataSize) const |
HRESULT | FlushX () const |
STREAM_SEEKRET_t | Seek (STREAM_OFFSET_t lOffset, SEEK_ORIGIN_TYPE eSeekOrigin) const |
HRESULT | WaitForSingleObject (TIMESYSD_t dwMilliseconds) const |
Static Public Member Functions | |
static StrLen_t GRAYCALL | MakePipePath (OUT FILECHAR_t *pszPipePath, StrLen_t nLenMax, const FILECHAR_t *pszPipeName) |
![]() | |
static bool | IsValidHandle (HANDLE h) noexcept |
static bool | CloseHandle (HANDLE h) noexcept |
Protected Member Functions | |
cOSPipe (void) | |
virtual | ~cOSPipe (void) |
![]() | |
void | CloseHandleLast () noexcept |
![]() | |
cNonCopyable () noexcept | |
Force the use of Factory creation via protected constructor. More... | |
~cNonCopyable () noexcept | |
Additional Inherited Members | |
![]() | |
HANDLE | m_h |
A named or anonymous system pipe. http://en.wikipedia.org/wiki/Named_pipe Base class for cOSPipeServer or cOSPipeClient acts like a file for streaming from one process to another. Used for interprocess communications. Similar to _WIN32 cMailslot but faster for local processes. Lacks cMailslot message buffering.
|
protected |
|
protectedvirtual |
|
static |
Get the full system name/path for the pipe.
GrayLib::cOSPipe::UNITTEST2_PREDEF | ( | cOSPipe | ) |