div class="twikiTopBar">

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

DWARF::ARTInterpreter Class Reference

This class acts as a parser for ART tracking data. More...

Inheritance diagram for DWARF::ARTInterpreter:

Inheritance graph
[legend]
Collaboration diagram for DWARF::ARTInterpreter:

Collaboration graph
[legend]

Public Member Functions

 ARTInterpreter (int port, int divider=1)
 ~ARTInterpreter ()
int processData (bool bSend=true)
void run ()
 The run method for the service.

Detailed Description

This class acts as a parser for ART tracking data.

Definition at line 32 of file ARTInterpreter.h.


Constructor & Destructor Documentation

ARTInterpreter::ARTInterpreter int  port,
int  divider = 1
 

Creates a ARTInterpreter and sets up the socket communication

Parameters:
sender PoseSenderService object for sending events
port UDP port number
divider only send every <divider> frame

Definition at line 37 of file ARTInterpreter.cpp.

ARTInterpreter::~ARTInterpreter  ) 
 

Deletes this ARTInterpreter.

Definition at line 47 of file ARTInterpreter.cpp.


Member Function Documentation

int ARTInterpreter::processData bool  bSend = true  ) 
 

Reads the next frame and processes it (sending events etc.)

Returns:
the current frame number

Definition at line 52 of file ARTInterpreter.cpp.

void ARTInterpreter::run  )  [virtual]
 

The run method for the service.

This method is called when the service is started. It initiates the processing of the frames.

Implements DWARF::PoseService.

Definition at line 249 of file ARTInterpreter.cpp.

DWARF::ARTInterpreter Class Reference | generated on Sun Apr 29 02:02:03 2007 by Doxygen 1.4.1 for DWARF