#include <SimulatorSonarFileRecordFactory.h>
Inheritance diagram for SimulatorSonarFileRecordFactory:
Public Types | |
enum | RecordEnumerator { DATA_START, DATA_STOP, DEPTH, IMAGE, POSITION } |
Public Member Functions | |
SimulatorSonarFileRecordFactory (const LPCTSTR &fqfn) | |
Ctor. | |
~SimulatorSonarFileRecordFactory () | |
Dtor. | |
SmartPointer< SystemRecord > | record () |
Read the record at the current file position. | |
bool | operator++ () |
Advance to the next record. |
This class is the base class for classes that are able to parse sonar files. These files are characterized by having a number of record types multplexed into a single file. The ordering of these records is determined by the sonar in question but are usually produced at the time the data is collected. Sub classes of this class effecively de-multiplex these records.
Because of the nature of these data objects of this type do not, generally, support radom access (e.g. seek()).
Definition at line 29 of file SimulatorSonarFileRecordFactory.h.
Definition at line 61 of file SimulatorSonarFileRecordFactory.h.
SimulatorSonarFileRecordFactory::SimulatorSonarFileRecordFactory | ( | const LPCTSTR & | fqfn | ) |
Ctor.
Attach to the sonar file.
fqfn | The sonar file. |
SimulatorSonarFileRecordFactory::~SimulatorSonarFileRecordFactory | ( | ) |
Dtor.
SmartPointer<SystemRecord> SimulatorSonarFileRecordFactory::record | ( | ) | [virtual] |
Read the record at the current file position.
Implements SonarFileRecordFactory.
bool SimulatorSonarFileRecordFactory::operator++ | ( | ) | [virtual] |
Advance to the next record.
Implements SonarFileRecordFactory.