|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class is a factory able to construct Record base classes given the id of the wanted record. More...
#include <RadarSatRecordFactory.h>
Public Member Functions | |
| RadarSatRecordFactory () | |
| Constructor. More... | |
| ~RadarSatRecordFactory () | |
| Destructor. More... | |
| void | RegisterRecord (int id, RadarSatRecord *record) |
| Add a new Record type available in this factory. More... | |
| RadarSatRecord * | Instanciate (int id) |
| Instanciates a new Record. More... | |
Protected Attributes | |
| std::map< int, RadarSatRecord * > | _availableRecords |
| Contains all the available Records for the factory. More... | |
This class is a factory able to construct Record base classes given the id of the wanted record.
Definition at line 26 of file RadarSatRecordFactory.h.
| ossimplugins::RadarSatRecordFactory::RadarSatRecordFactory | ( | ) |
| ossimplugins::RadarSatRecordFactory::~RadarSatRecordFactory | ( | ) |
| RadarSatRecord * ossimplugins::RadarSatRecordFactory::Instanciate | ( | int | id | ) |
Instanciates a new Record.
| id | Id of the Record we want to instanciate |
Definition at line 24 of file RadarSatRecordFactory.cpp.
References _availableRecords, and ossimplugins::RadarSatRecord::Instanciate().
Referenced by ossimplugins::ossimRadarSatModel::open(), and ossimplugins::operator>>().
| void ossimplugins::RadarSatRecordFactory::RegisterRecord | ( | int | id, |
| RadarSatRecord * | record | ||
| ) |
Add a new Record type available in this factory.
| record | Record to add in the factory |
| id | Id of the new available Record |
Definition at line 37 of file RadarSatRecordFactory.cpp.
References _availableRecords.
Referenced by ossimplugins::DataFactory::DataFactory(), ossimplugins::LeaderFactory::LeaderFactory(), ossimplugins::TrailerFactory::TrailerFactory(), and ossimplugins::VolumeDirFactory::VolumeDirFactory().
|
protected |
Contains all the available Records for the factory.
Definition at line 55 of file RadarSatRecordFactory.h.
Referenced by Instanciate(), RegisterRecord(), ossimplugins::DataFactory::~DataFactory(), ossimplugins::LeaderFactory::~LeaderFactory(), ossimplugins::TrailerFactory::~TrailerFactory(), and ossimplugins::VolumeDirFactory::~VolumeDirFactory().
1.8.14