本文整理汇总了C++中PropertyUint类的典型用法代码示例。如果您正苦于以下问题:C++ PropertyUint类的具体用法?C++ PropertyUint怎么用?C++ PropertyUint使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了PropertyUint类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ServicePropertySetValueUint
uint32_t STDCALL ServicePropertySetValueUint(ServiceProperty aProperty, uint32_t aValue)
{
PropertyUint* prop = reinterpret_cast<PropertyUint*>(aProperty);
ASSERT(prop != NULL);
if (prop->SetValue(aValue)) {
return 1;
}
return 0;
}
示例2: ServicePropertyValueUint
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;
}
示例3: SetPropertyUint
bool DvProvider::SetPropertyUint(PropertyUint& aProperty, TUint aValue)
{
if (aProperty.SetValue(aValue)) {
TryPublishUpdate();
return true;
}
return false;
}
示例4: PropertyReadLock
void CpProxyAvOpenhomeOrgInfo1C::PropertyBitDepth(TUint& aBitDepth) const
{
PropertyReadLock();
ASSERT(IsSubscribed());
aBitDepth = iBitDepth->Value();
PropertyReadUnlock();
}
示例5: PropertyReadLock
void CpProxyAvOpenhomeOrgTime1C::PropertySeconds(TUint& aSeconds) const
{
PropertyReadLock();
ASSERT(IsSubscribed());
aSeconds = iSeconds->Value();
PropertyReadUnlock();
}
示例6:
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyDuration(TUint& aValue)
{
aValue = iPropertyDuration->Value();
}
示例7: ASSERT
void DvProviderAvOpenhomeOrgMediaServer1C::GetPropertyUpdateCount(TUint& aValue)
{
ASSERT(iPropertyUpdateCount != NULL);
aValue = iPropertyUpdateCount->Value();
}
示例8: ASSERT
void DvProviderAvOpenhomeOrgCredentials1C::GetPropertySequenceNumber(TUint& aValue)
{
ASSERT(iPropertySequenceNumber != NULL);
aValue = iPropertySequenceNumber->Value();
}
示例9:
void DvProviderAvOpenhomeOrgTime1C::GetPropertySeconds(TUint& aValue)
{
aValue = iPropertySeconds->Value();
}
示例10: a
void CpProxyAvOpenhomeOrgTime1C::PropertyDuration(TUint& aDuration) const
{
AutoMutex a(GetPropertyReadLock());
CheckSubscribed();
aDuration = iDuration->Value();
}
示例11: ASSERT
void DvProviderAvOpenhomeOrgRadio1C::GetPropertyId(TUint& aValue)
{
ASSERT(iPropertyId != NULL);
aValue = iPropertyId->Value();
}
示例12: ASSERT
void DvProviderUpnpOrgContentDirectory1C::GetPropertySystemUpdateID(TUint& aValue)
{
ASSERT(iPropertySystemUpdateID != NULL);
aValue = iPropertySystemUpdateID->Value();
}