#include <Protocol.h>
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 | |
static u16 const | id = 0x0008 |
Protected Member Functions | |
virtual Profile_ptr | clone_ () |
Part (Part const &part) | |
Private Attributes | |
u32 | num_ |
u32 | of_ |
u64 | total_size_ |
Definition at line 1185 of file Protocol.h.
Definition at line 1190 of file Protocol.h.
: Profile (h) { is >> num_; is >> of_; is >> total_size_; }
Definition at line 1198 of file Protocol.h.
: Profile (id), num_ (num), of_ (of), total_size_ (total_size) { size (calculate_size ()); }
ACE_RMCast::Part::Part | ( | Part const & | part | ) | [inline, protected] |
Definition at line 1221 of file Protocol.h.
: Profile (part), num_ (part.num_), of_ (part.of_), total_size_ (part.total_size_) { }
Part_ptr ACE_RMCast::Part::clone | ( | void | ) | [inline] |
Reimplemented from ACE_RMCast::Profile.
Definition at line 1208 of file Protocol.h.
virtual Profile_ptr ACE_RMCast::Part::clone_ | ( | ) | [inline, protected, virtual] |
Implements ACE_RMCast::Profile.
Definition at line 1215 of file Protocol.h.
{ Profile_ptr p (new Part (*this)); return p; }
u32 ACE_RMCast::Part::num | ( | ) | const [inline] |
Definition at line 1231 of file Protocol.h.
{ return num_; }
u32 ACE_RMCast::Part::of | ( | ) | const [inline] |
Definition at line 1237 of file Protocol.h.
{ return of_; }
virtual void ACE_RMCast::Part::serialize_body | ( | sstream & | ss | ) | const [inline, virtual] |
Implements ACE_RMCast::Profile.
Definition at line 1258 of file Protocol.h.
{ ss << num_; ss << of_; ss << total_size_; }
virtual void ACE_RMCast::Part::serialize_body | ( | ostream & | os | ) | const [inline, virtual] |
Implements ACE_RMCast::Profile.
Definition at line 1250 of file Protocol.h.
u64 ACE_RMCast::Part::total_size | ( | void | ) | const [inline] |
Definition at line 1243 of file Protocol.h.
{ return total_size_; }
u16 const ACE_RMCast::Part::id = 0x0008 [static] |
Definition at line 1187 of file Protocol.h.
u32 ACE_RMCast::Part::num_ [private] |
Definition at line 1267 of file Protocol.h.
u32 ACE_RMCast::Part::of_ [private] |
Definition at line 1268 of file Protocol.h.
u64 ACE_RMCast::Part::total_size_ [private] |
Definition at line 1269 of file Protocol.h.