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

Public Member Functions

 BaseDeviceDomain (bool useMulticast, int srvPort)
 
virtual bool postMediaContentTask (int destDevClass, string url)
 
virtual void setDeviceInfo (int width, int height, string base_device_ncl_path)
 
- 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)
 
int getDeviceClass ()
 
virtual void addDeviceListener (IRemoteDeviceListener *listener)
 
virtual void removeDeviceListener (IRemoteDeviceListener *listener)
 

Protected Member Functions

virtual bool taskRequest (int destDevClass, char *data, int taskSize)
 
virtual bool passiveTaskRequest (char *data, int taskSize)
 
virtual bool activeTaskRequest (char *data, int taskSize)
 
virtual void postConnectionRequestTask (int width, int height)
 
virtual void receiveConnectionRequest (char *task)
 
virtual void postAnswerTask (int reqDeviceClass, int answer)
 
virtual void receiveAnswerTask (char *answerTask)
 
virtual bool receiveMediaContentTask (char *task)
 
virtual bool receiveEventTask (char *task)
 
virtual bool runControlTask ()
 
virtual bool runDataTask ()
 
virtual void checkPassiveTasks ()
 
virtual 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)
 

Protected Attributes

ISocketServicepassiveSocket
 
pthread_mutex_t pMutex
 
vector< RemoteTask * > passiveTasks
 
RemoteTask lastMediaContentTask
 
bool hasNewPassiveTask
 
int timerCount
 
double passiveTimestamp
 
- 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
 

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
 
- 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: