|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class is a facory able to construct Record base classes given the id of the record wanted. More...
#include <AlosPalsarRecordFactory.h>
Public Member Functions | |
| AlosPalsarRecordFactory () | |
| Constructor. More... | |
| ~AlosPalsarRecordFactory () | |
| Destructor. More... | |
| void | RegisterRecord (int id, AlosPalsarRecord *record) |
| Add a new Record type available in this factory. More... | |
| AlosPalsarRecord * | Instanciate (int id) |
| Instanciate a new Record. More... | |
Protected Attributes | |
| std::map< int, AlosPalsarRecord * > | _availableRecords |
| Contain all the available Records for the factory. More... | |
This class is a facory able to construct Record base classes given the id of the record wanted.
Definition at line 28 of file AlosPalsarRecordFactory.h.
| ossimplugins::AlosPalsarRecordFactory::AlosPalsarRecordFactory | ( | ) |
| ossimplugins::AlosPalsarRecordFactory::~AlosPalsarRecordFactory | ( | ) |
| AlosPalsarRecord * ossimplugins::AlosPalsarRecordFactory::Instanciate | ( | int | id | ) |
Instanciate a new Record.
| id | Id of the Record we want to instanciate |
Definition at line 30 of file AlosPalsarRecordFactory.cpp.
References _availableRecords, ossimplugins::AlosPalsarRecord::Instanciate(), ossimNotify(), and ossimNotifyLevel_DEBUG.
Referenced by ossimplugins::operator>>().
| void ossimplugins::AlosPalsarRecordFactory::RegisterRecord | ( | int | id, |
| AlosPalsarRecord * | record | ||
| ) |
Add a new Record type available in this factory.
| record | Record to add in the factory |
| id | Id of the new avalaible Record |
Definition at line 47 of file AlosPalsarRecordFactory.cpp.
References _availableRecords.
Referenced by ossimplugins::AlosPalsarLeaderFactory::AlosPalsarLeaderFactory().
|
protected |
Contain all the available Records for the factory.
Definition at line 57 of file AlosPalsarRecordFactory.h.
Referenced by Instanciate(), and RegisterRecord().
1.8.14