ACE_RMCast::Part Struct Reference

#include <Protocol.h>

Inheritance diagram for ACE_RMCast::Part:

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast::Part:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Part (Header const &h, istream &is)
 Part (u32 num, u32 of, u64 total_size)
Part_ptr clone ()
u32 num () const
u32 of () const
u64 total_size () const
virtual void serialize_body (ostream &os) const
virtual void serialize_body (sstream &ss) const

Static Public Attributes

u16 const  id = 0x0008

Protected Member Functions

virtual Profile_ptr clone_ ()
 Part (Part const &part)

Private Attributes

u32 num_
u32 of_
u64 total_size_

Constructor & Destructor Documentation

ACE_RMCast::Part::Part Header const &  h,
istream is
[inline]
 

Definition at line 1177 of file Protocol.h.

References ACE_RMCast::istream, num_, of_, and ACE_RMCast::u16.

01179         :
01180     Part (Header const& h, istream& is)
01181         : Profile (h)
01182     {
01183       is >> num_;
      is >> of_;

ACE_RMCast::Part::Part u32  num,
u32  of,
u64  total_size
[inline]
 

Definition at line 1185 of file Protocol.h.

01189         : Profile (id),
01190           num_ (num),
01191           of_ (of),
01192           total_size_ (total_size)

ACE_RMCast::Part::Part Part const &  part  )  [inline, protected]
 

Definition at line 1207 of file Protocol.h.

01211         : Profile (part),
01212           num_ (part.num_),
01213           of_ (part.of_),


Member Function Documentation

Part_ptr ACE_RMCast::Part::clone void   )  [inline]
 

Reimplemented from ACE_RMCast::Profile.

Definition at line 1195 of file Protocol.h.

01199     {

virtual Profile_ptr ACE_RMCast::Part::clone_  )  [inline, protected, virtual]
 

Implements ACE_RMCast::Profile.

Definition at line 1202 of file Protocol.h.

References ACE_RMCast::Profile_ptr.

01203            :
01204     virtual Profile_ptr
01205     clone_ ()
    {

u32 ACE_RMCast::Part::num  )  const [inline]
 

Definition at line 1217 of file Protocol.h.

References num_, and ACE_RMCast::u32.

Referenced by ACE_RMCast::Reassemble::recv().

01218         :
01219     u32
01220     num () const
    {

u32 ACE_RMCast::Part::of  )  const [inline]
 

Definition at line 1223 of file Protocol.h.

Referenced by ACE_RMCast::Reassemble::recv().

01227     {

virtual void ACE_RMCast::Part::serialize_body sstream ss  )  const [inline, virtual]
 

Implements ACE_RMCast::Profile.

Definition at line 1244 of file Protocol.h.

01248     {
01249       ss << num_;

virtual void ACE_RMCast::Part::serialize_body ostream os  )  const [inline, virtual]
 

Implements ACE_RMCast::Profile.

Definition at line 1236 of file Protocol.h.

References num_, of_, and ACE_RMCast::ostream.

01237         :
01238     virtual void
01239     serialize_body (ostream& os) const
01240     {
01241       os << num_;
      os << of_;

u64 ACE_RMCast::Part::total_size void   )  const [inline]
 

Definition at line 1229 of file Protocol.h.

Referenced by ACE_RMCast::Reassemble::recv().

01233     {


Member Data Documentation

u16 const ACE_RMCast::Part::id = 0x0008 [static]
 

Definition at line 16 of file Protocol.cpp.

u32 ACE_RMCast::Part::num_ [private]
 

Definition at line 1253 of file Protocol.h.

Referenced by num(), Part(), and serialize_body().

u32 ACE_RMCast::Part::of_ [private]
 

Definition at line 1254 of file Protocol.h.

Referenced by Part(), and serialize_body().

u64 ACE_RMCast::Part::total_size_ [private]
 

Definition at line 1255 of file Protocol.h.


The documentation for this struct was generated from the following files:
Generated on Thu Nov 9 11:41:18 2006 for ACE_RMCast by doxygen 1.3.6