libupnpp  0.16.0
A C++ wrapper for the Portable UPnP reference library
Public Member Functions | List of all members
UPnPClient::VarEventReporter Class Referenceabstract

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...
 

Detailed Description

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.

The 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.

Member Function Documentation

◆ changed() [1/2]

virtual void UPnPClient::VarEventReporter::changed ( const char *  ,
UPnPDirObject   
)
inlinevirtual

Report change to track metadata (parsed as as Content Directory entry).

Not always needed

◆ changed() [2/2]

virtual void UPnPClient::VarEventReporter::changed ( const char *  ,
std::vector< int >   
)
inlinevirtual

Special for ohplaylist.

Not always needed


The documentation for this class was generated from the following file: