|
My Project
|
Public Member Functions | |
| NetVar (gcp::util::DataType::Type type, void *vPtr, unsigned nEl) | |
| virtual | ~NetVar () |
| NetVar (const NetVar &netVar) | |
| NetVar (NetVar &netVar) | |
| void | deserialize (const std::vector< unsigned char > &bytes) |
| unsigned | size () |
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 | |
| gcp::util::DataType::Type | type_ |
Additional Inherited Members | |
Protected Member Functions inherited from gcp::util::NetDat | |
| unsigned char *const | getSerializedDataPtr () |
| virtual void | checkSize (const std::vector< unsigned char > &bytes) |
Protected Attributes inherited from gcp::util::NetDat | |
| std::vector< unsigned char > | bytes_ |
| unsigned | maxSize_ |
| NetVar::NetVar | ( | gcp::util::DataType::Type | type, |
| void * | vPtr, | ||
| unsigned | nEl | ||
| ) |
Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
| NetVar::NetVar | ( | const NetVar & | netVar | ) |
Copy constructor
....................................................................... Copy constructor
| NetVar::NetVar | ( | NetVar & | netVar | ) |
....................................................................... Copy constructor
|
virtual |
Deserialize data into this object
....................................................................... Method for deserialization of variables
Reimplemented from gcp::util::NetDat.
|
virtual |
Return size in bytes
....................................................................... Size in bytes
Reimplemented from gcp::util::NetDat.