48 #include "PltUtilities.h"
53 #define PLT_DLNA_SSDP_DELAY 0.05f
54 #define PLT_DLNA_SSDP_DELAY_GROUP 0.2f
81 NPT_Result
AddDevice(PLT_DeviceHostReference& device);
87 NPT_Result
AddCtrlPoint(PLT_CtrlPointReference& ctrlpoint);
93 NPT_Result
RemoveDevice(PLT_DeviceHostReference& device);
131 NPT_List<PLT_DeviceHostReference> m_Devices;
132 NPT_List<PLT_CtrlPointReference> m_CtrlPoints;
133 NPT_Reference<PLT_TaskManager> m_TaskManager;
140 bool m_IgnoreLocalUUIDs;
void SetIgnoreLocalUUIDs(bool ignore)
When a device and a control point are added to the same UPnP context, it is desired that the device b...
Definition: PltUPnP.h:126
NPT_Result RemoveCtrlPoint(PLT_CtrlPointReference &ctrlpoint)
Remove an existing control point from this UPnP context.
NPT_Result AddCtrlPoint(PLT_CtrlPointReference &ctrlpoint)
Add and start a control point inside this UPnP context.
The PLT_UPnP class maintains a list of devices (PLT_DeviceHost) to advertise and/or control points (P...
Definition: PltUPnP.h:68
The PLT_SsdpListenTask class is used to listen for incoming SSDP packets and keep track of a list of ...
Definition: PltSsdp.h:310
NPT_Result Start()
Start the UPnP context and all existing devices and control points associated with it...
PLT_UPnP()
Create a UPnP instance.
bool IsRunning()
Return the UPnP Engine state.
Definition: PltUPnP.h:117
NPT_Result Stop()
Stop the UPnP context and all existing devices and control points associated with it...
NPT_Result AddDevice(PLT_DeviceHostReference &device)
Add and start a device inside this UPnP context.
NPT_Result RemoveDevice(PLT_DeviceHostReference &device)
Remove an existing device from this UPnP context.