div class="twikiTopBar">

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

Filter Class Reference

The class handling the basic Filter functions . This Class handling all the basic Filter functions for adding and removing abilities and needs. More...

Inheritance diagram for Filter:

Inheritance graph
[legend]
Collaboration diagram for Filter:

Collaboration graph
[legend]

Public Member Functions

void gotEvent (Receiver *gotFrom)
 This Routine gets called everytime a receiver gets an Event.
void addNewAbilityToSvcDescr (char *abilityName, char *abilityType)
 Adds a Abilty to the Service Description of the SvcMngr.
void addNewNeedToSvcDescr (char *needName, char *needType)
 Adds a Need to the Service Description of the SvcMngr.
void addNewNeedToSvcDescr (char *needName, char *needType, const char *predicate)
 Adds a Need to the Service Description of the SvcMngr.
void addNewConfigurationToSvcDescr (char *needName, char *needType)
 Adds a new Configuration Need to the Service Description of the SvcMngr.
void addNewConfigurationToSvcDescr (char *needName, char *needType, const char *predicate)
 Adds a new Configuration Need to the Service Description of the SvcMngr.
void removeNeeds ()
 removes all Abilities and Needs
void lockMutex ()
 Mutex functions.
ActiveServiceDescription_ptr getServiceDescr ()
 returns a pointer to the ServiceDescription
void gotEvent (Receiver *gotFrom)
 This Routine gets called everytime a receiver gets an Event.
void addNewAbilityToSvcDescr (char *abilityName, char *abilityType)
 Adds a Abilty to the Service Description of the SvcMngr.
void addNewNeedToSvcDescr (char *needName, char *needType)
 Adds a Need to the Service Description of the SvcMngr.
void addNewNeedToSvcDescr (char *needName, char *needType, const char *predicate)
 Adds a Need to the Service Description of the SvcMngr.
void addNewConfigurationToSvcDescr (char *needName, char *needType)
 Adds a new Configuration Need to the Service Description of the SvcMngr.
void addNewConfigurationToSvcDescr (char *needName, char *needType, const char *predicate)
 Adds a new Configuration Need to the Service Description of the SvcMngr.
void removeNeeds ()
 removes all Abilities and Needs
void lockMutex ()
 Mutex function.
void unlockMutex ()
 Mutex function.
ActiveServiceDescription_ptr getServiceDescr ()
 returns a pointer to the ServiceDescription
void gotEvent (Receiver *gotFrom)
 This Routine gets called everytime a receiver gets an Event.
void addNewAbilityToSvcDescr (char *abilityName, char *abilityType)
 Adds a Abilty to the Service Description of the SvcMngr.
void addNewNeedToSvcDescr (char *needName, char *needType)
 Adds a Need to the Service Description of the SvcMngr.
void addNewNeedToSvcDescr (char *needName, char *needType, const char *predicate)
 Adds a Need to the Service Description of the SvcMngr.
void addNewConfigurationToSvcDescr (char *needName, char *needType)
 Adds a new Configuration Need to the Service Description of the SvcMngr.
void addNewConfigurationToSvcDescr (char *needName, char *needType, const char *predicate)
 Adds a new Configuration Need to the Service Description of the SvcMngr.
void removeNeeds ()
 removes all Abilities and Needs
void lockMutex ()
 Mutex function.
void unlockMutex ()
 Mutex function.
ActiveServiceDescription_ptr getServiceDescr ()
 returns a pointer to the ServiceDescription

Protected Member Functions

virtual void calculate (Receiver *gotFrom)
 Overwrite this Routine to make your Filter do anything at all.
virtual void configure (Receiver *gotFrom)
 Overwrite this Routine to make your Filter configurable.
CORBA::Object_ptr createAbilityObject (DWARF::AbilityDescription_ptr abilityDescr)
 Create an Ability object for a given description.
CORBA::Object_ptr createNeedObject (DWARF::NeedDescription_ptr needDescr)
 Create a Need object for a given description.
void run ()
 core method of service. Sends events every second.
virtual void calculate (Receiver *gotFrom)
 Overwrite this Routine to make your Filter do anything at all.
virtual void configure (Receiver *gotFrom)
 Overwrite this Routine to make your Filter configurable.
CORBA::Object_ptr createAbilityObject (DWARF::AbilityDescription_ptr abilityDescr)
 Create an Ability object for a given description.
CORBA::Object_ptr createNeedObject (DWARF::NeedDescription_ptr needDescr)
 Create a Need object for a given description.
void run ()
 core method of the filter service. Keeps the filter running
virtual void calculate (Receiver *gotFrom)
 Overwrite this Routine to make your Filter do anything at all.
virtual void configure (Receiver *gotFrom)
 Overwrite this Routine to make your Filter configurable.
CORBA::Object_ptr createAbilityObject (DWARF::AbilityDescription_ptr abilityDescr)
 Create an Ability object for a given description.
CORBA::Object_ptr createNeedObject (DWARF::NeedDescription_ptr needDescr)
 Create a Need object for a given description.
void run ()
 core method of the filter service. Keeps the filter running

Protected Attributes

CommonList< Sender * > SndList
 declaration of the Lists, where the pointers to the Needs/Abilitys are stored
CommonList< Sender * > SndList
 linked list for the sender objects
CommonList< Receiver * > RecList
 linked list for the receiver objects
CommonList< Receiver * > CfgList
 linked list for the configuration objects
CommonList< Sender * > SndList
 linked list for the sender objects
CommonList< Receiver * > RecList
 linked list for the receiver objects
CommonList< Receiver * > CfgList
 linked list for the configuration objects

Detailed Description

The class handling the basic Filter functions . This Class handling all the basic Filter functions for adding and removing abilities and needs.

Definition at line 15 of file Interpolator/Filter.h.


Member Function Documentation

void Filter::addNewAbilityToSvcDescr char *  abilityName,
char *  abilityType
 

Adds a Abilty to the Service Description of the SvcMngr.

Parameters:
abilityName The Name of the new ability
abilityType The type of the new ability (e.g. PoseData)

void Filter::addNewAbilityToSvcDescr char *  abilityName,
char *  abilityType
 

Adds a Abilty to the Service Description of the SvcMngr.

Parameters:
abilityName The Name of the new ability
abilityType The type of the new ability (e.g. PoseData)

void Filter::addNewAbilityToSvcDescr char *  abilityName,
char *  abilityType
 

Adds a Abilty to the Service Description of the SvcMngr.

Parameters:
abilityName The Name of the new ability
abilityType The type of the new ability (e.g. PoseData)

Definition at line 195 of file Interpolator/Filter.cpp.

void Filter::addNewConfigurationToSvcDescr char *  needName,
char *  needType,
const char *  predicate
 

Adds a new Configuration Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
predicate The predicate to be set

void Filter::addNewConfigurationToSvcDescr char *  needName,
char *  needType
 

Adds a new Configuration Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need

void Filter::addNewConfigurationToSvcDescr char *  needName,
char *  needType,
const char *  predicate
 

Adds a new Configuration Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
predicate The predicate to be set

void Filter::addNewConfigurationToSvcDescr char *  needName,
char *  needType
 

Adds a new Configuration Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need

void Filter::addNewConfigurationToSvcDescr char *  needName,
char *  needType,
const char *  predicate
 

Adds a new Configuration Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
predicate The predicate to be set

Definition at line 285 of file Interpolator/Filter.cpp.

void Filter::addNewConfigurationToSvcDescr char *  needName,
char *  needType
 

Adds a new Configuration Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need

Definition at line 244 of file Interpolator/Filter.cpp.

void Filter::addNewNeedToSvcDescr char *  needName,
char *  needType,
const char *  predicate
 

Adds a Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
needType The type of the new need (e.g. PoseData)
predicate The predicate to be set

void Filter::addNewNeedToSvcDescr char *  needName,
char *  needType
 

Adds a Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
needType The type of the new need (e.g. PoseData)

void Filter::addNewNeedToSvcDescr char *  needName,
char *  needType,
const char *  predicate
 

Adds a Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
needType The type of the new need (e.g. PoseData)
predicate The predicate to be set

void Filter::addNewNeedToSvcDescr char *  needName,
char *  needType
 

Adds a Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
needType The type of the new need (e.g. PoseData)

void Filter::addNewNeedToSvcDescr char *  needName,
char *  needType,
const char *  predicate
 

Adds a Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
needType The type of the new need (e.g. PoseData)
predicate The predicate to be set

Definition at line 264 of file Interpolator/Filter.cpp.

void Filter::addNewNeedToSvcDescr char *  needName,
char *  needType
 

Adds a Need to the Service Description of the SvcMngr.

Parameters:
needName The Name of the new need
needType The type of the new need (e.g. PoseData)

Definition at line 224 of file Interpolator/Filter.cpp.

CORBA::Object_ptr Filter::createAbilityObject DWARF::AbilityDescription_ptr  abilityDescr  )  [protected, virtual]
 

Create an Ability object for a given description.

Parameters:
abilityDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

CORBA::Object_ptr Filter::createAbilityObject DWARF::AbilityDescription_ptr  abilityDescr  )  [protected, virtual]
 

Create an Ability object for a given description.

Parameters:
abilityDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

CORBA::Object_ptr Filter::createAbilityObject DWARF::AbilityDescription_ptr  abilityDescr  )  [protected, virtual]
 

Create an Ability object for a given description.

Parameters:
abilityDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

Definition at line 34 of file Interpolator/Filter.cpp.

CORBA::Object_ptr Filter::createNeedObject DWARF::NeedDescription_ptr  needDescr  )  [protected, virtual]
 

Create a Need object for a given description.

Parameters:
needDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

CORBA::Object_ptr Filter::createNeedObject DWARF::NeedDescription_ptr  needDescr  )  [protected, virtual]
 

Create a Need object for a given description.

Parameters:
needDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

CORBA::Object_ptr Filter::createNeedObject DWARF::NeedDescription_ptr  needDescr  )  [protected, virtual]
 

Create a Need object for a given description.

Parameters:
needDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

Definition at line 81 of file Interpolator/Filter.cpp.

void Filter::gotEvent Receiver gotFrom  ) 
 

This Routine gets called everytime a receiver gets an Event.

Parameters:
gotFrom Pointer to the Object that called this method

void Filter::gotEvent Receiver gotFrom  ) 
 

This Routine gets called everytime a receiver gets an Event.

Parameters:
gotFrom Pointer to the Object that called this method

void Filter::gotEvent Receiver gotFrom  ) 
 

This Routine gets called everytime a receiver gets an Event.

Parameters:
gotFrom Pointer to the Object that called this method

Definition at line 129 of file Interpolator/Filter.cpp.

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