Evita  0.16
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
evChannel Class Reference

#include <evChannel.h>

Inheritance diagram for evChannel:
Inheritance graph
[legend]
Collaboration diagram for evChannel:
Collaboration graph
[legend]

Public Member Functions

 evChannel (void)
 
virtual ~evChannel (void)
 
virtual const evString GetClassName (void) const
 
int Close (void)
 
int Create (const int port)
 
int GetClientConnection (const int direction, const int fork_process, const int wait)
 
int ConnectToServer (const evString &hostname, const int port, const int direction)
 
int IsReady (void)
 
int CopyFileToChannel (const evString &filename)
 
int ReadCommand (evString &command)
 
int ReadCommandValue (int &command_value)
 
int ReadCommandValue (double &command_value)
 
int ReadCommandValue (evString &command_value)
 
int ReadCommandValue (evVector &command_value)
 
int WriteCommand (const evString &command)
 
int WriteCommand (const evString &command, const int command_value)
 
int WriteCommand (const evString &command, const double command_value)
 
int WriteCommand (const evString &command, const evString &command_value)
 
int WriteCommand (const evString &command, const evVector &command_value)
 
- Public Member Functions inherited from evBitBuffer
 evBitBuffer (void)
 
virtual ~evBitBuffer (void)
 
QccBitBuffer * GetBitBuffer (void)
 
const QccBitBuffer * GetBitBuffer (void) const
 
int Start (void)
 
int End (void)
 
int Flush (void)
 
int Read (evBit &val)
 
int Read (unsigned char &val)
 
int Read (int &val)
 
int Read (float &val)
 
int Read (double &val)
 
int Read (evVector &val)
 
int Read (evAddress &val)
 
int Read (evBoundingBox &bounding_box)
 
int Write (const evBit val)
 
int Write (const unsigned char val)
 
int Write (const int val)
 
int Write (const float val)
 
int Write (const double val)
 
int Write (const evVector &val)
 
int Write (const evAddress &val)
 
int Write (const evBoundingBox &bounding_box)
 
int GetBitCount (void)
 
- Public Member Functions inherited from evFile
 evFile (void)
 
virtual ~evFile (void)
 
evString GetFilename (void)
 
evVersion GetFileVersion (void)
 
int GetMode (void)
 
FILE * GetFilePointer (void)
 
int IsOpen (void)
 
int Open (const evString &filename, const char *mode)
 
virtual int SetBufferMode (const int mode)
 
int GetPosition (evFilePosition &file_position)
 
int Seek (const evFilePosition file_position)
 
int SkipWhiteSpace (void)
 
int ReadChar (char &value)
 
int WriteChar (const char value)
 
int ReadToken (const evString &token)
 
int ReadToken (const evString &token, int &token_value)
 
int ReadToken (const evString &token, evAddress &token_value)
 
int ReadToken (const evString &token, double &token_value)
 
int ReadToken (const evString &token, evVector &token_value)
 
int ReadToken (const evString &token, evString &token_value)
 
int ReadToken (const evString &token, evVersion &token_value)
 
int WriteToken (const evString &token)
 
int WriteToken (const evString &token, const int token_value)
 
int WriteToken (const evString &token, const evAddress &token_value)
 
int WriteToken (const evString &token, const double token_value)
 
int WriteToken (const evString &token, const evVector &token_value)
 
int WriteToken (const evString &token, const evString &token_value)
 
int WriteToken (const evString &token, const evVersion &token_value)
 
int ReadHeader (evString &class_name)
 
int WriteHeader (const evString &class_name)
 
- Public Member Functions inherited from evDataObject
 evDataObject (void)
 
virtual ~evDataObject (void)
 
- Public Member Functions inherited from evObject
 evObject (void)
 
virtual ~evObject (void)
 
void Print (const int tabbing) const
 
void Print (void) const
 
virtual void PrintSelf (const int tabbing) const
 

Static Private Member Functions

static void CleanupChildren (int signal_number)
 

Private Attributes

int Socket
 
struct sockaddr_in LocalAddress
 
struct sockaddr_in RemoteAddress
 
evString RemoteHost
 

Additional Inherited Members

- Protected Member Functions inherited from evFile
int ReadTokenLabel (const evString &token)
 
int WriteTokenLabel (const evString &token)
 
int ReadTokenEndOfLine (void)
 
int WriteTokenEndOfLine (void)
 
- Protected Member Functions inherited from evObject
 evObject (const evObject &object)
 
- Protected Attributes inherited from evFile
FILE * FilePointer
 
int Mode
 

Constructor & Destructor Documentation

evChannel::evChannel ( void  )
virtual evChannel::~evChannel ( void  )
virtual

Member Function Documentation

static void evChannel::CleanupChildren ( int  signal_number)
staticprivate
int evChannel::Close ( void  )
virtual

Reimplemented from evFile.

int evChannel::ConnectToServer ( const evString hostname,
const int  port,
const int  direction 
)
int evChannel::CopyFileToChannel ( const evString filename)
int evChannel::Create ( const int  port)
virtual const evString evChannel::GetClassName ( void  ) const
inlinevirtual

Reimplemented from evBitBuffer.

int evChannel::GetClientConnection ( const int  direction,
const int  fork_process,
const int  wait 
)
int evChannel::IsReady ( void  )
int evChannel::ReadCommand ( evString command)
int evChannel::ReadCommandValue ( int &  command_value)
int evChannel::ReadCommandValue ( double &  command_value)
int evChannel::ReadCommandValue ( evString command_value)
int evChannel::ReadCommandValue ( evVector command_value)
int evChannel::WriteCommand ( const evString command)
int evChannel::WriteCommand ( const evString command,
const int  command_value 
)
int evChannel::WriteCommand ( const evString command,
const double  command_value 
)
int evChannel::WriteCommand ( const evString command,
const evString command_value 
)
int evChannel::WriteCommand ( const evString command,
const evVector command_value 
)

Member Data Documentation

struct sockaddr_in evChannel::LocalAddress
private
struct sockaddr_in evChannel::RemoteAddress
private
evString evChannel::RemoteHost
private
int evChannel::Socket
private

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