div class="twikiTopBar">

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

ExampleService Class Reference
[Example for the Template Service]

The class handling the setup of needs & abilities. More...

Inheritance diagram for ExampleService:

Inheritance graph
[legend]
Collaboration diagram for ExampleService:

Collaboration graph
[legend]

Public Member Functions

int getCounter ()
 Return an ever increasing internal counter.

Protected Member Functions

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.

Detailed Description

The class handling the setup of needs & abilities.

This class is derived from the DWARF C++ Template service.

Author:
Martin Wagner <wagnerm@in.tum.de>

Example User <example@user.com>

Definition at line 77 of file ExampleService.h.


Member Function Documentation

CORBA::Object_ptr ExampleService::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 69 of file ExampleService.cpp.

CORBA::Object_ptr ExampleService::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 119 of file ExampleService.cpp.

int ExampleService::getCounter  )  [inline]
 

Return an ever increasing internal counter.

Returns:
the counter value

Definition at line 85 of file ExampleService.h.

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