8 #ifndef DRV_NDFileNetCDF_H
9 #define DRV_NDFileNetCDF_H
19 #define NDNetCDFFileVersion 3.1
31 NDFileNetCDF(
const char *portName,
int queueSize,
int blockingCallbacks,
32 const char *NDArrayPort,
int NDArrayAddr,
33 int priority,
int stackSize);
#define NDPLUGIN_API
Definition: NDPluginAPI.h:41
int NDFileOpenMode_t
Definition: NDPluginFile.h:17
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:99
NDAttributeList.h.
Definition: NDAttributeList.h:21
Writes NDArrays to files in the netCDF file format.
Definition: NDFileNetCDF.h:29
Base class for NDArray file writing plugins; actual file writing plugins inherit from this class.
Definition: NDPluginFile.h:28
virtual asynStatus readFile(NDArray **pArray)=0
Read NDArray data from a file; pure virtual function that must be implemented by derived classes.
virtual asynStatus closeFile()=0
Close the file opened with NDPluginFile::openFile; pure virtual function that must be implemented by ...
virtual asynStatus openFile(const char *fileName, NDFileOpenMode_t openMode, NDArray *pArray)=0
Open a file; pure virtual function that must be implemented by derived classes.
virtual asynStatus writeFile(NDArray *pArray)=0
Write NDArray data to a file; pure virtual function that must be implemented by derived classes.