Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LCWPipe Class Reference

#include <lcwpipe.h>

Inherits Pipe.

Public Types

enum  CompControl { COMPRESS , DECOMPRESS }
 
typedef enum LCWPipe::CompControl CompControl
 

Public Member Functions

 LCWPipe (CompControl, int blocksize=1024 *8)
 
virtual ~LCWPipe (void)
 
virtual int Flush (void)
 
virtual int Put (void const *source, int slen)
 
- Public Member Functions inherited from Pipe
 Pipe (void)
 
 ~Pipe ()
 
bool Create (const char *name)
 
bool Connected (void)
 
void Write (char msg)
 
const char * Read (void)
 
 Pipe (void)
 
virtual ~Pipe (void)
 
virtual int End (void)
 
virtual void Put_To (Pipe *pipe)
 
void Put_To (Pipe &pipe)
 

Additional Inherited Members

- Public Attributes inherited from Pipe
PipeChainTo
 
PipeChainFrom
 

Detailed Description

Definition at line 48 of file lcwpipe.h.

Member Typedef Documentation

◆ CompControl

Member Enumeration Documentation

◆ CompControl

Enumerator
COMPRESS 
DECOMPRESS 

Definition at line 51 of file lcwpipe.h.

Constructor & Destructor Documentation

◆ LCWPipe()

LCWPipe::LCWPipe ( CompControl control,
int blocksize = 1024*8 )

Definition at line 66 of file lcwpipe.cpp.

◆ ~LCWPipe()

LCWPipe::~LCWPipe ( void )
virtual

Definition at line 94 of file lcwpipe.cpp.

Member Function Documentation

◆ Flush()

int LCWPipe::Flush ( void )
virtual

Reimplemented from Pipe.

Definition at line 259 of file lcwpipe.cpp.

◆ Put()

int LCWPipe::Put ( void const * source,
int slen )
virtual

Reimplemented from Pipe.

Definition at line 123 of file lcwpipe.cpp.

Member Data Documentation

◆ CompCount

unsigned short LCWPipe::CompCount

Definition at line 94 of file lcwpipe.h.

◆ UncompCount

unsigned short LCWPipe::UncompCount

Definition at line 95 of file lcwpipe.h.


The documentation for this class was generated from the following files: