World Ocean Simulation System (WOSS) library
|
Data behaviour class for storing calculated Pressure. More...
#include <woss-db.h>
Public Member Functions | |
virtual Pressure * | getValue (const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value) const =0 |
virtual bool | insertValue (const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value, const Pressure &pressure)=0 |
Data behaviour class for storing calculated Pressure.
WossResPressDb is the prototype of any class that implements a database database for calculated Pressure
|
pure virtual |
Returns a heap-created Pressure value for given frequency, transmitter and receiver coordinates if present in the database. User is responsible of pointer's ownership
coord_tx | const reference to a valid CoordZ object |
coord_rx | const reference to a valid CoordZ object |
frequency | used frequency [hz] |
Implemented in woss::ResPressureTxtDb.
Referenced by woss::WossDbManager::getPressure().
|
pure virtual |
Inserts the given Pressure value in the database at given frequency, transmitter and receiver coordinates
coord_tx | const reference to a valid CoordZ object |
coord_rx | const reference to a valid CoordZ object |
frequency | used frequency [hz] |
pressure | computed Pressure |
Implemented in woss::ResPressureTxtDb.
Referenced by woss::WossDbManager::insertPressure().