#include <TuioDispatcher.h>
|
std::list< TuioListener * > | listenerList |
|
std::list< TuioObject * > | objectList |
|
std::list< TuioCursor * > | cursorList |
|
std::list< TuioBlob * > | blobList |
|
pthread_mutex_t | objectMutex |
|
pthread_mutex_t | cursorMutex |
|
pthread_mutex_t | blobMutex |
|
The TuioDispatcher generates TUIO events which are broadcasted to all registered classes that implement the TuioListener interface.
- Author
- Martin Kaltenbrunner
- Version
- 1.1.6
◆ TuioDispatcher()
TuioDispatcher::TuioDispatcher |
( |
| ) |
|
◆ ~TuioDispatcher()
TuioDispatcher::~TuioDispatcher |
( |
| ) |
|
The destructor is doing nothing in particular.
◆ addTuioListener()
void TuioDispatcher::addTuioListener |
( |
TuioListener * |
listener | ) |
|
Adds the provided TuioListener to the list of registered TUIO event listeners
- Parameters
-
◆ copyTuioBlobs()
std::list< TuioBlob > TuioDispatcher::copyTuioBlobs |
( |
| ) |
|
Returns a List with a copy of currently active TuioBlobs
- Returns
- a List with a copy of all currently active TuioBlobs
◆ copyTuioCursors()
std::list< TuioCursor > TuioDispatcher::copyTuioCursors |
( |
| ) |
|
Returns a List with a copy of currently active TuioCursors
- Returns
- a List with a copy of all currently active TuioCursors
◆ copyTuioObjects()
std::list< TuioObject > TuioDispatcher::copyTuioObjects |
( |
| ) |
|
Returns a List with a copy of currently active TuioObjects
- Returns
- a List with a copy of all currently active TuioObjects
◆ getTuioBlob()
TuioBlob * TuioDispatcher::getTuioBlob |
( |
long |
s_id | ) |
|
Returns the TuioBlob corresponding to the provided Session ID or NULL if the Session ID does not refer to an active TuioBlob
- Returns
- an active TuioBlob corresponding to the provided Session ID or NULL
◆ getTuioBlobs()
std::list< TuioBlob * > TuioDispatcher::getTuioBlobs |
( |
| ) |
|
Returns a List of all currently active TuioBlobs
- Returns
- a List of all currently active TuioBlobs
◆ getTuioCursor()
TuioCursor * TuioDispatcher::getTuioCursor |
( |
long |
s_id | ) |
|
Returns the TuioCursor corresponding to the provided Session ID or NULL if the Session ID does not refer to an active TuioCursor
- Returns
- an active TuioCursor corresponding to the provided Session ID or NULL
◆ getTuioCursors()
std::list< TuioCursor * > TuioDispatcher::getTuioCursors |
( |
| ) |
|
Returns a List of all currently active TuioCursors
- Returns
- a List of all currently active TuioCursors
◆ getTuioObject()
TuioObject * TuioDispatcher::getTuioObject |
( |
long |
s_id | ) |
|
Returns the TuioObject corresponding to the provided Session ID or NULL if the Session ID does not refer to an active TuioObject
- Returns
- an active TuioObject corresponding to the provided Session ID or NULL
◆ getTuioObjects()
std::list< TuioObject * > TuioDispatcher::getTuioObjects |
( |
| ) |
|
Returns a List of all currently active TuioObjects
- Returns
- a List of all currently active TuioObjects
◆ lockBlobList()
void TuioDispatcher::lockBlobList |
( |
| ) |
|
Locks the TuioBlob list in order to avoid updates during access
◆ lockCursorList()
void TuioDispatcher::lockCursorList |
( |
| ) |
|
Locks the TuioCursor list in order to avoid updates during access
◆ lockObjectList()
void TuioDispatcher::lockObjectList |
( |
| ) |
|
Locks the TuioObject list in order to avoid updates during access
◆ removeAllTuioListeners()
void TuioDispatcher::removeAllTuioListeners |
( |
| ) |
|
Removes all TuioListener from the list of registered TUIO event listeners
◆ removeTuioListener()
void TuioDispatcher::removeTuioListener |
( |
TuioListener * |
listener | ) |
|
Removes the provided TuioListener from the list of registered TUIO event listeners
- Parameters
-
◆ unlockBlobList()
void TuioDispatcher::unlockBlobList |
( |
| ) |
|
◆ unlockCursorList()
void TuioDispatcher::unlockCursorList |
( |
| ) |
|
◆ unlockObjectList()
void TuioDispatcher::unlockObjectList |
( |
| ) |
|
The documentation for this class was generated from the following files: