|
| PLT_DeviceData (NPT_HttpUrl description_url=NPT_HttpUrl(NULL, 0, "/description.xml"), const char *uuid="", NPT_TimeInterval lease_time= *PLT_Constants::GetInstance().GetDefaultDeviceLease(), const char *device_type="", const char *friendly_name="") |
|
virtual NPT_Result | GetDescription (NPT_String &desc) |
|
virtual NPT_String | GetDescriptionUrl (const char *ip_address=NULL) |
|
virtual NPT_HttpUrl | GetURLBase () |
|
virtual NPT_HttpUrl | NormalizeURL (const NPT_String &url) |
|
virtual NPT_Result | GetDescription (NPT_XmlElementNode *parent, NPT_XmlElementNode **device=NULL) |
|
virtual NPT_String | GetIconUrl (const char *mimetype=NULL, NPT_Int32 maxsize=0, NPT_Int32 maxdepth=0) |
|
bool | IsRoot () |
|
const NPT_TimeInterval & | GetLeaseTime () const |
|
const NPT_String & | GetUUID () const |
|
const NPT_String & | GetFriendlyName () const |
|
const NPT_String & | GetType () const |
|
const NPT_String & | GetModelDescription () const |
|
const NPT_String & | GetParentUUID () const |
|
const NPT_IpAddress & | GetLocalIP () const |
|
const NPT_Array< PLT_Service * > & | GetServices () const |
|
const NPT_Array< PLT_DeviceDataReference > & | GetEmbeddedDevices () const |
|
NPT_Result | FindEmbeddedDevice (const char *uuid, PLT_DeviceDataReference &device) |
|
NPT_Result | FindEmbeddedDeviceByType (const char *type, PLT_DeviceDataReference &device) |
|
NPT_Result | FindServiceById (const char *id, PLT_Service *&service) |
|
NPT_Result | FindServiceByType (const char *type, PLT_Service *&service) |
|
NPT_Result | FindServiceByName (const char *name, PLT_Service *&service) |
|
NPT_Result | FindServiceBySCPDURL (const char *url, PLT_Service *&service, bool recursive=false) |
|
NPT_Result | FindServiceByControlURL (const char *url, PLT_Service *&service, bool recursive=false) |
|
NPT_Result | FindServiceByEventSubURL (const char *url, PLT_Service *&service, bool recursive=false) |
|
NPT_Result | AddEmbeddedDevice (PLT_DeviceDataReference &device) |
|
NPT_Result | RemoveEmbeddedDevice (PLT_DeviceDataReference &device) |
|
NPT_Result | AddService (PLT_Service *service) |
|
NPT_Result | RemoveService (PLT_Service *service) |
|
void | SetBootId (NPT_UInt32 bootId) |
|
void | SetNextBootId (NPT_UInt32 nextBootId) |
|
NPT_UInt32 | GenerateNextBootId () |
|
| operator const char * () |
|
The PLT_DeviceData class holds information about a device being advertised or found by a control point.
It maintains a list of services and embedded devices if any.