Library: UPnP/GENA
Package: StateVariables
Header: Poco/UPnP/GENA/StateProvider.h
This interface should be provided by all UPnP services supporting evented state variables. This interface will be used by the framework to obtain the current state of the service whenever a new event subscription is received.
Member Functions: currentState
typedef std::pair < std::string, std::string > NameValuePair;
typedef std::vector < NameValuePair > StateVec;
virtual ~StateProvider();
virtual StateVec currentState() const = 0;
Returns a vector containing the name and value of all evented state variables.