framexmit::auto_pkt_ptr Class Reference
[Frame multicast client/server]

#include <framexmittypes.hh>

List of all members.

Public Member Functions

 auto_pkt_ptr (packet *p=0)
 Constructor.
 auto_pkt_ptr (const auto_pkt_ptr &a)
 Assignment operator.
auto_pkt_ptroperator= (const auto_pkt_ptr &a)
 Assignment operator.
 ~auto_pkt_ptr ()
packetoperator * () const
packetoperator-> () const
packetget () const
packetrelease () const
bool operator== (const auto_pkt_ptr &a) const
bool operator< (const auto_pkt_ptr &a) const


Detailed Description

Auto pointer for a packet. Packets are ordered by sequence number and packet number.

Constructor & Destructor Documentation

framexmit::auto_pkt_ptr::auto_pkt_ptr ( packet p = 0  )  [inline, explicit]

Constructor.

Construct a new autopointer and assign it to the specified packet address. The auto-pointer takes ownership if the pointer is valid.

framexmit::auto_pkt_ptr::auto_pkt_ptr ( const auto_pkt_ptr a  )  [inline]

Assignment operator.

Construct a new autopointer and assign the argument pointer to this. The ownership of the packet is transfered from the argument auto-pointer to this auto-pointer if it was owned by the argument.

framexmit::auto_pkt_ptr::~auto_pkt_ptr (  )  [inline]

Destroy packet auto-pointer. The packet is deleted if it is owned.


Member Function Documentation

auto_pkt_ptr& framexmit::auto_pkt_ptr::operator= ( const auto_pkt_ptr a  )  [inline]

Assignment operator.

Assign the packet to this auto-pointer. The ownership of the packet is transfered from the argument auto-pointer to this auto-pointer if it was owned by the argument.

packet& framexmit::auto_pkt_ptr::operator * (  )  const [inline]

Dereference pointer

packet* framexmit::auto_pkt_ptr::operator-> (  )  const [inline]

Dereference pointer.

packet* framexmit::auto_pkt_ptr::get (  )  const [inline]

Get the pointer value.

packet* framexmit::auto_pkt_ptr::release (  )  const [inline]

Release packet without deleting.

bool framexmit::auto_pkt_ptr::operator== ( const auto_pkt_ptr a  )  const [inline]

Equal comparison for auto_pkt_ptr.

bool framexmit::auto_pkt_ptr::operator< ( const auto_pkt_ptr a  )  const [inline]

Less-than comparison for auto_pkt_ptr.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:23 2009 for dmt by  doxygen 1.5.4