VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtWeatherStateProviderFactory Class Reference

Factory for producing subclasses of DtRwSpatialFilter. More...

Public Member Functions

 DtWeatherStateProviderFactory ()
 default constructor More...
 
virtual ~DtWeatherStateProviderFactory ()
 destructor More...
 
virtual void addCreatorFcn (const DtString &type, DtWeatherStateProviderFcn fcn)
 Add a creator function to the factory. More...
 
virtual DtWeatherStateProvidercreateWeatherStateProvider (const DtString &type, const DtSimManager *simMgr)
 
bool hasCreators () const
 

Static Public Member Functions

static
DtWeatherStateProviderFactory
create ()
 Creator function for this factory; creates a new instance of one. More...
 
static void setWeatherStateProviderFactory (DtWeatherStateProviderFactory *f)
 Set the singleton factory instance. More...
 
static
DtWeatherStateProviderFactory
instance ()
 Get the singleton factory instance (from the static member) More...
 

Protected Attributes

DtWeatherStateProviderCreatorMap myCreatorMap
 

Static Protected Attributes

static
DtWeatherStateProviderFactory
theWeatherStateProviderFactory
 

Private Member Functions

 DtWeatherStateProviderFactory (const DtWeatherStateProviderFactory &orig)
 copy constructor - not implemented More...
 
DtWeatherStateProviderFactoryoperator= (const DtWeatherStateProviderFactory &orig)
 assignment operator - not implemented More...
 

Detailed Description

Factory for producing subclasses of DtRwSpatialFilter.

Constructor & Destructor Documentation

DtWeatherStateProviderFactory::DtWeatherStateProviderFactory ( )

default constructor

virtual DtWeatherStateProviderFactory::~DtWeatherStateProviderFactory ( )
virtual

destructor

DtWeatherStateProviderFactory::DtWeatherStateProviderFactory ( const DtWeatherStateProviderFactory orig)
private

copy constructor - not implemented

Member Function Documentation

virtual void DtWeatherStateProviderFactory::addCreatorFcn ( const DtString type,
DtWeatherStateProviderFcn  fcn 
)
virtual

Add a creator function to the factory.

virtual DtWeatherStateProvider* DtWeatherStateProviderFactory::createWeatherStateProvider ( const DtString type,
const DtSimManager simMgr 
)
virtual
static DtWeatherStateProviderFactory* DtWeatherStateProviderFactory::create ( )
static

Creator function for this factory; creates a new instance of one.

Does not automatically set the singleton with this value, but probably the caller of this function should do that.

bool DtWeatherStateProviderFactory::hasCreators ( ) const
inline
static void DtWeatherStateProviderFactory::setWeatherStateProviderFactory ( DtWeatherStateProviderFactory f)
static

Set the singleton factory instance.

static DtWeatherStateProviderFactory* DtWeatherStateProviderFactory::instance ( )
static

Get the singleton factory instance (from the static member)

DtWeatherStateProviderFactory& DtWeatherStateProviderFactory::operator= ( const DtWeatherStateProviderFactory orig)
private

assignment operator - not implemented

Member Data Documentation

DtWeatherStateProviderCreatorMap DtWeatherStateProviderFactory::myCreatorMap
protected
DtWeatherStateProviderFactory* DtWeatherStateProviderFactory::theWeatherStateProviderFactory
staticprotected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)