#include <Protocol.h>
Inheritance diagram for ACE_RMCast::Profile:
Public Member Functions | |
virtual | ~Profile () |
Profile_ptr | clone () |
u16 | id () const |
u16 | size () const |
virtual void | serialize_body (ostream &) const=0 |
virtual void | serialize_body (sstream &) const=0 |
Protected Member Functions | |
Profile (u16 id) | |
Profile (Header const &h) | |
virtual Profile_ptr | clone_ ()=0 |
void | size (u16 s) |
u16 | calculate_size () |
Private Member Functions | |
Profile & | operator= (Profile const &) |
Private Attributes | |
Header | header_ |
Friends | |
ostream & | operator<< (ostream &os, Profile const &p) |
sstream & | operator<< (sstream &ss, Profile const &p) |
|
Definition at line 120 of file Protocol.h.
00121 { 00122 } |
|
Definition at line 132 of file Protocol.h. References header_, and ACE_RMCast::u16.
00133 : header_ (id, 0) 00134 { 00135 } |
|
Definition at line 137 of file Protocol.h. References header_.
00138 : header_ (h) 00139 { 00140 } |
|
Definition at line 170 of file Protocol.h. References serialize_body(), ACE_RMCast::sstream, and ACE_SizeCDR::total_length().
00171 { 00172 sstream ss; 00173 00174 serialize_body (ss); 00175 00176 return static_cast<u16> (ss.total_length ()); 00177 } |
|
Reimplemented in ACE_RMCast::From, ACE_RMCast::To, ACE_RMCast::Data, ACE_RMCast::SN, ACE_RMCast::NRTM, ACE_RMCast::NoData, and ACE_RMCast::Part. Definition at line 125 of file Protocol.h. References clone_(), and ACE_RMCast::Profile_ptr.
00126 { 00127 Profile_ptr p (clone_ ()); 00128 return p; 00129 } |
|
Implemented in ACE_RMCast::From, ACE_RMCast::To, ACE_RMCast::Data, ACE_RMCast::SN, ACE_RMCast::NRTM, ACE_RMCast::NoData, and ACE_RMCast::Part. Referenced by clone(). |
|
Definition at line 151 of file Protocol.h. References header_, and ACE_RMCast::Profile::Header::id().
|
|
|
|
Implemented in ACE_RMCast::From, ACE_RMCast::To, ACE_RMCast::Data, ACE_RMCast::SN, ACE_RMCast::NRTM, ACE_RMCast::NoData, and ACE_RMCast::Part. |
|
Implemented in ACE_RMCast::From, ACE_RMCast::To, ACE_RMCast::Data, ACE_RMCast::SN, ACE_RMCast::NRTM, ACE_RMCast::NoData, and ACE_RMCast::Part. Referenced by calculate_size(), and ACE_RMCast::operator<<(). |
|
Definition at line 164 of file Protocol.h. References header_, ACE_RMCast::Profile::Header::size(), and ACE_RMCast::u16.
|
|
Reimplemented in ACE_RMCast::Data. Definition at line 157 of file Protocol.h. References header_, and ACE_RMCast::Profile::Header::size(). Referenced by ACE_RMCast::NRTM::insert().
|
|
Definition at line 230 of file Protocol.h.
00231 {
00232 ss << p.header_;
00233 p.serialize_body (ss);
00234
00235 return ss;
00236 }
|
|
Definition at line 220 of file Protocol.h.
00221 {
00222 os << p.header_;
00223 p.serialize_body (os);
00224
00225 return os;
00226 }
|
|
Definition at line 195 of file Protocol.h. Referenced by id(), ACE_RMCast::operator<<(), Profile(), and size(). |