Public Member Functions | Protected Attributes
OCL::NetcdfReporting Class Reference

#include <NetcdfReporting.hpp>

Inheritance diagram for OCL::NetcdfReporting:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 NetcdfReporting (const std::string &fr_name)
bool startHook ()
void stopHook ()

Protected Attributes

int dimsid
RTT::marsh::MarshallInterfacefbody
RTT::marsh::MarshallInterfacefheader
int ncid
RTT::Property< std::string > repfile

Detailed Description

A component which writes data reports to a netCDF file.

Definition at line 13 of file NetcdfReporting.hpp.


Constructor & Destructor Documentation

OCL::NetcdfReporting::NetcdfReporting ( const std::string &  fr_name)

Definition at line 19 of file NetcdfReporting.cpp.


Member Function Documentation

bool OCL::NetcdfReporting::startHook ( ) [virtual]

Create a new netcdf dataset in the NC_CLOBBER mode. This means that the nc_create function overwrites any existing dataset.

Create a new dimension to an open netcdf dataset, called time. Size NC_UNLIMITED indicates that the length of this dimension is undefined.

Leave define mode and enter data mode.

Reimplemented from OCL::ReportingComponent.

Definition at line 31 of file NetcdfReporting.cpp.

void OCL::NetcdfReporting::stopHook ( ) [virtual]

Close netcdf dataset

Reimplemented from OCL::ReportingComponent.

Definition at line 72 of file NetcdfReporting.cpp.


Member Data Documentation

Dimension ID of unlimited dimension

Definition at line 30 of file NetcdfReporting.hpp.

Definition at line 33 of file NetcdfReporting.hpp.

Definition at line 32 of file NetcdfReporting.hpp.

int OCL::NetcdfReporting::ncid [protected]

Netcdf ID

Definition at line 26 of file NetcdfReporting.hpp.

RTT::Property<std::string> OCL::NetcdfReporting::repfile [protected]

File name of netCDF file.

Definition at line 21 of file NetcdfReporting.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Sat Jun 8 2019 18:48:55