DataDirector API
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
DDD_ConvertSubroutine Class Reference
Inheritance diagram for DDD_ConvertSubroutine:
DDD_ConvertExpression DDD_ConvertBase DDD_AttributeObserver DDD_Base DDD_AttributeContainer DDD_LogFacade

Public Member Functions

 DDD_ConvertSubroutine (DDD_AttributeObserver *observer)
 
virtual const char * ClassName ()
 
virtual const char * Description ()
 
virtual bool Init (const std::string &params)
 
- Public Member Functions inherited from DDD_ConvertExpression
virtual void OnAttributeChanged (DDD_AttributeBase *attribute)
 
 DDD_ConvertExpression (DDD_AttributeObserver *observer)
 
virtual ~DDD_ConvertExpression ()
 
virtual bool Convert (DDD_EndpointList &inputs, DDD_EndpointList &outputs)
 
virtual bool ConfigurationValid (DDD_EndpointList &inputs, DDD_EndpointList &outputs)
 
virtual int MinInputs ()
 
virtual int MaxInputs ()
 
virtual int MinOutputs ()
 
virtual int MaxOutputs ()
 
- Public Member Functions inherited from DDD_ConvertBase
 DDD_ConvertBase ()
 
const char * DataDirectorVersion ()
 
virtual std::string EndpointInputName (int index)
 
virtual std::string EndpointOutputName (int index)
 
- Public Member Functions inherited from DDD_Base
 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 ()
 

Static Public Attributes

static const char * CONVERT_SUBROUTINE_CLASSNAME
 
- Static Public Attributes inherited from DDD_ConvertExpression
static const char * CONVERT_EXPRESSION_CLASSNAME
 

Protected Member Functions

virtual void Evaluate (DDD_EndpointList &inputs, DDD_EndpointList &outputs)
 
void ReadSubroutineInputs (DDD_EndpointList &inputs)
 
void WriteSubroutineOutputs (DDD_EndpointList &outputs)
 
- Protected Member Functions inherited from DDD_ConvertExpression
void ParseExpression ()
 
- Protected Member Functions inherited from DDD_ConvertBase
bool InputsOK (int nInputs)
 
bool OutputsOK (int nOutputs)
 

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,...)
 
- Protected Attributes inherited from DDD_ConvertExpression
DDD_AttributeString_expression
 
bool _expressionValid
 
ExprEval::Expression * _parsedExpression
 
ExprEval::ValueList * _vList
 
- Protected Attributes inherited from DDD_Base
std::string _instanceName
 
DDD_AttributeList _params
 

Constructor & Destructor Documentation

ctor

Member Function Documentation

virtual const char* ClassName ( )
inlinevirtual
Returns
Returns the class name of this converter

Reimplemented from DDD_ConvertExpression.

virtual const char* Description ( )
virtual

Used by the GUI to explain what this converter does

Returns
Returns a string for the GUI to use

Reimplemented from DDD_ConvertExpression.

virtual void Evaluate ( DDD_EndpointList inputs,
DDD_EndpointList outputs 
)
protectedvirtual

Evaluate the stored parse tree, updating the inputs

Parameters
inputsThe list of inputs for the connnection
outputsThe list of outputs for the connnection

Reimplemented from DDD_ConvertExpression.

virtual bool Init ( const std::string &  params)
virtual

Initializes the converter, if necessary

Parameters
paramString
Returns
True if the converter was successfully initialized.

Reimplemented from DDD_ConvertExpression.

void ReadSubroutineInputs ( DDD_EndpointList inputs)
protected

Read the inputs to the subroutine

Parameters
inputsThe list of inputs for the connnection
void WriteSubroutineOutputs ( DDD_EndpointList outputs)
protected

Write the subroutine outputs to the attributes

Parameters
outputsThe list of outputs for the connnection

Member Data Documentation

const char* CONVERT_SUBROUTINE_CLASSNAME
static

Classname string constant. Needed by the ConverterFactory


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