#include <NetcdfMarshaller.hpp>
Public Member Functions | |
std::string | composeName (std::string propertyName) |
virtual void | flush () |
NetcdfMarshaller (int ncid) | |
virtual void | serialize (base::PropertyBase *v) |
virtual void | serialize (const PropertyBag &v) |
virtual void | serialize (const Property< PropertyBag > &v) |
void | store (Property< char > *v) |
void | store (Property< short > *v) |
void | store (Property< int > *v) |
void | store (Property< float > *v) |
void | store (Property< double > *v) |
void | store (Property< std::vector< double > > *v) |
virtual | ~NetcdfMarshaller () |
Public Member Functions inherited from RTT::marsh::MarshallInterface | |
virtual | ~MarshallInterface () |
Private Attributes | |
size_t | index |
int | nameless_counter |
int | ncid |
std::string | prefix |
A marsh::MarshallInterface for writing data logs into the variables of a netcdf file. The dimension of the time is increased on each flush() command. The NetcdfHeaderMarshaller creates the appropriate variables in a netcdf file.
Definition at line 20 of file NetcdfMarshaller.hpp.
|
inline |
Create a new NetcdfMarshaller
ncid | The ID number of the netcdf file |
Definition at line 33 of file NetcdfMarshaller.hpp.
|
inlinevirtual |
Definition at line 36 of file NetcdfMarshaller.hpp.
|
inline |
Definition at line 266 of file NetcdfMarshaller.hpp.
|
inlinevirtual |
Increase unlimited time dimension
Implements RTT::marsh::MarshallInterface.
Definition at line 287 of file NetcdfMarshaller.hpp.
|
inlinevirtual |
Implements RTT::marsh::MarshallInterface.
Definition at line 38 of file NetcdfMarshaller.hpp.
|
inlinevirtual |
Implements RTT::marsh::MarshallInterface.
Definition at line 83 of file NetcdfMarshaller.hpp.
|
inlinevirtual |
Definition at line 94 of file NetcdfMarshaller.hpp.
|
inline |
Write char data to corresponding variable name
Get netcdf variable ID from name
Write a single data value
Definition at line 113 of file NetcdfMarshaller.hpp.
|
inline |
Write short data to corresponding variable name
Get netcdf variable ID from name
Write a single data value
Definition at line 138 of file NetcdfMarshaller.hpp.
|
inline |
Write int data to corresponding variable name
Get netcdf variable ID from name
Write a single data value
Definition at line 164 of file NetcdfMarshaller.hpp.
|
inline |
Write float data to corresponding variable name
Get netcdf variable ID from name
Write a single data value
Definition at line 189 of file NetcdfMarshaller.hpp.
|
inline |
Write double data to corresponding variable name
Get netcdf variable ID from name
Write a single data value
Definition at line 215 of file NetcdfMarshaller.hpp.
|
inline |
Write double array data into corresponding variable name
Specify index where the first data will be written
Specify the number of values that will be written in each dimension
Definition at line 240 of file NetcdfMarshaller.hpp.
|
private |
Definition at line 24 of file NetcdfMarshaller.hpp.
|
private |
Definition at line 25 of file NetcdfMarshaller.hpp.
|
private |
Definition at line 23 of file NetcdfMarshaller.hpp.
|
private |
Definition at line 26 of file NetcdfMarshaller.hpp.