Data behaviour class for storing calculated TimeArr.
More...
#include <woss-db.h>
Data behaviour class for storing calculated TimeArr.
WossResTimeArrDb is the prototype of any class that implements a database database for calculated TimeArr
- See also
- ResTimeArrTxtDb
◆ WossResTimeArrDb()
| woss::WossResTimeArrDb::WossResTimeArrDb |
( |
| ) |
|
|
default |
◆ ~WossResTimeArrDb()
| virtual woss::WossResTimeArrDb::~WossResTimeArrDb |
( |
| ) |
|
|
virtualdefault |
◆ getValue()
| virtual std::unique_ptr< TimeArr > woss::WossResTimeArrDb::getValue |
( |
const CoordZ & |
coord_tx, |
|
|
const CoordZ & |
coord_rx, |
|
|
const double |
frequency, |
|
|
const Time & |
time_value |
|
) |
| const |
|
pure virtual |
Returns a std::unique_ptr to a heap-created TimeArr value for given frequency, transmitter and receiver coordinates if present in the database. User is responsible of pointer's ownership
- Parameters
-
| coord_tx | const reference to a valid CoordZ object |
| coord_rx | const reference to a valid CoordZ object |
| frequency | used frequency [hz] |
- Returns
- std::unique_ptr to a valid TimeArr if parameters are found, not valid otherwise
Implemented in woss::ResTimeArrTxtDb.
◆ insertValue()
| virtual bool woss::WossResTimeArrDb::insertValue |
( |
const CoordZ & |
coord_tx, |
|
|
const CoordZ & |
coord_rx, |
|
|
const double |
frequency, |
|
|
const Time & |
time_value, |
|
|
const TimeArr & |
channel |
|
) |
| |
|
pure virtual |
Inserts the given TimeArr value in the database at given frequency, transmitter and receiver coordinates
- Parameters
-
| 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 |
- Returns
- true if method was successful, false otherwise
Implemented in woss::ResTimeArrTxtDb.
The documentation for this class was generated from the following file: