Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - OS - Network - NetPacketC
 

  PUBLIC
NetPacketC::NetPacketC(void)
NetPacketC::NetPacketC(IntT)
NetPacketC::NetPacketC(SArray1dC &)
NetPacketC::NetPacketC(BinIStreamC &)
NetPacketC::Data(void)
NetPacketC::Data(void) const
NetPacketC::DecodeStream(void) const
NetPacketC::Transmit(BinOStreamC &) const
NetPacketC::IsValid(void) const
NetPacketC::Dump(ostream &) const
NetPacketC::Size(void) const

   NetPacketC   
 
Packet of stream encoded data.
 
include "Ravl/OS/Packet.hh"
Created:13/12/2000 
Source file:Ravl/OS/Network/Packet.hh
User Level:Normal
Library:RavlNet
In Scope:RavlN

Variables:
SArray1dC data;

Methods:
NetPacketC()
Default constructor.

NetPacketC(IntT size)
Construct a packet of 'size' bytes.

NetPacketC(SArray1dC<char> & arr)
Construct a packet from an array

NetPacketC(BinIStreamC & strm)
Construct a packet of 'size' bytes.

SArray1dC<char> & Data()
Access data in packet.

const SArray1dC<char> & Data() const
Access data in packet.

IStreamC DecodeStream() const
Create an encoding stream.

bool Transmit(BinOStreamC & strm) const
Transmit packet.

bool IsValid() const
Is packet valid ?

void Dump(ostream & out) const
Dump packet in human readable form.

UIntT Size() const
Get the size of the packet.


Maintainer:Charles Galambos, Created: 13/12/2000, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002