| |
libFAUDES
Sections
Index
|
faudes::TSimpleFunction1< FTYPE0, CFNCT > Class Template Reference#include <rtiwrapper.h>
Inherits faudes::Function.
Detailed Descriptiontemplate<class FTYPE0, void(*)(FTYPE0 &) CFNCT>
A TSimpeFunction derives a class from Function to invoke a c-function with parameters of specified type.
|
Public Member Functions | |
TSimpleFunction1 (const FunctionDefinition *fdef) | |
virtual Function * | New () const |
Construct on heap. | |
Protected Member Functions | |
virtual bool | DoTypeCheck (int n) |
Method to test the type of an assigned parameter with the specified faudes::Signature (i.e. | |
virtual void | DoExecute (void) |
Executes code of reimplemented method of child class(es). | |
Protected Attributes | |
FTYPE0 * | pp0 |
faudes::TSimpleFunction1< FTYPE0, CFNCT >::TSimpleFunction1 | ( | const FunctionDefinition * | fdef | ) | [inline] |
Definition at line 63 of file rtiwrapper.h.
virtual Function* faudes::TSimpleFunction1< FTYPE0, CFNCT >::New | ( | ) | const [inline, virtual] |
Construct on heap.
Create a new instance of this function class and return pointer. The new instance will use the same function definition as this instance.
Implements faudes::Function.
Definition at line 66 of file rtiwrapper.h.
virtual bool faudes::TSimpleFunction1< FTYPE0, CFNCT >::DoTypeCheck | ( | int | n | ) | [inline, protected, virtual] |
Method to test the type of an assigned parameter with the specified faudes::Signature (i.e.
their TypeDefinition label).
Note: this method is called by Function::Execute() before actual function execution via DoExecute(). It may be used to perform a dynamic cast in preparation of DoExecute(). The latter is only called, if all types match.
n | Position of parameter to check |
Implements faudes::Function.
Definition at line 74 of file rtiwrapper.h.
virtual void faudes::TSimpleFunction1< FTYPE0, CFNCT >::DoExecute | ( | void | ) | [inline, protected, virtual] |
Executes code of reimplemented method of child class(es).
Implements faudes::Function.
Definition at line 83 of file rtiwrapper.h.
FTYPE0* faudes::TSimpleFunction1< FTYPE0, CFNCT >::pp0 [protected] |
Definition at line 66 of file rtiwrapper.h.
libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6