Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Protected Member Functions | List of all members
br::pucrio::telemidia::ginga::core::multidevice::ActiveDeviceDomain Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::multidevice::ActiveDeviceDomain:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::multidevice::ActiveDeviceDomain:
Collaboration graph
[legend]

Public Member Functions

 ActiveDeviceDomain (bool useMulticast, int srvPort)
 
- Public Member Functions inherited from br::pucrio::telemidia::ginga::core::multidevice::DeviceDomain
 DeviceDomain (bool useMulticast, int srvPort)
 
bool isConnected ()
 
void postConnectionRequestTask ()
 
void postEventTask (int destDevClass, int frameType, char *payload, int payloadSize)
 
virtual void setDeviceInfo (int width, int height, string base_device_ncl_path)
 
int getDeviceClass ()
 
virtual void addDeviceListener (IRemoteDeviceListener *listener)
 
virtual void removeDeviceListener (IRemoteDeviceListener *listener)
 

Protected Member Functions

bool taskRequest (int destDevClass, char *data, int taskSize)
 
bool passiveTaskRequest (char *data, int taskSize)
 
bool activeTaskRequest (char *data, int taskSize)
 
void postConnectionRequestTask (int width, int height)
 
void receiveConnectionRequest (char *task)
 
void postAnswerTask (int reqDeviceClass, int answer)
 
void receiveAnswerTask (char *answerTask)
 
bool postMediaContentTask (int destDevClass, string url)
 
bool receiveMediaContentTask (char *task)
 
bool receiveEventTask (char *task)
 
bool runControlTask ()
 
bool runDataTask ()
 
void checkDomainTasks ()
 
- Protected Member Functions inherited from br::pucrio::telemidia::ginga::core::multidevice::DeviceDomain
void clearHeader ()
 
bool broadcastTaskRequest (char *data, int taskSize)
 
char * taskReceive ()
 
void parseTaskHeader ()
 
void printTaskHeader ()
 
bool addDevice (int reqDeviceClass, int width, int height, int srvPort)
 

Additional Inherited Members

- Static Public Attributes inherited from br::pucrio::telemidia::ginga::core::multidevice::IDeviceDomain
static const int CT_BASE = 0
 
static const int CT_PASSIVE = 1
 
static const int CT_ACTIVE = 2
 
static const int FT_CONNECTIONREQUEST = 0
 
static const int FT_ANSWERTOREQUEST = 1
 
static const int FT_KEEPALIVE = 2
 
static const int FT_MEDIACONTENT = 3
 
static const int FT_SELECTIONEVENT = 4
 
static const int FT_ATTRIBUTIONEVENT = 5
 
static const int FT_PRESENTATIONEVENT = 6
 
- Protected Attributes inherited from br::pucrio::telemidia::ginga::core::multidevice::DeviceDomain
IDeviceServicedeviceService
 
ISocketServicebroadcastService
 
RemoteEventServiceres
 
unsigned int sourceIp
 
int bytesRecv
 
int deviceClass
 
int deviceWidth
 
int deviceHeight
 
int destClass
 
int frameType
 
int schedulePost
 
int schedDevClass
 
double receivedTimeStamp
 
double sentTimeStamp
 
unsigned int frameSize
 
bool connected
 
bool newAnswerPosted
 
bool enableMulticast
 
int servicePort
 
string base_device_ncl_path
 
- Static Protected Attributes inherited from br::pucrio::telemidia::ginga::core::multidevice::DeviceDomain
static char headerStream [HEADER_SIZE]
 
static char * mdFrame = new char[MAX_FRAME_SIZE]
 
static unsigned int myIP = 0
 
static bool taskIndicationFlag = false
 

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