div class="twikiTopBar">

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

JeepService Class Reference
[Jeep Im Sheep Land]

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

Inheritance diagram for JeepService:

Inheritance graph
[legend]
Collaboration diagram for JeepService:

Collaboration graph
[legend]

Public Member Functions

 JeepService ()
 Constructor.
virtual ~JeepService ()
 Destructor.
void setPose (PoseData *pose, DWARF::NeedDescription_ptr p_needDescr)
 Set position of Jeep or Sheep.
void onImport (SoundPlayerService::_ptr_type pInterface, ObjrefImporterNeed< SoundPlayerService > *pImporter)
 import an SoundPlayerService objref
void onImport (ViewerControl::_ptr_type pInterface, ObjrefImporterNeed< ViewerControl > *pImporter)
 import an ViewControl objref

Protected Member Functions

void run ()
 The ccre method of the service. Started in a separate thread Once this method returns, this thread is terminated.

Private Member Functions

void initLookAndFeel ()
 Initialize the Jeep Look&Feel.
std::string ReadVRMLContent (std::string filename) const
 Read the vrml file.

Detailed Description

The class handling the setup of needs & abilities.

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

Author:
Leslie Klein <kleinl@in.tum.de>

Georg Kalus <kalus@in.tum.de>

Christopher Leopold <leopold@in.tum.de>

Martin Wagner <martin.wagner@in.tum.de>

Michael Schlegel <schlegem@in.tum.de>

Definition at line 69 of file JeepService.h.


Member Function Documentation

void JeepService::initLookAndFeel  )  [private]
 

Initialize the Jeep Look&Feel.

Reads the vrml file and create a JeepLookAndFeel object

Definition at line 117 of file JeepService.cpp.

std::string JeepService::ReadVRMLContent std::string  filename  )  const [private]
 

Read the vrml file.

Reads the vrml file and returns the content via string

Parameters:
Filename 
Returns:
file content

Definition at line 90 of file JeepService.cpp.

void JeepService::run  )  [protected, virtual]
 

The ccre method of the service. Started in a separate thread Once this method returns, this thread is terminated.

The default implementation returns immediately. Use this method as the central workhorse of your service. First, initailize everything that's needed, then do some more or less useful work and finally return when m_shouldRun is set to false or some other conditions occurr.

Reimplemented from TemplateService.

Definition at line 444 of file JeepService.cpp.

void JeepService::setPose PoseData pose,
DWARF::NeedDescription_ptr  p_needDescr
 

Set position of Jeep or Sheep.

This method is called if a new positiondata is received.

Parameters:
pose position ata
DWARF::NeedDescription_ptr more details about the received data.

Definition at line 336 of file JeepService.cpp.

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