OCL::NetcdfReporting Class Reference

#include <NetcdfReporting.hpp>

Inheritance diagram for OCL::NetcdfReporting:
Inheritance graph

List of all members.

Public Member Functions

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

Protected Attributes

int dimsid
RTT::marsh::MarshallInterface * fbody
RTT::marsh::MarshallInterface * fheader
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 12 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 25 of file NetcdfReporting.cpp.

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

Close netcdf dataset

Reimplemented from OCL::ReportingComponent.

Definition at line 66 of file NetcdfReporting.cpp.

Member Data Documentation

Dimension ID of unlimited dimension

Definition at line 30 of file NetcdfReporting.hpp.

RTT::marsh::MarshallInterface* OCL::NetcdfReporting::fbody [protected]

Definition at line 33 of file NetcdfReporting.hpp.

RTT::marsh::MarshallInterface* OCL::NetcdfReporting::fheader [protected]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Author(s): OCL Development Team
autogenerated on Fri Jan 11 09:50:53 2013