My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::NewNetMsg Class Reference

#include <NewNetMsg.h>

Inheritance diagram for gcp::util::NewNetMsg:
gcp::util::NetUnion gcp::util::NetDat gcp::util::SpecificNetMsg

Public Types

enum  {
  NET_UNKNOWN_MSG, NET_FRAME_DONE_MSG, NET_GREETING_MSG, NET_ID_MSG,
  NET_LOG_MSG, NET_DRIVE_DONE_MSG, NET_BENCH_DONE_MSG, NET_SCAN_DONE_MSG,
  NET_SOURCE_SET_MSG, NET_SETREG_DONE_MSG, NET_TV_OFFSET_DONE_MSG, NET_NAV_UPDATE_MSG,
  NET_SCRIPT_DONE_MSG, NET_LAST_MSG
}
 

Public Member Functions

 NewNetMsg ()
 
virtual ~NewNetMsg ()
 
- Public Member Functions inherited from gcp::util::NetUnion
 NetUnion ()
 
 NetUnion (const NetUnion &netUnion)
 
 NetUnion (NetUnion &netUnion)
 
NetUnionoperator= (const NetUnion &netUnion)
 
NetUnionoperator= (NetUnion &netUnion)
 
virtual ~NetUnion ()
 
void addMember (unsigned id, NetDat *member=0, bool alloc=false)
 
void addVar (unsigned id, gcp::util::DataType::Type type, void *vPtr, unsigned nEl)
 
void addCase (unsigned id)
 
NetDat *const findMember (unsigned id)
 
bool memberIsValid (unsigned id)
 
NetDat *const getMember (unsigned id)
 
void setTo (unsigned id)
 
unsigned getType ()
 
unsigned sizeOf (unsigned id)
 
unsigned size ()
 
void deserialize (const std::vector< unsigned char > &bytes)
 
void deserialize (const unsigned char *bytes)
 
- Public Member Functions inherited from gcp::util::NetDat
 NetDat ()
 
 NetDat (const NetDat &netDat)
 
 NetDat (NetDat &netDat)
 
void operator= (const NetDat &netDat)
 
void operator= (NetDat &netDat)
 
virtual ~NetDat ()
 
virtual std::vector< unsigned
char > & 
getSerializedData ()
 
virtual void packSerializedData (unsigned char *bytes)
 
unsigned maxSize ()
 
bool send (int fd)
 
bool recv (int fd)
 

Public Attributes

NewNetFrameDoneMsg frame_done
 
NewNetGreetingMsg greeting
 
NewNetLogMsg log
 
NewNetDriveDoneMsg drive_done
 
NewNetBenchDoneMsg bench_done
 
NewNetScanDoneMsg scan_done
 
NewNetSetregDoneMsg setreg_done
 
NewNetSourceSetMsg source_set
 
NewNetTvOffsetDoneMsg tv_offset_done
 
NewNetScriptDoneMsg scriptDone
 

Additional Inherited Members

- Static Public Attributes inherited from gcp::util::NetUnion
static const unsigned NETUNION_UNKNOWN = 0
 
- Protected Member Functions inherited from gcp::util::NetDat
unsigned char *const getSerializedDataPtr ()
 
- Protected Attributes inherited from gcp::util::NetDat
std::vector< unsigned char > bytes_
 
unsigned maxSize_
 

Detailed Description

A class for collecting together various messages that will be sent across the network

Constructor & Destructor Documentation

NewNetMsg::NewNetMsg ( )

....................................................................... Constructor.

NewNetMsg::~NewNetMsg ( )
virtual

....................................................................... Destructor.


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