SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Enumerations
WonderHeader.h File Reference

Go to the source code of this file.

Namespaces

 wonder
 A namespace for library- and system-independent WONDER-related classes.
 

Macros

#define MAX_WONDER_SOURCES   64
 The maximum number of sources. More...
 
#define COORD_MAX   100.0
 The maximum range of coordinates in meters. More...
 
#define COORD_MIN   -COORD_MAX
 The minimum range of coordinates in meters. More...
 
#define COORD_PRECISION   0.01
 The coordinates resolution in degree. More...
 
#define ANGLE_PRECISION   0.1
 The angle resolution in degree. More...
 
#define CWONDER_DEFAULT_IP_STR   "192.168.3.1"
 cWONDER's IP. More...
 
#define CWONDER_DEFAULT_PORT_STR   "58100"
 cWONDER's port. More...
 
#define VISUAL_MC_GROUP_STR   "239.0.111.111"
 The multicast group's IP. More...
 
#define VISUAL_MC_PORT_STR   "11111"
 The group's port. More...
 
#define VISUAL_MC_IFACE_IP_STR   "127.0.0.1"
 The IP of the interface where the mutlicast messages are sent from. More...
 
#define VISUAL_MC_TTL   0
 The time-to-live value for messages sent to the multicast group. More...
 
#define MULTICASTER_PORT_STR   "58800"
 The multicaster's port for receiving /WONDER/stream/<streamname>/connect messages. More...
 
#define MULTICASTER_STREAM_IN_PORT_STR   "58801"
 The multicaster's port for receiving the incoming stream from cWONDER. More...
 
#define PING_TIMEOUT_INTERVAL   3000
 The maximum allowed interval between two ping messages (in ms). More...
 

Enumerations

enum  wonder::ConnectionStates { wonder::inactive = 0, wonder::active, wonder::error }
 An enum describing the differents states of an incoming connection. More...
 

Macro Definition Documentation

#define ANGLE_PRECISION   0.1

The angle resolution in degree.

More precisely: the minimum difference between the last angle value that was sent and the current one for a new angle message to be sent.

#define COORD_MAX   100.0

The maximum range of coordinates in meters.

Coordinates can range from COORD_MIN to COORD_MAX.

#define COORD_MIN   -COORD_MAX

The minimum range of coordinates in meters.

Coordinates can range from COORD_MIN to COORD_MAX.

#define COORD_PRECISION   0.01

The coordinates resolution in degree.

More precisely: the minimum difference between the last coordinate value that was sent and the current one for a new position message to be sent.

#define CWONDER_DEFAULT_IP_STR   "192.168.3.1"

cWONDER's IP.

#define CWONDER_DEFAULT_PORT_STR   "58100"

cWONDER's port.

#define MAX_WONDER_SOURCES   64

The maximum number of sources.

#define MULTICASTER_PORT_STR   "58800"

The multicaster's port for receiving /WONDER/stream/<streamname>/connect messages.

#define MULTICASTER_STREAM_IN_PORT_STR   "58801"

The multicaster's port for receiving the incoming stream from cWONDER.

#define PING_TIMEOUT_INTERVAL   3000

The maximum allowed interval between two ping messages (in ms).

If this is exceeded, the ping is considered lost.

#define VISUAL_MC_GROUP_STR   "239.0.111.111"

The multicast group's IP.

#define VISUAL_MC_IFACE_IP_STR   "127.0.0.1"

The IP of the interface where the mutlicast messages are sent from.

#define VISUAL_MC_PORT_STR   "11111"

The group's port.

#define VISUAL_MC_TTL   0

The time-to-live value for messages sent to the multicast group.