IPread.C
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include "error.H"
00031 #include "IPstream.H"
00032
00033
00034
00035
00036
00037 Foam::IPstream::IPstream
00038 (
00039 const commsTypes commsType,
00040 const int fromProcNo,
00041 const label bufSize,
00042 streamFormat format,
00043 versionNumber version
00044 )
00045 :
00046 Pstream(commsType, bufSize),
00047 Istream(format, version),
00048 fromProcNo_(fromProcNo),
00049 messageSize_(0)
00050 {
00051 notImplemented
00052 (
00053 "IPsream::IPstream"
00054 "("
00055 "const commsTypes,"
00056 "const int fromProcNo,"
00057 "const label bufSize,"
00058 "streamFormat, versionNumber"
00059 ")"
00060 );
00061 }
00062
00063
00064
00065
00066 int Foam::IPstream::read
00067 (
00068 const commsTypes commsType,
00069 const int fromProcNo,
00070 char* buf,
00071 const std::streamsize bufSize
00072 )
00073 {
00074 notImplemented
00075 (
00076 "IPstream::read"
00077 "("
00078 "const commsTypes,"
00079 "const int fromProcNo,"
00080 "char* buf,"
00081 "const label bufSize"
00082 ")"
00083 );
00084
00085 return 0;
00086 }
00087
00088
00089 void Foam::IPstream::waitRequests()
00090 {}
00091
00092
00093 bool Foam::IPstream::finishedRequest(const label)
00094 {
00095 notImplemented("IPstream::finishedRequest()");
00096 return false;
00097 }
00098
00099
00100
00101
00102
Copyright © 2000-2009 OpenCFD Ltd