Library: UPnP/ServiceDesc
Package: ServiceDesc
Header: Poco/UPnP/ServiceDesc/Service.h
This class represents a UPnP service description consisting of Action and StateVariable objects.
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Functions: actions, majorVersion, minorVersion, setMajorVersion, setMinorVersion, specVersion, stateVariables
Inherited Functions: duplicate, referenceCount, release
typedef std::vector < Action::Ptr > Actions;
typedef Poco::AutoPtr < Service > Ptr;
typedef std::vector < StateVariable::Ptr > StateVariables;
Service();
Creates the Service.
~Service();
Destroys the Service.
const Actions & actions() const;
Returns a std::vector containing all Action objects defined by the service.
Actions & actions();
Returns a std::vector containing all Action objects defined by the service.
int majorVersion() const;
Returns the major version of the UPnP Device Architecture supported by the device.
int minorVersion() const;
Returns the minor version of the UPnP Device Architecture supported by the device.
std::string specVersion() const;
Returns the version of the UPnP Device Architecture supported by the device, formatted as string "<major>.<minor>".
const StateVariables & stateVariables() const;
Returns a std::vector containing all StateVariable objects defined by the service.
StateVariables & stateVariables();
Returns a std::vector containing all StateVariable objects defined by the service.
void setMajorVersion(
int major
);
Sets the major version of the UPnP Device Architecture supported.
void setMinorVersion(
int minor
);
Sets the minor version of the UPnP Device Architecture supported.