openModeller  Version 1.5.0
AlgorithmFactory::DLL Class Reference
Inheritance diagram for AlgorithmFactory::DLL:
Inheritance graph
Collaboration diagram for AlgorithmFactory::DLL:
Collaboration graph

Public Member Functions

 DLL ()
 
 DLL (const std::string &file)
 
 ~DLL ()
 
 operator bool () const
 
AlgorithmPtr newAlgorithm ()
 
AlgMetadata const * getMetadata ()
 

Private Attributes

DLLHandle _handle
 
TAlgFactory _factory
 
TAlgMetadata _metadata
 
std::string _file
 

Friends

class ReferenceCountedPointer< DLL >
 

Additional Inherited Members

- Private Member Functions inherited from ReferenceCountedObject
 ReferenceCountedObject ()
 
virtual ~ReferenceCountedObject ()=0
 

Detailed Description

Manages an algorithm with its DLL file.

Definition at line 188 of file AlgorithmFactory.hh.

Constructor & Destructor Documentation

AlgorithmFactory::DLL::DLL ( )

Definition at line 69 of file AlgorithmFactory.cpp.

AlgorithmFactory::DLL::DLL ( const std::string &  file)
AlgorithmFactory::DLL::~DLL ( )

Definition at line 125 of file AlgorithmFactory.cpp.

References Log::debug(), dllClose(), and Log::instance().

Here is the call graph for this function:

Member Function Documentation

AlgMetadata const * AlgorithmFactory::DLL::getMetadata ( )

Definition at line 154 of file AlgorithmFactory.cpp.

AlgorithmPtr AlgorithmFactory::DLL::newAlgorithm ( )

Returns a new instantiated algorithm object.

Definition at line 144 of file AlgorithmFactory.cpp.

AlgorithmFactory::DLL::operator bool ( ) const

Definition at line 136 of file AlgorithmFactory.cpp.

Friends And Related Function Documentation

friend class ReferenceCountedPointer< DLL >
friend

Definition at line 190 of file AlgorithmFactory.hh.

Member Data Documentation

TAlgFactory AlgorithmFactory::DLL::_factory
private

Definition at line 205 of file AlgorithmFactory.hh.

std::string AlgorithmFactory::DLL::_file
private

Definition at line 207 of file AlgorithmFactory.hh.

DLLHandle AlgorithmFactory::DLL::_handle
private

Definition at line 204 of file AlgorithmFactory.hh.

TAlgMetadata AlgorithmFactory::DLL::_metadata
private

Definition at line 206 of file AlgorithmFactory.hh.


The documentation for this class was generated from the following files: