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 1187 of file Protocol.h.

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

01189         :
01190     Part (Header const& h, istream& is)
01191         : Profile (h)
01192     {
01193       is >> num_;
      is >> of_;

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

Definition at line 1195 of file Protocol.h.

01199         : Profile (id),
01200           num_ (num),
01201           of_ (of),
01202           total_size_ (total_size)

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

Definition at line 1218 of file Protocol.h.

01222         : Profile (part),
01223           num_ (part.num_),
01224           of_ (part.of_),


Member Function Documentation

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

Reimplemented from ACE_RMCast::Profile.

Definition at line 1205 of file Protocol.h.

01209     {

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

Implements ACE_RMCast::Profile.

Definition at line 1212 of file Protocol.h.

References ACE_RMCast::Profile_ptr.

01213            :
01214     virtual Profile_ptr
01215     clone_ ()
01216     {
      Profile_ptr p (new Part (*this));

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

Definition at line 1228 of file Protocol.h.

References num_, and ACE_RMCast::u32.

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

01229         :
01230     u32
01231     num () const
    {

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

Definition at line 1234 of file Protocol.h.

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

01238     {

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

Implements ACE_RMCast::Profile.

Definition at line 1255 of file Protocol.h.

01259     {
01260       ss << num_;

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

Implements ACE_RMCast::Profile.

Definition at line 1247 of file Protocol.h.

References num_, of_, and ACE_RMCast::ostream.

01248         :
01249     virtual void
01250     serialize_body (ostream& os) const
01251     {
01252       os << num_;
      os << of_;

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

Definition at line 1240 of file Protocol.h.

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

01244     {


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 1264 of file Protocol.h.

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

u32 ACE_RMCast::Part::of_ [private]
 

Definition at line 1265 of file Protocol.h.

Referenced by Part(), and serialize_body().

u64 ACE_RMCast::Part::total_size_ [private]
 

Definition at line 1266 of file Protocol.h.


The documentation for this struct was generated from the following files:
Generated on Sun Jan 27 13:03:09 2008 for ACE_RMCast by doxygen 1.3.6