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

PsFlowable Class Reference

base class for insertion and extraction to and from streams More...

#include <PsFlowable.h>

Inheritance diagram for PsFlowable:

Inheritance graph
[legend]
Collaboration diagram for PsFlowable:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void extract (istream &=cin)=0
 extraction from an input stream

virtual void insertInStream (ostream &=cout) const=0
 insertion in an output stream

virtual void unpack (PsIncomingSynchronisationMessage &)
 unpack from a synchronisation message

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


Detailed Description

base class for insertion and extraction to and from streams

Author:
Siames
Version:
3.0 2.0 -> 3.0 by David Margery 2002/2/12 : differenciate between packing and inserting

Definition at line 31 of file PsFlowable.h.


Member Function Documentation

virtual void PsFlowable::extract istream &    = cin [pure virtual]
 

extraction from an input stream

Implemented in PsAttribute, PsConfigurationParameterDescriptor, PsDistributedController::RegistrationData, PsDistributedController::CancellationData, PsControlParameterDuplique< Type >, PsEvent, PsGenericControlParameter< Type, AncestorClass >, PsInput< Type >, PsInputAlias< Type >, PsList< Type, allocator >, PsMap< index, objectType >, PsMomeOutput< Type >, PsMultipleConfigurationParameter, PsnAbstractFifo< Type >, PsName, PsnMirrorObjectHandle, PsnPvmReferenceObjectHandle, PsnReferenceObjectHandle, PsObjectDescriptor, PsOutput< Type >, PsPair< T1, T2 >, PsNumericTypeT< Type >, PsSimulatedObject, PsString, PsUniqueConfigurationParameter, PsValuedEvent< UserType >, and PsnAbstractFifo< PsNumericTypeT< Type > >.

Referenced by operator>>().

virtual void PsFlowable::insertInStream ostream &    = cout const [pure virtual]
 

insertion in an output stream

Implemented in PsAttribute, PsConfigurationParameterDescriptor, PsDistributedController::RegistrationData, PsDistributedController::CancellationData, PsEvent, PsGenericControlParameter< Type, AncestorClass >, PsInput< Type >, PsInputAlias< Type >, PsList< Type, allocator >, PsMap< index, objectType >, PsMultipleConfigurationParameter, PsnAbstractFifo< Type >, PsName, PsnMirrorObjectHandle, PsnPvmReferenceObjectHandle, PsnReferenceObjectHandle, PsObjectDescriptor, PsOutput< Type >, PsPair< T1, T2 >, PsNumericTypeT< Type >, PsSimulatedObject, PsString, PsUniqueConfigurationParameter, PsValuedEvent< UserType >, and PsnAbstractFifo< PsNumericTypeT< Type > >.

Referenced by operator<<().

void PsFlowable::pack PsOutgoingSynchronisationMessage   const [virtual]
 

pack in a synchronisation message

Implements PsPackable.

Reimplemented in PsConfigurationParameterDescriptor, PsDistributedController::RegistrationData, PsDistributedController::CancellationData, PsEvent, PsGenericControlParameter< Type, AncestorClass >, PsList< Type, allocator >, PsMap< index, objectType >, PsMultipleConfigurationParameter, PsnAbstractFifo< Type >, PsName, PsObjectDescriptor, PsOutput< Type >, PsPair< T1, T2 >, PsNumericTypeT< Type >, PsSimulatedObject, PsString, PsUniqueConfigurationParameter, PsValuedEvent< UserType >, and PsnAbstractFifo< PsNumericTypeT< Type > >.

Definition at line 37 of file PsFlowable.cxx.

References PsOutgoingSynchronisationMessage::getOutputStream(), and PsOutgoingSynchronisationMessage::packOutputStream().

00038 {
00039   out.getOutputStream() << *this <<'\0' ;
00040   out.packOutputStream() ;
00041 }

void PsFlowable::unpack PsIncomingSynchronisationMessage   [virtual]
 

unpack from a synchronisation message

Implements PsPackable.

Reimplemented in PsConfigurationParameterDescriptor, PsDistributedController::RegistrationData, PsDistributedController::CancellationData, PsEvent, PsGenericControlParameter< Type, AncestorClass >, PsList< Type, allocator >, PsMap< index, objectType >, PsMultipleConfigurationParameter, PsnAbstractFifo< Type >, PsName, PsnMirrorObjectHandle, PsnPvmDuplicatedObjectHandle, PsnPvmReferenceObjectHandle, PsObjectDescriptor, PsOutput< Type >, PsPair< T1, T2 >, PsNumericTypeT< Type >, PsSimulatedObject, PsString, PsUniqueConfigurationParameter, PsValuedEvent< UserType >, and PsnAbstractFifo< PsNumericTypeT< Type > >.

Definition at line 45 of file PsFlowable.cxx.

References PsIncomingSynchronisationMessage::getInputStream(), and PsIncomingSynchronisationMessage::unpackInputStream().

00046 {
00047    in.unpackInputStream () ;
00048    in.getInputStream () >>  *this ;
00049 }


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

Documentation generated on Mon Nov 25 15:26:00 2002

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