CommMulticastStream.h File Reference

#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <arpa/inet.h>
#include <netinet/in.h>
#include "RioInterfaceTypes.h"
#include "RioInterface.h"
#include "BufferStream.h"

Go to the source code of this file.

Data Structures

class  AddressIP
class  CommunicationItemData
class  CommunicationItem
class  CommunicationTable
class  CommunicationStream
class  CommunicationStreamThreadParam
struct  msgIP
struct  msgBlock
struct  msgPID
struct  msgMove
struct  msgMode

Defines

#define COMMPORT   7998
#define RESULT_COMMUNICATION_SEARCH_NULL_REFERENCE   0x01
#define RESULT_COMMUNICATION_SEARCH_EMPTY_LIST   0x02
#define RESULT_COMMUNICATION_SEARCH_NOT_FOUND   0x03
#define RESULT_COMMUNICATION_SEARCH_FOUND   0x00
#define RESULT_COMMUNICATION_INSERT_ALREADY_EXIST   0x01
#define RESULT_COMMUNICATION_INSERT_ERROR   0x02
#define RESULT_COMMUNICATION_INSERT_OK   0x00
#define RESULT_COMMUNICATION_REMOVE_ERROR   0x02
#define RESULT_COMMUNICATION_REMOVE_NOT_FOUND   0x03
#define RESULT_COMMUNICATION_REMOVE_OK   0x00
#define RESULT_COMMUNICATION_CHANGE_ERROR   0x02
#define RESULT_COMMUNICATION_CHANGE_NOT_FOUND   0x03
#define RESULT_COMMUNICATION_CHANGE_OK   0x00
#define MSGCODE_IP   0x00
#define MSGCODE_BLOCK   0x01
#define MSGCODE_PID   0x02
#define MSGCODE_MOVE   0x03
#define MSGCODE_MODE   0x04
#define MSGCODE_FLUXO   0x05
#define MAXLEN_MSGSTRUCT   1024

Enumerations

enum  MoveAction {
  ACTION_PLAY, ACTION_STOP, ACTION_PAUSE, ACTION_FORWARD,
  ACTION_REWIND, ACTION_READBUFFER, ACTION_REACHLEADER
}
enum  IPAction { JOIN_THIS, LEAVE_THIS, LEAVE_ALL, KEEP_THIS }

Define Documentation

#define COMMPORT   7998

Definition at line 21 of file CommMulticastStream.h.

#define MAXLEN_MSGSTRUCT   1024

Definition at line 47 of file CommMulticastStream.h.

#define MSGCODE_BLOCK   0x01

Definition at line 41 of file CommMulticastStream.h.

#define MSGCODE_FLUXO   0x05

Definition at line 45 of file CommMulticastStream.h.

#define MSGCODE_IP   0x00

Definition at line 40 of file CommMulticastStream.h.

#define MSGCODE_MODE   0x04

Definition at line 44 of file CommMulticastStream.h.

#define MSGCODE_MOVE   0x03

Definition at line 43 of file CommMulticastStream.h.

#define MSGCODE_PID   0x02

Definition at line 42 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_CHANGE_ERROR   0x02

Definition at line 36 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_CHANGE_NOT_FOUND   0x03

Definition at line 37 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_CHANGE_OK   0x00

Definition at line 38 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_INSERT_ALREADY_EXIST   0x01

Definition at line 28 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_INSERT_ERROR   0x02

Definition at line 29 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_INSERT_OK   0x00

Definition at line 30 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_REMOVE_ERROR   0x02

Definition at line 32 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_REMOVE_NOT_FOUND   0x03

Definition at line 33 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_REMOVE_OK   0x00

Definition at line 34 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_SEARCH_EMPTY_LIST   0x02

Definition at line 24 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_SEARCH_FOUND   0x00

Definition at line 26 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_SEARCH_NOT_FOUND   0x03

Definition at line 25 of file CommMulticastStream.h.

#define RESULT_COMMUNICATION_SEARCH_NULL_REFERENCE   0x01

Definition at line 23 of file CommMulticastStream.h.


Enumeration Type Documentation

enum IPAction
Enumerator:
JOIN_THIS 
LEAVE_THIS 

Cliente dever� se unir a este grupo multicast.

LEAVE_ALL 

Cliente dever� abandonar este grupo multicast.

KEEP_THIS 

Cliente dever� abandonar todos os grupos multicasts.

Cliente deve permanecer neste grupo multicast

Definition at line 81 of file CommMulticastStream.h.

00082 {   
00083     JOIN_THIS,  ///Cliente dever� se unir a este grupo multicast
00084     LEAVE_THIS, ///Cliente dever� abandonar este grupo multicast
00085     LEAVE_ALL,  /// Cliente dever� abandonar todos os grupos multicasts
00086     KEEP_THIS   ///Cliente deve permanecer neste grupo multicast
00087 } IPAction;

enum MoveAction
Enumerator:
ACTION_PLAY 
ACTION_STOP 
ACTION_PAUSE 
ACTION_FORWARD 
ACTION_REWIND 
ACTION_READBUFFER 
ACTION_REACHLEADER 

Definition at line 70 of file CommMulticastStream.h.

00071 {   
00072     ACTION_PLAY,
00073     ACTION_STOP,
00074     ACTION_PAUSE,
00075     ACTION_FORWARD,
00076     ACTION_REWIND,
00077     ACTION_READBUFFER,
00078     ACTION_REACHLEADER
00079 } MoveAction;

Generated on Wed Jul 4 16:03:29 2012 for RIO by  doxygen 1.6.3