Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PsDistributedController::RegistrationData Class Reference

#include <PsDistributedController.h>

Inheritance diagram for PsDistributedController::RegistrationData:

Inheritance graph
[legend]
Collaboration diagram for PsDistributedController::RegistrationData:

Collaboration graph
[legend]
List of all members.

Public Methods

 RegistrationData ()
 RegistrationData (const PsEventIdentifier &sig, const PsName &registrant, const PsEventIdentifier &eventId)
virtual ~RegistrationData ()
virtual void unpack (PsIncomingSynchronisationMessage &)
 unpack from a message

virtual void pack (PsOutgoingSynchronisationMessage &) const
 pack in a message

virtual void extract (istream &in)
 extraction from an input stream

virtual void insertInStream (ostream &out) const
 insertion in an output stream

virtual PsPolatorNTcreatePolator ()
 create an *polator This should really be an class function, but as class function cannot be pure virtual, this is decalred as a member function.


Public Attributes

PsEventIdentifier _sig
PsName _registrant
PsEventIdentifier _eventId

Constructor & Destructor Documentation

PsDistributedController::RegistrationData::RegistrationData   [inline]
 

Definition at line 153 of file PsDistributedController.h.

00153 :
      RegistrationData() {} ;

PsDistributedController::RegistrationData::RegistrationData const PsEventIdentifier   sig,
const PsName   registrant,
const PsEventIdentifier   eventId
 

Definition at line 397 of file PsDistributedController.cxx.

00399                                                                                                 :
00400    _sig ( sig ),
00401    _registrant (registrant),
00402    _eventId (eventId)
00403 {
00404 }

PsDistributedController::RegistrationData::~RegistrationData   [virtual]
 

Definition at line 406 of file PsDistributedController.cxx.

00407 {
00408 }


Member Function Documentation

PsPolatorNT * PsDistributedController::RegistrationData::createPolator   [virtual]
 

create an *polator This should really be an class function, but as class function cannot be pure virtual, this is decalred as a member function.

Implements PsType.

Definition at line 431 of file PsDistributedController.cxx.

00432 {
00433    return new PsPolator<RegistrationData>() ;
00434 }

void PsDistributedController::RegistrationData::extract istream &    in [virtual]
 

extraction from an input stream

Implements PsFlowable.

Definition at line 419 of file PsDistributedController.cxx.

References _eventId, _registrant, and _sig.

00420 {
00421    in>>_sig>>_registrant>>_eventId ;  
00422 }

void PsDistributedController::RegistrationData::insertInStream ostream &    out const [virtual]
 

insertion in an output stream

Implements PsFlowable.

Definition at line 424 of file PsDistributedController.cxx.

References _eventId, _registrant, and _sig.

00425 {
00426    out<<_sig<<" "<<_registrant<<" "<<_eventId<<" ";
00427 }

void PsDistributedController::RegistrationData::pack PsOutgoingSynchronisationMessage   const [virtual]
 

pack in a message

Reimplemented from PsFlowable.

Definition at line 414 of file PsDistributedController.cxx.

References _eventId, _registrant, and _sig.

00415 {
00416    out<<_sig<<_registrant<<_eventId;
00417 }

void PsDistributedController::RegistrationData::unpack PsIncomingSynchronisationMessage   [virtual]
 

unpack from a message

Reimplemented from PsFlowable.

Definition at line 409 of file PsDistributedController.cxx.

References _eventId, _registrant, and _sig.

00410 {
00411    in>>_sig>>_registrant>>_eventId ;  
00412 }


Member Data Documentation

PsEventIdentifier PsDistributedController::RegistrationData::_eventId
 

Definition at line 175 of file PsDistributedController.h.

Referenced by extract(), insertInStream(), pack(), and unpack().

PsName PsDistributedController::RegistrationData::_registrant
 

Definition at line 174 of file PsDistributedController.h.

Referenced by extract(), insertInStream(), pack(), and unpack().

PsEventIdentifier PsDistributedController::RegistrationData::_sig
 

Definition at line 173 of file PsDistributedController.h.

Referenced by extract(), insertInStream(), pack(), and unpack().


The documentation for this class was generated from the following files:
logo OpenMask

Documentation generated on Mon Nov 25 15:25:57 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001