© 2006-2007 ETH Zurich

org.ximtec.igesture.io.tuio
Interface TuioListener

All Known Subinterfaces:
ITuioReader
All Known Implementing Classes:
TuioReader, TuioReader2D, TuioReader3D

public interface TuioListener

The TuioListener interface provides a simple callback infrastructure which is used by the TuioProcessor class to dispatch TUIO events to all registered instances of classes that implement the TuioListener interface defined here.

Any class that implements the TuioListener interface is required to implement all of the callback methods defined here.

Version:
1.4
Author:
Martin Kaltenbrunner, Bjorn Puype

Method Summary
 void addTuioCursor(AbstractTuioCursor tcur)
          This callback method is invoked by the TuioClient when a new TuioCursor is added to the session.
 void addTuioObject(AbstractTuioObject tobj)
          This callback method is invoked by the TuioClient when a new TuioObject is added to the session.
 void refresh(TuioTime ftime)
          This callback method is invoked by the TuioClient to mark the end of a received TUIO message bundle.
 void removeTuioCursor(AbstractTuioCursor tcur)
          This callback method is invoked by the TuioClient when an existing TuioCursor is removed from the session.
 void removeTuioObject(AbstractTuioObject tobj)
          This callback method is invoked by the TuioClient when an existing TuioObject is removed from the session.
 void updateTuioCursor(AbstractTuioCursor tcur)
          This callback method is invoked by the TuioClient when an existing TuioCursor is updated during the session.
 void updateTuioObject(AbstractTuioObject tobj)
          This callback method is invoked by the TuioClient when an existing TuioObject is updated during the session.
 

Method Detail

addTuioObject

void addTuioObject(AbstractTuioObject tobj)
This callback method is invoked by the TuioClient when a new TuioObject is added to the session.

Parameters:
tobj - the TuioObject reference associated to the addTuioObject event

updateTuioObject

void updateTuioObject(AbstractTuioObject tobj)
This callback method is invoked by the TuioClient when an existing TuioObject is updated during the session.

Parameters:
tobj - the TuioObject reference associated to the updateTuioObject event

removeTuioObject

void removeTuioObject(AbstractTuioObject tobj)
This callback method is invoked by the TuioClient when an existing TuioObject is removed from the session.

Parameters:
tobj - the TuioObject reference associated to the removeTuioObject event

addTuioCursor

void addTuioCursor(AbstractTuioCursor tcur)
This callback method is invoked by the TuioClient when a new TuioCursor is added to the session.

Parameters:
tcur - the TuioCursor reference associated to the addTuioCursor event

updateTuioCursor

void updateTuioCursor(AbstractTuioCursor tcur)
This callback method is invoked by the TuioClient when an existing TuioCursor is updated during the session.

Parameters:
tcur - the TuioCursor reference associated to the updateTuioCursor event

removeTuioCursor

void removeTuioCursor(AbstractTuioCursor tcur)
This callback method is invoked by the TuioClient when an existing TuioCursor is removed from the session.

Parameters:
tcur - the TuioCursor reference associated to the removeTuioCursor event

refresh

void refresh(TuioTime ftime)
This callback method is invoked by the TuioClient to mark the end of a received TUIO message bundle.

Parameters:
ftime - the TuioTime associated to the current TUIO message bundle

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.