![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cCmdTail.h>
Public Member Functions | |
cCmdTail (const FILECHAR_t *pszDir) | |
virtual | ~cCmdTail () |
virtual HRESULT | WriteString (const char *pszStr) override |
virtual HRESULT | DoCmd (const FILECHAR_t *pszArgs) override |
![]() | |
cStreamOutput () noexcept | |
virtual | ~cStreamOutput () |
virtual HRESULT | WriteX (const void *pData, size_t nDataSize) |
HRESULT | WriteT (const void *pVal, size_t nDataSize) |
template<typename TYPE > | |
HRESULT | WriteT (TYPE val) |
HRESULT | WriteSize (size_t nSize) |
HRESULT | WriteHashCode (HASHCODE_t nHashCode) |
HRESULT | WriteN (const void *pBuffer, size_t nSize) |
template<typename _CH > | |
HRESULT | WriteStringN (const _CH *pszStr) |
template<typename _CH > | |
HRESULT | WriteCharRepeat (_CH nChar, int nCount=1) |
virtual HRESULT | WriteString (const wchar_t *pszStr) |
StrLen_t | VPrintf (const char *pszFormat, va_list args) |
StrLen_t | VPrintf (const wchar_t *pszFormat, va_list args) |
StrLen_t _cdecl | Printf (const char *pszFormat,...) |
StrLen_t _cdecl | Printf (const wchar_t *pszFormat,...) |
HRESULT | WriteStream (cStreamInput &sInp, STREAM_POS_t nSizeMax=k_FILE_BLOCK_SIZE, IStreamProgressCallback *pProgress=nullptr, TIMESYSD_t nTimeout=0) |
Copy cStreamInput to this stream. More... | |
virtual HRESULT | FlushX () |
![]() | |
virtual | ~cStreamBase () |
virtual STREAM_SEEKRET_t | Seek (STREAM_OFFSET_t iOffset, SEEK_ORIGIN_TYPE eSeekOrigin=SEEK_Set) |
void | SeekToBegin () |
STREAM_POS_t | SeekToEnd () |
virtual STREAM_POS_t | GetPosition () const |
virtual STREAM_POS_t | GetLength () const |
Protected Member Functions | |
HRESULT | AddWatchDir (const FILECHAR_t *pszDir, const FILECHAR_t *pszWild) |
HRESULT | AddWatch (const FILECHAR_t *pszArg) |
Additional Inherited Members | |
![]() | |
static const BYTE | k_SIZE_MASK = 0x80 |
Used for WriteSize() More... | |
static const size_t | k_FILE_BLOCK_SIZE = (32 * 1024) |
default arbitrary transfer block size. more than this is NOT more efficient. More... | |
GX_CMD_Tail = tail a log file. track its updates in live time. /Tail="../TestData/Test.log"
GrayX::cCmdTail::cCmdTail | ( | const FILECHAR_t * | pszDir | ) |
|
virtual |
|
protected |
|
protected |
|
overridevirtual |
Implements GrayX::GrayXCmd.
|
overridevirtual |
Reimplemented from Gray::cStreamOutput.