div class="twikiTopBar">

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

Example for the Template Service


Files

file  ExampleService.cpp
 The file containing the Example service class.
file  ExampleService.h
 The file containing the Example service class declaration.
file  NAClasses.cpp
 The file containing the Example service class declarations of classes handling all Needs and Abilities.

Data Structures

class  ExampleService
 The class handling the setup of needs & abilities. More...
class  FirstSender
 The class handling abilities of type FirstSender. More...
class  SecondSender
 The class handling abilities of type SecondSender. More...
class  FirstReceiver
 The class handling needs of type FirstReceiver. More...
class  SecondReceiver
 The class handling needs of type SecondReceiver. More...

Functions

int main (int argc, char **argv)
 Sets up the connection with the service manager.

Detailed Description

This is a simple Example service based on the C++ service template.

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

Example User <example@user.com>


Function Documentation

int main int  argc,
char **  argv
 

Sets up the connection with the service manager.

This method is responsible for setting up the connection between the service and the DWARF service manager. The sequence of action is as follows:

  1. Set up the connection to the DWARF service manager using the corbainit helper library.
  2. Instantiate an object of class TemplateService (your service's name respectively).
  3. Register this object at the service manager.
  4. Sleep until the service gets stopped.

Definition at line 100 of file src/templates/cppservice/example/main.cpp.

Example for the Template Service | generated on Sun Apr 29 02:01:11 2007 by Doxygen 1.4.1 for DWARF