50 #ifndef _DeviceService_H_
51 #define _DeviceService_H_
55 #include "util/functions.h"
56 using namespace ::br::pucrio::telemidia::util;
58 #include "system/thread/Thread.h"
59 using namespace ::br::pucrio::telemidia::ginga::core::system::thread;
61 #include "../../RemoteDevice.h"
62 #include "IDeviceService.h"
73 namespace multidevice {
76 set<IRemoteDeviceListener*>* listeners;
77 map<unsigned int, IRemoteDevice*>* devices;
79 pthread_mutex_t lMutex;
80 pthread_mutex_t dMutex;
94 unsigned int deviceAddress,
101 virtual void newDeviceConnected(
unsigned int devAddr)=0;
102 virtual void connectedToBaseDevice(
unsigned int domainAddr)=0;
104 virtual bool receiveEvent(
105 unsigned int devAddr,
110 virtual bool receiveMediaContent(
111 unsigned int devAddr,
Definition: DeviceService.h:74
Definition: IRemoteDeviceListener.h:62
Definition: IRemoteDevice.h:59
Definition: IDeviceService.h:64