#include <OMKDistributedController.h>
Inheritance diagram for OMK::DistributedController::CancellationData:
Public Member Functions | |
CancellationData () | |
CancellationData (const EventIdentifier &sigId, const Name ®istrant) | |
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::PolatorNT * | createPolator () |
Create a polator. | |
Public Attributes | |
EventIdentifier | _sigId |
Name | _registrant |
Definition at line 222 of file OMKDistributedController.h.
OMK::DistributedController::CancellationData::CancellationData | ( | ) | [inline] |
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] |
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 }
Definition at line 243 of file OMKDistributedController.h.
Referenced by extract(), insertInStream(), pack(), OMK::DistributedController::processEvent(), and unpack().
Definition at line 245 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 |