#include <Protocol.h>
Collaboration diagram for ACE_RMCast::Message:
Public Types | |
typedef Profiles::const_iterator | ProfileIterator |
Public Member Functions | |
Message () | |
Message_ptr | clone () |
bool | add (Profile_ptr p) |
void | replace (Profile_ptr p) |
void | remove (u16 id) |
Profile const * | find (u16 id) const |
ProfileIterator | begin () const |
size_t | size () const |
Protected Member Functions | |
Message (Message const &m) | |
Private Types | |
typedef ACE_Hash_Map_Manager< u16, Profile_ptr, ACE_Null_Mutex > | Profiles |
Private Member Functions | |
Message & | operator= (Message const &) |
Private Attributes | |
Profiles | profiles_ |
Friends | |
ostream & | operator<< (ostream &os, Message const &m) |
|
Definition at line 321 of file Protocol.h. Referenced by begin(), and ACE_RMCast::Link::send_(). |
|
Definition at line 250 of file Protocol.h. |
|
Definition at line 253 of file Protocol.h. References profiles_. Referenced by clone().
00254 : profiles_ (4) 00255 { 00256 } |
|
Definition at line 265 of file Protocol.h. References ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >::bind(), and profiles_.
00266 : profiles_ (4) 00267 { 00268 for (Profiles::const_iterator i (m.profiles_); !i.done (); i.advance ()) 00269 { 00270 // Shallow copy of profiles. This implies that profiles are not 00271 // modified as they go up/down the stack. 00272 // 00273 profiles_.bind ((*i).ext_id_, (*i).int_id_); 00274 } 00275 } |
|
|
Definition at line 324 of file Protocol.h. References ProfileIterator, and profiles_.
00325 { 00326 return ProfileIterator (profiles_); 00327 } |
|
Definition at line 259 of file Protocol.h. References Message().
00260 { 00261 return new Message (*this); 00262 } |
|
Definition at line 310 of file Protocol.h. References ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >::find(), profiles_, and ACE_RMCast::u16.
|
|
|
|
Definition at line 304 of file Protocol.h. References profiles_, ACE_RMCast::u16, and ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >::unbind().
|
|
Definition at line 298 of file Protocol.h. References ACE_RMCast::Profile_ptr, profiles_, and ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >::rebind().
|
|
Definition at line 331 of file Protocol.h. References profiles_, ACE_RMCast::sstream, ACE_SizeCDR::total_length(), and ACE_RMCast::u32.
|
|
Definition at line 349 of file Protocol.h.
00350 { 00351 u32 s (m.size ()); 00352 00353 os << s; 00354 00355 for (Profiles::const_iterator i (m.profiles_); !i.done (); i.advance ()) 00356 { 00357 os << *((*i).int_id_); 00358 } 00359 00360 return os; 00361 } |
|
Definition at line 364 of file Protocol.h. Referenced by add(), begin(), find(), Message(), remove(), replace(), and size(). |