libFAUDES

Sections

Index

faudes::TSimpleFunction2< FTYPE0, FTYPE1, CFNCT > Class Template Reference

#include <rtiwrapper.h>

Inherits faudes::Function.

List of all members.

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


Public Member Functions

 TSimpleFunction2 (const FunctionDefinition *fdef)
virtual FunctionNew () const
 Construct on heap.

Protected Member Functions

virtual void DoTypeCheck (void)
 Method to compare types of arguments with arguments of assigned faudes::Signature (i.e.
virtual void DoExecute (void)
 Executes code of reimplemented method of child class(es).

Protected Attributes

FTYPE0 * pp0
FTYPE1 * pp1

Constructor & Destructor Documentation

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


Member Function Documentation

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

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

Method to compare types of arguments with arguments of assigned faudes::Signature (i.e.

their TypeDefinition label).

NOTE: Method is called by Function::Execute().

Exceptions:
Exception 

Implements faudes::Function.

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

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

Implements faudes::Function.


Member Data Documentation

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

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


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

libFAUDES 2.13a c++ source docu by doxygen 1.5.6