OMK::DistributedController::RegistrationData Class Reference

#include <OMKDistributedController.h>

Inheritance diagram for OMK::DistributedController::RegistrationData:

Inheritance graph
[legend]
Collaboration diagram for OMK::DistributedController::RegistrationData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RegistrationData ()
 RegistrationData (const EventIdentifier &sig, const Name &registrant, 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::PolatorNTcreatePolator ()
 Create a polator.

Public Attributes

EventIdentifier _sig
Name _registrant
EventIdentifier _eventId

Detailed Description

Definition at line 192 of file OMKDistributedController.h.


Constructor & Destructor Documentation

OMK::DistributedController::RegistrationData::RegistrationData (  )  [inline]

Definition at line 195 of file OMKDistributedController.h.

00195 {} ;

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]

Definition at line 769 of file OMKDistributedController.cpp.

00770 {
00771 }


Member Function Documentation

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 }


Member Data Documentation

EventIdentifier OMK::DistributedController::RegistrationData::_sig

Definition at line 215 of file OMKDistributedController.h.

Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().

Name OMK::DistributedController::RegistrationData::_registrant

Definition at line 216 of file OMKDistributedController.h.

Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().

EventIdentifier OMK::DistributedController::RegistrationData::_eventId

Definition at line 217 of file OMKDistributedController.h.

Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().


logo OpenMask

Documentation generated on Mon Jun 9 11:46:01 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007