Play 'round
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions
Network Class Reference

The class deals with all the network related message passing and processing. More...

#include <Network.h>

List of all members.

Public Types

typedef std::map
< IpEndpointName, Peer * > 
PeerMap
typedef std::pair
< IpEndpointName, Peer * > 
PeerData
typedef void(Network::* HandlerFunction )(const osc::ReceivedMessage &, const IpEndpointName &)
typedef std::map< std::string,
HandlerFunction > 
HandlerMap
typedef std::pair< std::string,
HandlerFunction > 
HandlerData

Public Member Functions

void listen (int)
void addPeer (Peer &)
PeerMap * getPeers ()
int getPort ()
void setEngine (Engine *)
void sendPeerUpMessage ()
void sendPeerDownMessage ()
void sendPeerMessage (const std::string)
void sendPeerTextMessage (const std::string)
void sendMousePosition (const float x, const float y, const bool down)
void sendPlucker (const Track *)
void sendObjectMessage (const Widget *, bool=false)
void sendRoundPadTextMessage (const RoundPad *)

Protected Member Functions

virtual void ProcessMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void broadcast (const osc::OutboundPacketStream &)
void handlePeerUpMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handlePeerDownMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handlePeerTextMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectPadMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectPadTextMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handlePluckerMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectSpiralMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectLineMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectStringMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectDeleteMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleObjectQueryMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void handleMousePositionMessage (const osc::ReceivedMessage &, const IpEndpointName &)
void rescueOrphans ()

Static Protected Member Functions

static void * listen (void *)

Detailed Description

The class deals with all the network related message passing and processing.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations