libupnpp
0.16.0
A C++ wrapper for the Portable UPnP reference library
|
To be implemented by upper-level client code for event reporting. More...
#include <service.hxx>
Public Member Functions | |
virtual void | changed (const char *nm, int val)=0 |
Report change to named integer state variable. | |
virtual void | changed (const char *nm, const char *val)=0 |
Report change to named character string state variable. | |
virtual void | changed (const char *, UPnPDirObject) |
Report change to track metadata (parsed as as Content Directory entry). More... | |
virtual void | changed (const char *, std::vector< int >) |
Special for ohplaylist. More... | |
virtual void | autorenew_failed () |
Subscription autorenew failed. More... | |
To be implemented by upper-level client code for event reporting.
Runs in an event thread. This could for example be implemented by a Qt Object to generate events for the GUI.
This is used by all "precooked" UPnP/AV service classes in the library. The derived Service class does a bit of parsing for common cases. The different methods cover all current types of audio UPnP state variable data I am aware of. Of course, other types of data can be reported as a character string, leaving the parsing to the client code.
In the general case, you could also derive from Service, implement and install an evtCBFunc callback and not use VarEventReporter at all.
|
inlinevirtual |
Subscription autorenew failed.
You may want to schedule a resubscribe() later.
|
inlinevirtual |
Report change to track metadata (parsed as as Content Directory entry).
Not always needed
|
inlinevirtual |
Special for ohplaylist.
Not always needed