DataDirector API
Public Member Functions | Protected Attributes | List of all members
DDD_Base Class Reference

The DDD_Base class. Base class for Data Director objects. More...

#include <DDD_Base.h>

Inheritance diagram for DDD_Base:
DDD_LogFacade ChunkProducer DDD_AssetBase DDD_ConvertBase DIS_Producer RawProducer XplaneProducer DDD_RSOAsset DDD_StructuredMemoryAsset DDD_ConvertAssign DDD_ConvertClamp DDD_ConvertConstant DDD_ConvertExpression DDD_ConvertFormat DDD_ConvertMean DDD_ConvertOffset DDD_ConvertScale

Public Member Functions

 DDD_Base ()
 
virtual ~DDD_Base ()
 
const char * GetInstanceName () const
 
virtual void SetInstanceName (const char *name)
 
virtual void SetParams (const DDD_AttributeList &params)
 
virtual DDD_AttributeListGetParams ()
 

Protected Attributes

std::string _instanceName
 
DDD_AttributeList _params
 

Additional Inherited Members

- 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_Base class. Base class for Data Director objects.

Constructor & Destructor Documentation

DDD_Base ( )
inline

Constructor

virtual ~DDD_Base ( )
virtual

Destructor

Member Function Documentation

const char* GetInstanceName ( ) const
inline
Returns
Returns the instance name for this asset
virtual DDD_AttributeList& GetParams ( )
inlinevirtual
Returns
Gets the list of initialization parameters for the object
virtual void SetInstanceName ( const char *  name)
inlinevirtual

Set the instance name for this asset

Parameters
nameThe instance name to set

Reimplemented in DDD_RSOAsset.

virtual void SetParams ( const DDD_AttributeList params)
virtual

Sets the initialization parameters. The params specified will be merged with the parameters in the asset. Parameters that don't exist will be added. Parameters that do exist will be updated.

Parameters
paramsA set of parameter values to update or add.

Reimplemented in DDD_StructuredMemoryAsset.

Member Data Documentation

std::string _instanceName
protected

The instance name of this object

DDD_AttributeList _params
protected

The parameters of this object

Warning
Any parameter stored in this list will get deallocated in DDD_Base's destructor. Be wary of dangling pointers!

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