div class="twikiTopBar">

Chair for Computer Aided Medical Procedures & Augmented Reality
Lehrstuhl für Informatikanwendungen in der Medizin & Augmented Reality

Parsephone Class Reference

The Parsephone formula interpreter class . This Class uses the formula interpreter class to interprete formulas. More...

Inheritance diagram for Parsephone:

Inheritance graph
[legend]
Collaboration diagram for Parsephone:

Collaboration graph
[legend]

Public Member Functions

char * getStatus ()
 status method
 Parsephone ()
 Constructor.
 ~Parsephone ()
 Destructor.
double internalRegisterVars (char *input)
 registers the Variables of a formula as needs
double internalGetVarValues (char *var)
 returns the values of the receivers to the interpreter object
void run ()
 keeps the filter running
char * getStatus ()
 Returns the current status.
void configure (Receiver *gotFrom)
 Overwrite this Routine to make your Filter configurable.

Protected Member Functions

virtual void calculate (Receiver *gotFrom)
 calls the interpreters and sends the calculated values
virtual void configure (Receiver *gotFrom)
 reads new formulas and adjusts the number of interpreters

Protected Attributes

FormelInterpreter ** FInter
 pointer to the interpreter objects
int nFormelInterp
 Number of running interpreters.

Detailed Description

The Parsephone formula interpreter class . This Class uses the formula interpreter class to interprete formulas.

Definition at line 21 of file Parsephone/Parsephone.h.


Member Function Documentation

char* Parsephone::getStatus  )  [virtual]
 

Returns the current status.

This method stems from the DWARF Service interface. It is not necessary to implement it, however, you can provide more or less useful status information to the service manager and other services interested in (e.g. DIVE)

Warning:
called only from service manager. Do not call these methods yourself!
Returns:
CORBA string that must be generated using string_dup

Reimplemented from TemplateService.

double Parsephone::internalGetVarValues char *  var  ) 
 

returns the values of the receivers to the interpreter object

Parameters:
var the name of the Variable to get the value

Definition at line 85 of file Parsephone/Parsephone.cpp.

double Parsephone::internalRegisterVars char *  input  ) 
 

registers the Variables of a formula as needs

Parameters:
input The name of the Variable to register

Definition at line 63 of file Parsephone/Parsephone.cpp.

Parsephone Class Reference | generated on Sun Apr 29 02:01:10 2007 by Doxygen 1.4.1 for DWARF