NLAINIMAT::IBlackBox Class Reference

#include <black_box.h>


Detailed Description

An interface between an agent and a C++ component. An IBlackBox is an interface for any component which can be use in the built of an agent. It's like an electronique component which can be plug in an agent. There can be input and output parameter and input and output command signal.
Author:
Robert Gabriel

Nevrax France

Date:
2000

Definition at line 42 of file black_box.h.

Public Member Functions

 IBlackBox ()
Description functions
Give the interface (Inputs, Outputs, ParamaeterIn and ParameterOut) of the IBlackBox.

virtual TCommandList getInputList () const=0
virtual TCommandList getOutputList () const=0
virtual TParameterList getParamInList () const=0
virtual TParameterList getParamOutList () const=0
Running functions
Functions used during the run time of the IBlackBox.

virtual TParameterList getNeededParamIn () const=0
virtual bool getOutput (TString outputName)=0
 Return the value of an output signal.

virtual const IObjectIA * getParamOut (TString parameterName)=0
 Get the value of an output parameter.

virtual void setInput (TString inputName, bool)=0
 Fix the value of an input signal.

virtual void setParamIn (TString parameterName, IObjectIA val)=0
 Set the value of an input parameter.


Constructor & Destructor Documentation

NLAINIMAT::IBlackBox::IBlackBox  ) 
 


Member Function Documentation

virtual TCommandList NLAINIMAT::IBlackBox::getInputList  )  const [pure virtual]
 

Return the list of Inputs for command signal. It's a list of the differents pins which can be triggered when receiving an incoming event.

virtual TParameterList NLAINIMAT::IBlackBox::getNeededParamIn  )  const [pure virtual]
 

Return a list of the parameters which need to be updated.

virtual bool NLAINIMAT::IBlackBox::getOutput TString  outputName  )  [pure virtual]
 

Return the value of an output signal.

virtual TCommandList NLAINIMAT::IBlackBox::getOutputList  )  const [pure virtual]
 

Return the list of Outputs for command signal. It's a list of the differents pins which allows to send an event, to triggered anoter IBlackBox.

virtual TParameterList NLAINIMAT::IBlackBox::getParamInList  )  const [pure virtual]
 

Return the list of parameters used by the IBlackBox. It's the name and type of each parameters.

virtual const IObjectIA* NLAINIMAT::IBlackBox::getParamOut TString  parameterName  )  [pure virtual]
 

Get the value of an output parameter.

virtual TParameterList NLAINIMAT::IBlackBox::getParamOutList  )  const [pure virtual]
 

Return the list of parameters returned by the IBlackBox. It's the name and type of each parameters.

virtual void NLAINIMAT::IBlackBox::setInput TString  inputName,
bool 
[pure virtual]
 

Fix the value of an input signal.

virtual void NLAINIMAT::IBlackBox::setParamIn TString  parameterName,
IObjectIA  val
[pure virtual]
 

Set the value of an input parameter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 11:10:54 2004 for NeL by doxygen 1.3.6