FreeFOAM The Cross-Platform CFD Toolkit
dummyOPstreamImpl Class Reference

Dummy implementation of the OPstreamImpl abstract base class. More...

#include <dummyPstream/dummyOPstreamImpl.H>


Detailed Description

Dummy implementation of the OPstreamImpl abstract base class.

Source files

Definition at line 55 of file dummyOPstreamImpl.H.

+ Inheritance diagram for dummyOPstreamImpl:
+ Collaboration diagram for dummyOPstreamImpl:

List of all members.

Public Member Functions

 TypeName ("dummyOPstreamImpl")
 dummyOPstreamImpl ()
 Construct null.
virtual void flush (const PstreamImpl::commsTypes commsType, const int toProcNo, const char *buf, const int bufPosition)
 Flush the buffer (used in OPstream::~OPstream())
virtual bool write (const PstreamImpl::commsTypes commsType, const int toProcNo, const char *buf, const std::streamsize bufSize)
 Write given buffer to given processor.
virtual void waitRequests ()
 Non-blocking writes: wait until all have finished.
virtual bool finishedRequest (const label i)
 Non-blocking writes: has request i finished?
- Public Member Functions inherited from OPstreamImpl
 TypeName ("OPstreamImpl")
 declareRunTimeSelectionTable (autoPtr, OPstreamImpl, dictionary,(),())
 OPstreamImpl ()
 Construct null.

Additional Inherited Members

- Static Public Member Functions inherited from OPstreamImpl
static autoPtr< OPstreamImplNew ()
 Return a reference to the selected OPstreamImpl implementation.

Constructor & Destructor Documentation

dummyOPstreamImpl ( )
inline

Construct null.

Definition at line 75 of file dummyOPstreamImpl.H.


Member Function Documentation

TypeName ( "dummyOPstreamImpl"  )
void flush ( const PstreamImpl::commsTypes  commsType,
const int  toProcNo,
const char *  buf,
const int  bufPosition 
)
virtual

Flush the buffer (used in OPstream::~OPstream())

Implements OPstreamImpl.

Definition at line 48 of file dummyOPstreamImpl.C.

References notImplemented.

bool write ( const PstreamImpl::commsTypes  commsType,
const int  toProcNo,
const char *  buf,
const std::streamsize  bufSize 
)
virtual

Write given buffer to given processor.

Implements OPstreamImpl.

Definition at line 68 of file dummyOPstreamImpl.C.

References notImplemented.

void waitRequests ( )
virtual

Non-blocking writes: wait until all have finished.

Implements OPstreamImpl.

Definition at line 90 of file dummyOPstreamImpl.C.

bool finishedRequest ( const label  i)
virtual

Non-blocking writes: has request i finished?

Implements OPstreamImpl.

Definition at line 94 of file dummyOPstreamImpl.C.

References notImplemented.


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