#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 119 of file Protocol.h.
00120 { 00121 } |
|
Definition at line 130 of file Protocol.h. References ACE_RMCast::u16.
00131 : header_ (id, 0) 00132 { 00133 } |
|
Definition at line 135 of file Protocol.h.
00136 : header_ (h) 00137 { 00138 } |
|
Definition at line 168 of file Protocol.h. References serialize_body(), ACE_RMCast::sstream, and ACE_SizeCDR::total_length().
00169 { 00170 sstream ss; 00171 00172 serialize_body (ss); 00173 00174 return static_cast<u16> (ss.total_length ()); 00175 } |
|
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 124 of file Protocol.h. References clone_().
00125 { 00126 return clone_ (); 00127 } |
|
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 149 of file Protocol.h. References 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 162 of file Protocol.h. References ACE_RMCast::Profile::Header::size(), and ACE_RMCast::u16.
|
|
Reimplemented in ACE_RMCast::Data. Definition at line 155 of file Protocol.h. References ACE_RMCast::Profile::Header::size(). Referenced by ACE_RMCast::NRTM::insert().
|
|
Definition at line 228 of file Protocol.h.
00229 {
00230 ss << p.header_;
00231 p.serialize_body (ss);
00232
00233 return ss;
00234 }
|
|
Definition at line 218 of file Protocol.h.
00219 {
00220 os << p.header_;
00221 p.serialize_body (os);
00222
00223 return os;
00224 }
|
|
Definition at line 193 of file Protocol.h. Referenced by ACE_RMCast::operator<<(). |