OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimInfoFactoryRegistry.h>
Public Member Functions | |
~ossimInfoFactoryRegistry () | |
destructor More... | |
void | registerFactory (ossimInfoFactoryInterface *factory) |
Method to add factory to registry. More... | |
void | registerFactoryToFront (ossimInfoFactoryInterface *factory) |
Adds factory to the front of the registry. More... | |
void | unregisterFactory (ossimInfoFactoryInterface *factory) |
Method to remove a factory from the registry. More... | |
std::shared_ptr< ossimInfoBase > | create (const ossimFilename &file) const |
Create method. More... | |
std::shared_ptr< ossimInfoBase > | create (std::shared_ptr< ossim::istream > &str, const std::string &connectionString) const |
Create method. More... | |
Static Public Member Functions | |
static ossimInfoFactoryRegistry * | instance () |
instance method More... | |
Protected Member Functions | |
ossimInfoFactoryRegistry () | |
Hidden from use default constructor. More... | |
ossimInfoFactoryRegistry (const ossimInfoFactoryRegistry &obj) | |
hidden from use copy constructor More... | |
const ossimInfoFactoryRegistry & | operator= (const ossimInfoFactoryRegistry &rhs) |
hidden from use assignment operator More... | |
Protected Attributes | |
std::vector< ossimInfoFactoryInterface * > | m_factoryList |
std::mutex | m_mutex |
Static Protected Attributes | |
static ossimInfoFactoryRegistry * | m_instance = 0 |
Definition at line 27 of file ossimInfoFactoryRegistry.h.
ossimInfoFactoryRegistry::~ossimInfoFactoryRegistry | ( | ) |
destructor
Definition at line 24 of file ossimInfoFactoryRegistry.cpp.
References m_factoryList.
|
protected |
Hidden from use default constructor.
hidden from use default constructor
Definition at line 133 of file ossimInfoFactoryRegistry.cpp.
References ossimInfoFactory::instance(), and registerFactory().
Referenced by instance().
|
protected |
hidden from use copy constructor
Definition at line 141 of file ossimInfoFactoryRegistry.cpp.
std::shared_ptr< ossimInfoBase > ossimInfoFactoryRegistry::create | ( | const ossimFilename & | file | ) | const |
Create method.
file | Some file you want info for. |
Definition at line 74 of file ossimInfoFactoryRegistry.cpp.
References ossimString::c_str(), ossim::StreamFactoryRegistry::instance(), and m_factoryList.
Referenced by ossimJpipProjectionFactory::createProjection(), ossimInfo::dumpImage(), and ossimInfo::prettyPrint().
std::shared_ptr< ossimInfoBase > ossimInfoFactoryRegistry::create | ( | std::shared_ptr< ossim::istream > & | str, |
const std::string & | connectionString | ||
) | const |
Create method.
file | Some file you want info for. |
Definition at line 107 of file ossimInfoFactoryRegistry.cpp.
References m_factoryList.
|
static |
instance method
Definition at line 29 of file ossimInfoFactoryRegistry.cpp.
References m_instance, and ossimInfoFactoryRegistry().
Referenced by ossimJpipProjectionFactory::createProjection(), ossimInfo::dumpImage(), ossimSharedLibraryFinalize(), ossimSharedLibraryInitialize(), and ossimInfo::prettyPrint().
|
protected |
hidden from use assignment operator
hidden from use operator =
Definition at line 146 of file ossimInfoFactoryRegistry.cpp.
void ossimInfoFactoryRegistry::registerFactory | ( | ossimInfoFactoryInterface * | factory | ) |
Method to add factory to registry.
factory | Factory to register. |
Definition at line 38 of file ossimInfoFactoryRegistry.cpp.
References m_factoryList, and m_mutex.
Referenced by ossimInfoFactoryRegistry(), and ossimSharedLibraryInitialize().
void ossimInfoFactoryRegistry::registerFactoryToFront | ( | ossimInfoFactoryInterface * | factory | ) |
Adds factory to the front of the registry.
factory | Factory to register. |
Definition at line 49 of file ossimInfoFactoryRegistry.cpp.
References m_factoryList, and m_mutex.
Referenced by ossimSharedLibraryInitialize().
void ossimInfoFactoryRegistry::unregisterFactory | ( | ossimInfoFactoryInterface * | factory | ) |
Method to remove a factory from the registry.
Used by plugins when they are unloaded.
factory | Factory to remove. |
Definition at line 60 of file ossimInfoFactoryRegistry.cpp.
References m_factoryList, and m_mutex.
|
protected |
Definition at line 96 of file ossimInfoFactoryRegistry.h.
Referenced by create(), registerFactory(), registerFactoryToFront(), unregisterFactory(), and ~ossimInfoFactoryRegistry().
|
staticprotected |
Definition at line 100 of file ossimInfoFactoryRegistry.h.
Referenced by instance().
|
protected |
Definition at line 98 of file ossimInfoFactoryRegistry.h.
Referenced by registerFactory(), registerFactoryToFront(), and unregisterFactory().