#include <cybergarage/upnp/cstatevariable.h>
#include <cybergarage/upnp/cservice.h>
#include <cybergarage/util/clog.h>
Functions | |
CgUpnpStateVariable * | cg_upnp_statevariable_new () |
void | cg_upnp_statevariable_delete (CgUpnpStateVariable *statVar) |
void | cg_upnp_statevariable_setstatevariablenode (CgUpnpStateVariable *statVar, CgXmlNode *node) |
static void | cg_upnp_statevariable_setvaluewithnotify (CgUpnpStateVariable *statVar, char *data, BOOL doNotify) |
void | cg_upnp_statevariable_setvalue (CgUpnpStateVariable *statVar, char *data) |
void | cg_upnp_statevariable_setvaluewithoutnotify (CgUpnpStateVariable *statVar, char *data) |
void cg_upnp_statevariable_delete | ( | CgUpnpStateVariable * | statVar | ) |
Delete state variable object
statVar | state variable |
CgUpnpStateVariable* cg_upnp_statevariable_new | ( | ) |
Create new state variable object
void cg_upnp_statevariable_setstatevariablenode | ( | CgUpnpStateVariable * | statVar, | |
CgXmlNode * | node | |||
) |
Set XML node for this state variable
statVar | State variable | |
node | XML node |
void cg_upnp_statevariable_setvalue | ( | CgUpnpStateVariable * | statVar, | |
char * | data | |||
) |
Set state variable value
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
statVar | State variable | |
data | New value associated with this state variable |