TvService Struct Reference
Sample Code

`#include <tv_device.h>`

Collaboration diagram for TvService:
[legend]

## Data Fields

char | UDN [NAME_SIZE]
char | ServiceId [NAME_SIZE]
char | ServiceType [NAME_SIZE]
const char * | VariableName [4]
char * | VariableStrVal [4]
const char * | ActionNames [12]
upnp_action | actions [12]
int | VariableCount

## Detailed Description

Structure for storing Tv Service identifiers and state table.

## Field Documentation

## ActionNames

const char* TvService::ActionNames[12]

Referenced by SetActionTable(), and TvDeviceHandleActionRequest().

## actions

upnp_action TvService::actions[12]

Referenced by SetActionTable(), and TvDeviceHandleActionRequest().

## ServiceId

char TvService::ServiceId[NAME_SIZE]

Referenced by SetServiceTable(), TvDeviceHandleActionRequest(), TvDeviceHandleGetVarRequest(), TvDeviceHandleSubscriptionRequest(), and TvDeviceSetServiceTableVar().

## ServiceType

char TvService::ServiceType[NAME_SIZE]

Referenced by SetServiceTable().

## UDN

char TvService::UDN[NAME_SIZE]

Universally Unique Device Name.

Referenced by SetServiceTable(), TvDeviceHandleActionRequest(), TvDeviceHandleGetVarRequest(), TvDeviceHandleSubscriptionRequest(), and TvDeviceSetServiceTableVar().

## VariableCount

int TvService::VariableCount

Referenced by SetServiceTable(), TvDeviceHandleGetVarRequest(), TvDeviceHandleSubscriptionRequest(), and TvDeviceSetServiceTableVar().

## VariableName

const char* TvService::VariableName[ 4]

Referenced by SetServiceTable(), TvDeviceHandleGetVarRequest(), TvDeviceHandleSubscriptionRequest(), and TvDeviceSetServiceTableVar().

## VariableStrVal

char* TvService::VariableStrVal[ 4]

Referenced by IncrementBrightness(), IncrementColor(), IncrementContrast(), IncrementVolume(), SetServiceTable(), TvDeviceHandleActionRequest(), TvDeviceHandleGetVarRequest(), TvDeviceHandleSubscriptionRequest(), and TvDeviceSetServiceTableVar().

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

- /build/pupnp-fsDV9p/pupnp-1.14.25/upnp/sample/common/tv_device.h