This is an abstract base class for HUPnP A/V helper service classes.
More...
List of all members.
Detailed Description
Constructor & Destructor Documentation
Creates a new instance.
- Parameters:
-
parent | specifies the parent QObject . |
Member Function Documentation
Prepares the instance to be associated with the specified HClientService.
- Parameters:
-
device | specifies the device to be associated. |
- Returns:
- true if the instance was successfully prepared to be used with the specified HDevice. If false is returned the specified HDevice will not be associated with this instance.
bool setService |
( |
HClientService * |
service, |
|
|
ValidationType |
vt = FullValidation |
|
) |
| |
Associates the specified HService
with this instance.
- Parameters:
-
service | specifies the HService to be associated with this instance. |
- Returns:
- true in case the
service
was successfully associated with this instance.
- See also:
- service()
Returns the HService
associated with this instance.
- Returns:
- the
HService
associated with this instance, if any. A null pointer is returned in case setService() has not been called successfully.
- See also:
- setService()
bool implementsAction |
( |
const QString & |
name ) |
const |
Indicates if the HService associated with this instance implements an action with the specified name.
- Parameters:
-
name | specifies the name of the action to be checked. |
- Returns:
- true in case the associated HService implements the specified action.
bool implementsStateVariable |
( |
const QString & |
name ) |
const |
Indicates if the HService associated with this instance implements a state variable with the specified name.
- Parameters:
-
name | specifies the name of the state variable to be checked. |
- Returns:
- true in case the associated HService implements the specified state variable.
Indicates if the object is ready to be used.
- Returns:
- true if the object is ready to be used.
Returns the service type this adapter abstracts.
- Returns:
- the service type this adapter abstracts.