39 #ifndef _PLT_STATE_VARIABLE_H_ 40 #define _PLT_STATE_VARIABLE_H_ 99 bool IsSendingEvents(
bool indirectly =
false);
104 void DisableIndirectEventing();
120 NPT_Result SetValue(
const char* value,
const bool clearonsend =
false);
126 NPT_Result ValidateValue(
const char* value);
133 NPT_Result SetExtraAttribute(
const char* name,
const char* value);
174 bool IsReadyToPublish();
180 void OnSendCompleted();
197 bool m_IsSendingEvents;
198 bool m_IsSendingEventsIndirectly;
199 bool m_ShouldClearOnSend;
223 return state_variable->
GetName().Compare(m_Name,
true) ? false :
true;
NPT_Result GetSCPDXML(NPT_String &xml)
Return the service SCPD xml document.
Definition: PltService.cpp:91
const NPT_String & GetValue() const
Return the current state variable value.
Definition: PltStateVariable.h:145
The PLT_Argument class provides a mechanism to set or verify the validity of a specific UPNP service ...
Definition: PltArgument.h:99
const NPT_AllowedValueRange * GetAllowedValueRange() const
Return the state variable allowed value range if any.
Definition: PltStateVariable.h:157
The PLT_LastChangeXMLIterator class is used to serialize the LastChange variable changes into xml giv...
Definition: PltService.h:509
Definition: NptArray.h:54
const NPT_String & GetName() const
Return the state variable name.
Definition: PltStateVariable.h:139
UPnP Service.
Definition: PltService.h:67
The PLT_StateVariableNameFinder class returns the PLT_StateVariable instance given a state variable n...
Definition: PltStateVariable.h:215
The PLT_StateVariable class maintains the state of a UPnP Service state variable. ...
Definition: PltStateVariable.h:75
const NPT_String & GetDataType() const
Return the state variable data type.
Definition: PltStateVariable.h:151
The NPT_AllowedValueRange struct holds the min, max and step value allowed of a UPnP Service state va...
Definition: PltStateVariable.h:60
Definition: NptStrings.h:57