The PLT_UPnP class maintains a list of devices (PLT_DeviceHost) to advertise and/or control points (PLT_CtrlPoint).
More...
#include <PltUPnP.h>
The PLT_UPnP class maintains a list of devices (PLT_DeviceHost) to advertise and/or control points (PLT_CtrlPoint).
◆ AddCtrlPoint()
Add and start a control point inside this UPnP context.
- Parameters
-
ctrlpoint | control point to start. |
◆ AddDevice()
Add and start a device inside this UPnP context.
- Parameters
-
◆ IsRunning()
bool PLT_UPnP::IsRunning |
( |
| ) |
|
|
inline |
Return the UPnP Engine state.
- Returns
- True if the UPnP engine is running.
◆ RemoveCtrlPoint()
Remove an existing control point from this UPnP context.
- Parameters
-
ctrlpoint | control point to stop. |
◆ RemoveDevice()
Remove an existing device from this UPnP context.
- Parameters
-
◆ SetIgnoreLocalUUIDs()
void PLT_UPnP::SetIgnoreLocalUUIDs |
( |
bool |
ignore | ) |
|
|
inline |
When a device and a control point are added to the same UPnP context, it is desired that the device be not discovered by the control point.
For example when creating a combo UPnP Renderer/CtrlPoint. This methods tells the control point to ignore devices associated with the same UPnP context.
- Parameters
-
ignore | boolean to ignore devices in context |
The documentation for this class was generated from the following files:
- lib/libUPnP/Platinum/Source/Core/PltUPnP.h
- lib/libUPnP/Platinum/Source/Core/PltUPnP.cpp