OMK::DistributedController::CancellationData Class Reference

#include <OMKDistributedController.h>

Inheritance diagram for OMK::DistributedController::CancellationData:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CancellationData ()
 CancellationData (const EventIdentifier &sigId, const Name &registrant)
virtual ~CancellationData ()
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 _sigId
Name _registrant

Detailed Description

Definition at line 222 of file OMKDistributedController.h.


Constructor & Destructor Documentation

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

Definition at line 225 of file OMKDistributedController.h.

00225 {};

DistributedController::CancellationData::CancellationData ( const EventIdentifier sigId,
const Name registrant 
)

Definition at line 802 of file OMKDistributedController.cpp.

00803                                                                                        :
00804   _sigId ( sigId ),
00805   _registrant (registrant)
00806 {
00807 }

DistributedController::CancellationData::~CancellationData (  )  [virtual]

Definition at line 809 of file OMKDistributedController.cpp.

00810 {
00811 }


Member Function Documentation

void DistributedController::CancellationData::unpack ( IncomingSynchronisationMessage  )  [virtual]

unpack from a message

Reimplemented from OMK::Flowable.

Definition at line 812 of file OMKDistributedController.cpp.

References _registrant, and _sigId.

00813 {
00814   in>>_sigId>>_registrant;  
00815 }

void DistributedController::CancellationData::pack ( OutgoingSynchronisationMessage  )  const [virtual]

pack in a message

Reimplemented from OMK::Flowable.

Definition at line 817 of file OMKDistributedController.cpp.

References _registrant, and _sigId.

00818 {
00819   out<<_sigId<<_registrant;
00820 }

void DistributedController::CancellationData::extract ( std::istream &  in  )  [virtual]

extraction from an input stream

Implements OMK::Flowable.

Definition at line 822 of file OMKDistributedController.cpp.

References _registrant, and _sigId.

00823 {
00824   in>>_sigId>>_registrant;  
00825 }

void DistributedController::CancellationData::insertInStream ( std::ostream &  out  )  const [virtual]

insertion in an output stream

Implements OMK::Flowable.

Definition at line 827 of file OMKDistributedController.cpp.

References _registrant, and _sigId.

00828 {
00829   out<<_sigId<<" "<<_registrant<<" ";
00830 }

PolatorNT * DistributedController::CancellationData::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 798 of file OMKDistributedController.cpp.

00799 {
00800   return new Polator<CancellationData>() ;
00801 }


Member Data Documentation

EventIdentifier OMK::DistributedController::CancellationData::_sigId

Definition at line 243 of file OMKDistributedController.h.

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

Name OMK::DistributedController::CancellationData::_registrant

Definition at line 245 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