#include <OMKDistributedController.h>
Inheritance diagram for OMK::DistributedController::RegistrationData:
Public Member Functions | |
RegistrationData () | |
RegistrationData (const EventIdentifier &sig, const Name ®istrant, const EventIdentifier &eventId) | |
virtual | ~RegistrationData () |
virtual void | unpack (IncomingSynchronisationMessage &) |
unpack from a message | |
virtual void | pack (OutgoingSynchronisationMessage &) const |
pack in a message | |
virtual void | extract (std::istream &in) |
extraction from an input stream | |
virtual void | insertInStream (std::ostream &out) const |
insertion in an output stream | |
virtual OMK::Type::PolatorNT * | createPolator () |
Create a polator. | |
Public Attributes | |
EventIdentifier | _sig |
Name | _registrant |
EventIdentifier | _eventId |
Definition at line 192 of file OMKDistributedController.h.
OMK::DistributedController::RegistrationData::RegistrationData | ( | ) | [inline] |
DistributedController::RegistrationData::RegistrationData | ( | const EventIdentifier & | sig, | |
const Name & | registrant, | |||
const EventIdentifier & | eventId | |||
) |
Definition at line 760 of file OMKDistributedController.cpp.
00762 : 00763 _sig ( sig ), 00764 _registrant (registrant), 00765 _eventId (eventId) 00766 { 00767 }
DistributedController::RegistrationData::~RegistrationData | ( | ) | [virtual] |
void DistributedController::RegistrationData::unpack | ( | IncomingSynchronisationMessage & | ) | [virtual] |
unpack from a message
Reimplemented from OMK::Flowable.
Definition at line 772 of file OMKDistributedController.cpp.
References _eventId, _registrant, and _sig.
00773 { 00774 in>>_sig>>_registrant>>_eventId ; 00775 }
void DistributedController::RegistrationData::pack | ( | OutgoingSynchronisationMessage & | ) | const [virtual] |
pack in a message
Reimplemented from OMK::Flowable.
Definition at line 777 of file OMKDistributedController.cpp.
References _eventId, _registrant, and _sig.
00778 { 00779 out<<_sig<<_registrant<<_eventId; 00780 }
void DistributedController::RegistrationData::extract | ( | std::istream & | in | ) | [virtual] |
extraction from an input stream
Implements OMK::Flowable.
Definition at line 782 of file OMKDistributedController.cpp.
References _eventId, _registrant, and _sig.
00783 { 00784 in>>_sig>>_registrant>>_eventId ; 00785 }
void DistributedController::RegistrationData::insertInStream | ( | std::ostream & | out | ) | const [virtual] |
insertion in an output stream
Implements OMK::Flowable.
Definition at line 787 of file OMKDistributedController.cpp.
References _eventId, _registrant, and _sig.
00788 { 00789 out<<_sig<<" "<<_registrant<<" "<<_eventId<<" "; 00790 }
PolatorNT * DistributedController::RegistrationData::createPolator | ( | ) | [virtual] |
Create a polator.
This should really be a class function, but as class function cannot be pure virtual, this is decalred as a member function.
Implements OMK::Type::Base.
Definition at line 794 of file OMKDistributedController.cpp.
00795 { 00796 return new Polator<RegistrationData>() ; 00797 }
Definition at line 215 of file OMKDistributedController.h.
Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().
Definition at line 216 of file OMKDistributedController.h.
Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().
Definition at line 217 of file OMKDistributedController.h.
Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().
Documentation generated on Mon Jun 9 11:46:01 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |