#include <cybergarage/upnp/cstatevariable.h>
#include <cybergarage/upnp/cservice.h>
#include <cybergarage/util/clog.h>
#include <string.h>
Function Documentation
Create new allowed state variable values list
Delete state variable object
- Parameters:
-
Get allowed value list
- Parameters:
-
- Returns:
- Allowed value list
| int cg_upnp_statevariable_is_allowed_value |
( |
CgUpnpStateVariable * |
statVar, |
|
|
const char * |
value |
|
) |
| |
Check if state variable allowes to receive value
value value to be checked
- Parameters:
-
- Returns:
- 0 if it does allowed to receive value
Create new state variable object
Set XML node for this state variable
- Parameters:
-
| statVar | State variable |
| node | XML node |
Set state variable value
- Parameters:
-
| statVar | State variable |
| data | New value associated with this state variable, and the value is send to other devices which subscribe the service. |
| static void cg_upnp_statevariable_setvaluewithnotify |
( |
CgUpnpStateVariable * |
statVar, |
|
|
char * |
data, |
|
|
BOOL |
doNotify |
|
) |
| [static] |
| void cg_upnp_statevariable_setvaluewithoutnotify |
( |
CgUpnpStateVariable * |
statVar, |
|
|
char * |
data |
|
) |
| |
Set state variable value
- Parameters:
-
| statVar | State variable |
| data | New value associated with this state variable |