#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 324 of file Protocol.h. Referenced by begin(), and ACE_RMCast::Link::send_(). |
|
|
Definition at line 252 of file Protocol.h. |
|
|
Definition at line 255 of file Protocol.h. References profiles_.
00256 : profiles_ (4) 00257 { 00258 } |
|
|
Definition at line 268 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_.
00269 : profiles_ (4) 00270 { 00271 for (Profiles::const_iterator i (m.profiles_); !i.done (); i.advance ()) 00272 { 00273 // Shallow copy of profiles. This implies that profiles are not 00274 // modified as they go up/down the stack. 00275 // 00276 profiles_.bind ((*i).ext_id_, (*i).int_id_); 00277 } 00278 } |
|
|
|
Definition at line 327 of file Protocol.h. References ProfileIterator, and profiles_.
00328 {
00329 return ProfileIterator (profiles_);
00330 }
|
|
|
Definition at line 261 of file Protocol.h. References ACE_RMCast::Message_ptr.
00262 {
00263 Message_ptr cloned (new Message (*this));
00264 return cloned;
00265 }
|
|
|
Definition at line 313 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 307 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 301 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 334 of file Protocol.h. References profiles_, ACE_RMCast::sstream, ACE_SizeCDR::total_length(), and ACE_RMCast::u32.
|
|
||||||||||||
|
Definition at line 352 of file Protocol.h.
00353 {
00354 u32 s (m.size ());
00355
00356 os << s;
00357
00358 for (Profiles::const_iterator i (m.profiles_); !i.done (); i.advance ())
00359 {
00360 os << *((*i).int_id_);
00361 }
00362
00363 return os;
00364 }
|
|
|
Definition at line 367 of file Protocol.h. Referenced by add(), begin(), find(), Message(), remove(), replace(), and size(). |
1.3.6