libFAUDES

Sections

Index

faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT > Class Template Reference

#include <rtiwrapper.h>

Inherits faudes::Function.

List of all members.


Detailed Description

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
class faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT >

Definition at line 129 of file rtiwrapper.h.


Public Member Functions

 TSimpleFunction3 (const FunctionDefinition *fdef)
virtual FunctionNew () 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
FTYPE1 * pp1
FTYPE2 * pp2

Constructor & Destructor Documentation

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT >::TSimpleFunction3 ( const FunctionDefinition fdef  )  [inline]

Definition at line 133 of file rtiwrapper.h.


Member Function Documentation

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
virtual Function* faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, 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.

Returns:
Pointer to faudes::Function instance.

Implements faudes::Function.

Definition at line 136 of file rtiwrapper.h.

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
virtual bool faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, 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.

Parameters:
n Position of parameter to check
Returns:
True if type matches signature.
Exceptions:
Exception 

Implements faudes::Function.

Definition at line 146 of file rtiwrapper.h.

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
virtual void faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT >::DoExecute ( void   )  [inline, protected, virtual]

Executes code of reimplemented method of child class(es).

Implements faudes::Function.

Definition at line 160 of file rtiwrapper.h.


Member Data Documentation

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
FTYPE0* faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT >::pp0 [protected]

Definition at line 136 of file rtiwrapper.h.

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
FTYPE1* faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT >::pp1 [protected]

Definition at line 142 of file rtiwrapper.h.

template<class FTYPE0, class FTYPE1, class FTYPE2, void(*)(const FTYPE0 &, const FTYPE1 &, FTYPE2 &) CFNCT>
FTYPE2* faudes::TSimpleFunction3< FTYPE0, FTYPE1, FTYPE2, CFNCT >::pp2 [protected]

Definition at line 143 of file rtiwrapper.h.


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

libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6