|
| DeviceControl (DeviceControl &parent) |
|
| DeviceControl (DeviceControl *parent=nullptr) |
|
bool | configureRoot (ControlPoint &controlPoint, const String &location, XML::Node *device) |
| Called on root device only during discovery. More...
|
|
DeviceControl & | root () |
| Get the root device. More...
|
|
const DeviceControl & | root () const |
|
String | getUrl (const String &path) const override |
| Get fully-qualified URL given a relative path. More...
|
|
String | getUrlBasePath () const override |
| Get relative path for this device. More...
|
|
ControlPoint & | controlPoint () const |
| Get managing control point for this device. More...
|
|
template<typename T > |
ServiceControl * | getService (const T &serviceType) |
| Find a service for this device given its class. More...
|
|
template<typename T > |
DeviceControl * | getDevice (const T &deviceType) |
| Find a child device given its class. More...
|
|
String | getField (Field desc) const override |
|
const String | udn () const |
| Get UDN for this device. More...
|
|
bool | configure (XML::Node *device) |
| Configure device using information from description document. More...
|
|
virtual void | onConnected (HttpConnection &connection) |
| Inherited classes may override this to pull out any additional information from received response headers, etc. Invoked after description has been processed. More...
|
|
DeviceControl * | getNext () |
|
DeviceControl & | parent () |
|
const Description & | description () |
| Get device description. More...
|
|
| Device (Device &parent) |
|
| Device (Device *parent=nullptr) |
|
String | caption () const |
|
String | resolvePath (const String &path) const |
| Resolve a path (relative or absolute) into an absolute path. More...
|
|
Device & | root () |
|
const Device & | root () const |
|
bool | isRoot () const |
|
template<class S , typename T > |
S * | getService (const T &serviceType) |
|
template<typename T > |
Service * | getService (const T &serviceType) |
|
template<class D , typename T > |
D * | getDevice (const T &deviceType) |
|
template<typename T > |
Device * | getDevice (const T &deviceType) |
|
void | search (const SearchFilter &filter) override |
| Called during SSDP search operation. More...
|
|
bool | formatMessage (Message &msg, MessageSpec &ms) override |
| Standard fields have been completed. More...
|
|
Urn | objectType () const override |
|
String | friendlyName () const |
|
bool | onHttpRequest (HttpServerConnection &connection) override |
| Called by framework to handle an incoming HTTP request. More...
|
|
void | addDevice (Device *device) |
|
void | addService (Service *service) |
|
XML::Node * | getDescription (XML::Document &doc, DescType descType) const override |
|
IDataSourceStream * | createDescription () override |
| Called by framework to construct a device description response stream. More...
|
|
ItemEnumerator * | getList (unsigned index, String &name) override |
|
void | sendXml (HttpResponse &response, IDataSourceStream *content) |
|
Device & | parent () |
|
Service::OwnedList & | services () |
|
OwnedList & | devices () |
|
Device * | getNext () const |
|
Iterator | begin () const |
|
Iterator | end () const |
|
virtual const ObjectClass & | getClass () const =0 |
|
Object * | getNext () const |
|
bool | typeIs (const Urn &objectType) const |
|
bool | typeIs (const String &objectType) const |
|
bool | typeIs (const ObjectClass &objectClass) const |
|
virtual Version | version () const |
|
virtual void | sendMessage (Message &msg, MessageSpec &ms) |
| Called by framework to construct then send a message. More...
|
|
Item * | next () const override |
|
LinkedItem * | getNext () const |
|
virtual | ~Item () |
|
bool | operator== (const Item &other) const |
|