SPIN Framework
Public Member Functions

spin::EventHandler Class Reference

#include <EventHandler.h>

List of all members.

Public Member Functions

virtual void onServerChange (std::vector< InfoMessage * > serverList)
virtual void onSceneMessage (const char *, lo_arg **, int)
virtual void onNodeMessage (ReferencedNode *, const char *, lo_arg **, int)
virtual void onInfoMessage (spin::InfoMessage *)

Detailed Description

EventHandler can be inherited in order to be receive notifications whenever the spin context receives a message.


Member Function Documentation

virtual void spin::EventHandler::onInfoMessage ( spin::InfoMessage ) [inline, virtual]

Event handler for info messages.

Note: this is sent repeatedly at the ping rate of the server (but only in the case where this spin context is running in client mode).

virtual void spin::EventHandler::onNodeMessage ( ReferencedNode ,
const char *  ,
lo_arg **  ,
int   
) [inline, virtual]

Event handler for node messages

virtual void spin::EventHandler::onSceneMessage ( const char *  ,
lo_arg **  ,
int   
) [inline, virtual]

Event handler for scene messages (eg, createNode, deleteNode, etc).

virtual void spin::EventHandler::onServerChange ( std::vector< InfoMessage * >  serverList) [inline, virtual]

An event that occurs whenever the server list changes (spin clients only)


The documentation for this class was generated from the following files: