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