DataDirector API
Public Member Functions | Static Public Member Functions | List of all members
DDD_ConverterFactory Class Reference

The DDD_ConverterFactory class. Factory for creating Data Director converters. More...

#include <DDD_ConverterFactory.h>

Inheritance diagram for DDD_ConverterFactory:
DDD_LogFacade

Public Member Functions

DDD_ConvertBaseInstantiateNewConverter (const std::string &className, DDD_AttributeObserver *observer)
 
bool FindAllConverters (const std::string &libFileName)
 
DDD_StringListGetKnownConverterTypes ()
 

Static Public Member Functions

static DDD_ConverterFactoryInstance ()
 
- Static Public Member Functions inherited from DDD_LogFacade
static void LogDebug (const char *format,...)
 
static void LogInfo (const char *format,...)
 
static void LogWarning (const char *format,...)
 
static void LogError (const char *format,...)
 

Detailed Description

The DDD_ConverterFactory class. Factory for creating Data Director converters.

Member Function Documentation

bool FindAllConverters ( const std::string &  libFileName)

Attempts to load multiple converters that are stored into a single plugin file

Parameters
libFileNameThe name of the library file to search
Returns
Returns true if any were discovered and successfully added
DDD_StringList& GetKnownConverterTypes ( )
Returns
Returns a list of known converter types
static DDD_ConverterFactory& Instance ( )
static

Public interface to the singleton

Returns
Returns a pointer to the singleton instance
DDD_ConvertBase* InstantiateNewConverter ( const std::string &  className,
DDD_AttributeObserver observer 
)

Creates a new converter of the requested type

Parameters
classNameThe name of the converter class to instantiate
observerAn attribute observer that will be notified when the converter fires.
Returns
Returns a pointer to instantiated converter, or null if converter cannot be instantiated

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