World Ocean Simulation System (WOSS) library
|
Data behaviour class for storing calculated TimeArr. More...
#include <woss-db.h>
Public Member Functions | |
virtual TimeArr * | 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 TimeArr &channel)=0 |
Data behaviour class for storing calculated TimeArr.
WossResTimeArrDb is the prototype of any class that implements a database database for calculated TimeArr
|
pure virtual |
Returns a heap-created TimeArr 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::ResTimeArrTxtDb.
Referenced by woss::WossDbManager::getTimeArr().
|
pure virtual |
Inserts the given TimeArr 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] |
channel | computed TimeArr |
Implemented in woss::ResTimeArrTxtDb.
Referenced by woss::WossDbManager::insertTimeArr().