FreeFOAM The Cross-Platform CFD Toolkit
dummyIPstreamImpl Class Reference

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

#include <dummyPstream/dummyIPstreamImpl.H>


Detailed Description

Dummy implementation of the IPstreamImpl abstract base class.

Source files

Definition at line 55 of file dummyIPstreamImpl.H.

+ Inheritance diagram for dummyIPstreamImpl:
+ Collaboration diagram for dummyIPstreamImpl:

List of all members.

Public Member Functions

 TypeName ("dummyIPstreamImpl")
 dummyIPstreamImpl ()
 Construct null.
virtual void init (const PstreamImpl::commsTypes commsType, const label bufSize, int &fromProcNo, label &messageSize, List< char > &buf)
 Initialization.
virtual label read (const PstreamImpl::commsTypes commsType, const int fromProcNo, char *buf, const std::streamsize bufSize)
 Read into given buffer from given processor and return the.
virtual void waitRequests ()
 Non-blocking receives: wait until all have finished.
virtual bool finishedRequest (const label i)
 Non-blocking receives: has request i finished?
- Public Member Functions inherited from IPstreamImpl
 TypeName ("IPstreamImpl")
 declareRunTimeSelectionTable (autoPtr, IPstreamImpl, dictionary,(),())
 IPstreamImpl ()
 Construct null.
virtual ~IPstreamImpl ()

Additional Inherited Members

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

Constructor & Destructor Documentation

dummyIPstreamImpl ( )
inline

Construct null.

Definition at line 75 of file dummyIPstreamImpl.H.


Member Function Documentation

TypeName ( "dummyIPstreamImpl"  )
void init ( const PstreamImpl::commsTypes  commsType,
const label  bufSize,
int &  fromProcNo,
label &  messageSize,
List< char > &  buf 
)
virtual

Initialization.

Implements IPstreamImpl.

Definition at line 49 of file dummyIPstreamImpl.C.

References notImplemented.

int read ( const PstreamImpl::commsTypes  commsType,
const int  fromProcNo,
char *  buf,
const std::streamsize  bufSize 
)
virtual

Read into given buffer from given processor and return the.

message size

Implements IPstreamImpl.

Definition at line 72 of file dummyIPstreamImpl.C.

References notImplemented.

void waitRequests ( )
virtual

Non-blocking receives: wait until all have finished.

Implements IPstreamImpl.

Definition at line 94 of file dummyIPstreamImpl.C.

bool finishedRequest ( const label  i)
virtual

Non-blocking receives: has request i finished?

Implements IPstreamImpl.

Definition at line 98 of file dummyIPstreamImpl.C.

References notImplemented.


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