mUPnP for C++
mUPnP::StateVariable Class Reference

#include <StateVariable.h>

Public Member Functions

mupnp_shared_ptr< uXML::NodegetServiceNode ()
 
ServicegetService ()
 
mupnp_shared_ptr< uXML::NodegetStateVariableNode ()
 
 StateVariable ()
 
 StateVariable (mupnp_shared_ptr< uXML::Node > serviceNode, mupnp_shared_ptr< uXML::Node > stateVarNode)
 
 ~StateVariable ()
 
AllowedValueListgetAllowedValueList ()
 
bool hasAllowedValueList ()
 
AllowedValueRangegetAllowedValueRange ()
 
bool hasAllowedValueRange ()
 
void setName (const std::string &value)
 
const char * getName ()
 
void setDataType (const std::string &value)
 
const char * getDataType ()
 
void setSendEvents (bool state)
 
bool isSendEvents ()
 
StateVariableDatagetStateVariableData ()
 
void setValue (const std::string &value)
 
void setValue (int value)
 
void setValue (long value)
 
const char * getValue ()
 
void set (StateVariable *stateVar)
 
QueryListenergetQueryListener ()
 
void setQueryListener (QueryListener *listener)
 
bool performQueryListener (QueryRequest *queryReq)
 
QueryResponsegetQueryResponse ()
 
void setQueryResponse (QueryResponse *res)
 
UPnPStatusgetQueryStatus ()
 
bool postQuerylAction ()
 
void setStatus (int code, const std::string &descr)
 
void setStatus (int code)
 
UPnPStatusgetStatus ()
 

Static Public Member Functions

static bool isStateVariableNode (mupnp_shared_ptr< uXML::Node > node)
 

Static Public Attributes

static const char * ELEM_NAME
 
static const char * NAME
 
static const char * DATATYPE
 
static const char * SENDEVENTS
 
static const char * SENDEVENTS_YES
 
static const char * SENDEVENTS_NO
 

Private Member Functions

void initAllowedValueList ()
 
void initAllowedValueRange ()
 

Private Attributes

mupnp_shared_ptr< uXML::NodestateVariableNode
 
mupnp_shared_ptr< uXML::NodeserviceNode
 
UPnPStatus upnpStatus
 
AllowedValueList allowedValueList
 
AllowedValueRange allowedValueRange
 

Constructor & Destructor Documentation

◆ StateVariable() [1/2]

mUPnP::StateVariable::StateVariable ( )

◆ StateVariable() [2/2]

mUPnP::StateVariable::StateVariable ( mupnp_shared_ptr< uXML::Node > serviceNode,
mupnp_shared_ptr< uXML::Node > stateVarNode )

◆ ~StateVariable()

mUPnP::StateVariable::~StateVariable ( )

Member Function Documentation

◆ getAllowedValueList()

AllowedValueList * mUPnP::StateVariable::getAllowedValueList ( )
inline

◆ getAllowedValueRange()

AllowedValueRange * mUPnP::StateVariable::getAllowedValueRange ( )
inline

◆ getDataType()

const char * mUPnP::StateVariable::getDataType ( )
inline

◆ getName()

const char * mUPnP::StateVariable::getName ( )
inline

◆ getQueryListener()

QueryListener * mUPnP::StateVariable::getQueryListener ( )
inline

◆ getQueryResponse()

QueryResponse * mUPnP::StateVariable::getQueryResponse ( )
inline

◆ getQueryStatus()

UPnPStatus * mUPnP::StateVariable::getQueryStatus ( )
inline

◆ getService()

Service * mUPnP::StateVariable::getService ( )

◆ getServiceNode()

mupnp_shared_ptr< uXML::Node > mUPnP::StateVariable::getServiceNode ( )
inline

◆ getStateVariableData()

StateVariableData * mUPnP::StateVariable::getStateVariableData ( )

◆ getStateVariableNode()

mupnp_shared_ptr< uXML::Node > mUPnP::StateVariable::getStateVariableNode ( )
inline

◆ getStatus()

UPnPStatus * mUPnP::StateVariable::getStatus ( )
inline

◆ getValue()

const char * mUPnP::StateVariable::getValue ( )
inline

◆ hasAllowedValueList()

bool mUPnP::StateVariable::hasAllowedValueList ( )
inline

◆ hasAllowedValueRange()

bool mUPnP::StateVariable::hasAllowedValueRange ( )
inline

◆ initAllowedValueList()

void mUPnP::StateVariable::initAllowedValueList ( )
private

◆ initAllowedValueRange()

void mUPnP::StateVariable::initAllowedValueRange ( )
private

◆ isSendEvents()

bool mUPnP::StateVariable::isSendEvents ( )
inline

◆ isStateVariableNode()

static bool mUPnP::StateVariable::isStateVariableNode ( mupnp_shared_ptr< uXML::Node > node)
inlinestatic

◆ performQueryListener()

bool mUPnP::StateVariable::performQueryListener ( QueryRequest * queryReq)

◆ postQuerylAction()

bool mUPnP::StateVariable::postQuerylAction ( )

◆ set()

void mUPnP::StateVariable::set ( StateVariable * stateVar)

◆ setDataType()

void mUPnP::StateVariable::setDataType ( const std::string & value)
inline

◆ setName()

void mUPnP::StateVariable::setName ( const std::string & value)
inline

◆ setQueryListener()

void mUPnP::StateVariable::setQueryListener ( QueryListener * listener)
inline

◆ setQueryResponse()

void mUPnP::StateVariable::setQueryResponse ( QueryResponse * res)
inline

◆ setSendEvents()

void mUPnP::StateVariable::setSendEvents ( bool state)
inline

◆ setStatus() [1/2]

void mUPnP::StateVariable::setStatus ( int code)
inline

◆ setStatus() [2/2]

void mUPnP::StateVariable::setStatus ( int code,
const std::string & descr )
inline

◆ setValue() [1/3]

void mUPnP::StateVariable::setValue ( const std::string & value)

◆ setValue() [2/3]

void mUPnP::StateVariable::setValue ( int value)

◆ setValue() [3/3]

void mUPnP::StateVariable::setValue ( long value)

Field Documentation

◆ allowedValueList

AllowedValueList mUPnP::StateVariable::allowedValueList
private

◆ allowedValueRange

AllowedValueRange mUPnP::StateVariable::allowedValueRange
private

◆ DATATYPE

const char* mUPnP::StateVariable::DATATYPE
static

◆ ELEM_NAME

const char* mUPnP::StateVariable::ELEM_NAME
static

◆ NAME

const char* mUPnP::StateVariable::NAME
static

◆ SENDEVENTS

const char* mUPnP::StateVariable::SENDEVENTS
static

◆ SENDEVENTS_NO

const char* mUPnP::StateVariable::SENDEVENTS_NO
static

◆ SENDEVENTS_YES

const char* mUPnP::StateVariable::SENDEVENTS_YES
static

◆ serviceNode

mupnp_shared_ptr<uXML::Node> mUPnP::StateVariable::serviceNode
private

◆ stateVariableNode

mupnp_shared_ptr<uXML::Node> mUPnP::StateVariable::stateVariableNode
private

◆ upnpStatus

UPnPStatus mUPnP::StateVariable::upnpStatus
private

The documentation for this class was generated from the following file: