void CpProxyAvOpenhomeOrgTime1C::PropertySeconds(TUint& aSeconds) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aSeconds = iSeconds->Value();
    PropertyReadUnlock();
}
void CpProxyAvOpenhomeOrgInfo1C::PropertyDetailsCount(TUint& aDetailsCount) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aDetailsCount = iDetailsCount->Value();
    PropertyReadUnlock();
}
void CpProxyAvOpenhomeOrgTime1C::PropertyDuration(TUint& aDuration) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aDuration = iDuration->Value();
    PropertyReadUnlock();
}
void CpProxyAvOpenhomeOrgTime1C::PropertyTrackCount(TUint& aTrackCount) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aTrackCount = iTrackCount->Value();
    PropertyReadUnlock();
}
Exemple #5
0
int32_t STDCALL ServicePropertyValueUint(ServiceProperty aProperty, uint32_t* aValue)
{
    PropertyUint* prop = reinterpret_cast<PropertyUint*>(aProperty);
    ASSERT(prop != NULL);
    int32_t err = 0;
    try {
        *aValue = prop->Value();
    }
    catch (PropertyError&) {
        err = -1;
    }
    return err;
}
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyDuration(TUint& aValue)
{
    aValue = iPropertyDuration->Value();
}
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyMetatextCount(TUint& aValue)
{
    aValue = iPropertyMetatextCount->Value();
}
void DvProviderAvOpenhomeOrgMediaServer1C::GetPropertyUpdateCount(TUint& aValue)
{
    ASSERT(iPropertyUpdateCount != NULL);
    aValue = iPropertyUpdateCount->Value();
}
void DvProviderAvOpenhomeOrgMediaServer1C::GetPropertyBrowsePort(TUint& aValue)
{
    ASSERT(iPropertyBrowsePort != NULL);
    aValue = iPropertyBrowsePort->Value();
}
void DvProviderAvOpenhomeOrgCredentials1C::GetPropertySequenceNumber(TUint& aValue)
{
    ASSERT(iPropertySequenceNumber != NULL);
    aValue = iPropertySequenceNumber->Value();
}
void CpProxyAvOpenhomeOrgTime1C::PropertyDuration(TUint& aDuration) const
{
    AutoMutex a(GetPropertyReadLock());
    CheckSubscribed();
    aDuration = iDuration->Value();
}
void DvProviderAvOpenhomeOrgRadio1C::GetPropertyId(TUint& aValue)
{
    ASSERT(iPropertyId != NULL);
    aValue = iPropertyId->Value();
}
void DvProviderUpnpOrgContentDirectory1C::GetPropertySystemUpdateID(TUint& aValue)
{
    ASSERT(iPropertySystemUpdateID != NULL);
    aValue = iPropertySystemUpdateID->Value();
}
void CpProxyAvOpenhomeOrgTime1C::PropertySeconds(TUint& aSeconds) const
{
    AutoMutex a(GetPropertyReadLock());
    CheckSubscribed();
    aSeconds = iSeconds->Value();
}
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyBitDepth(TUint& aValue)
{
    aValue = iPropertyBitDepth->Value();
}
void DvProviderAvOpenhomeOrgTime1C::GetPropertyTrackCount(TUint& aValue)
{
    aValue = iPropertyTrackCount->Value();
}
void DvProviderAvOpenhomeOrgInfo1C::GetPropertySampleRate(TUint& aValue)
{
    aValue = iPropertySampleRate->Value();
}
void DvProviderAvOpenhomeOrgTime1C::GetPropertySeconds(TUint& aValue)
{
    aValue = iPropertySeconds->Value();
}
void DvProviderAvOpenhomeOrgRadio1C::GetPropertyChannelsMax(TUint& aValue)
{
    ASSERT(iPropertyChannelsMax != NULL);
    aValue = iPropertyChannelsMax->Value();
}
void CpProxyAvOpenhomeOrgTime1C::PropertyTrackCount(TUint& aTrackCount) const
{
    AutoMutex a(GetPropertyReadLock());
    CheckSubscribed();
    aTrackCount = iTrackCount->Value();
}