本文整理汇总了C++中PropertyString::Value方法的典型用法代码示例。如果您正苦于以下问题:C++ PropertyString::Value方法的具体用法?C++ PropertyString::Value怎么用?C++ PropertyString::Value使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PropertyString
的用法示例。
在下文中一共展示了PropertyString::Value方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: PropertyReadLock
void CpProxyUpnpOrgConnectionManager1C::PropertySinkProtocolInfo(Brhz& aSinkProtocolInfo) const
{
PropertyReadLock();
ASSERT(IsSubscribed());
aSinkProtocolInfo.Set(iSinkProtocolInfo->Value());
PropertyReadUnlock();
}
示例2: PropertyReadLock
void CpProxyAvOpenhomeOrgInfo1C::PropertyCodecName(Brhz& aCodecName) const
{
PropertyReadLock();
ASSERT(IsSubscribed());
aCodecName.Set(iCodecName->Value());
PropertyReadUnlock();
}
示例3: PropertyReadLock
void CpProxyAvOpenhomeOrgSender1C::PropertyAttributes(Brhz& aAttributes) const
{
PropertyReadLock();
ASSERT(IsSubscribed());
aAttributes.Set(iAttributes->Value());
PropertyReadUnlock();
}
示例4: buf
const char* STDCALL ServicePropertyValueString(ServiceProperty aProperty)
{
// FIXME - no handling of PropertyError
PropertyString* prop = reinterpret_cast<PropertyString*>(aProperty);
ASSERT(prop != NULL);
Brhz buf(prop->Value());
return buf.Transfer();
}
示例5: ServicePropertyGetValueString
int32_t STDCALL ServicePropertyGetValueString(ServiceProperty aProperty, const char** aData, uint32_t* aLen)
{
PropertyString* prop = reinterpret_cast<PropertyString*>(aProperty);
ASSERT(prop != NULL);
int32_t err = 0;
try {
Brhz buf(prop->Value());
if (buf.Bytes() == 0) {
*aData = NULL;
*aLen = 0;
}
else {
*aLen = buf.Bytes();
*aData = buf.Transfer();
}
}
catch (PropertyError&) {
err = -1;
}
return err;
}
示例6:
void DvProviderAvOpenhomeOrgInfo1C::GetPropertyMetatext(Brhz& aValue)
{
aValue.Set(iPropertyMetatext->Value());
}
示例7: a
void CpProxyAvOpenhomeOrgExakt2C::PropertyDeviceList(Brhz& aDeviceList) const
{
AutoMutex a(GetPropertyReadLock());
CheckSubscribed();
aDeviceList.Set(iDeviceList->Value());
}
示例8: ASSERT
void DvProviderAvOpenhomeOrgRadio1C::GetPropertyTransportState(Brhz& aValue)
{
ASSERT(iPropertyTransportState != NULL);
aValue.Set(iPropertyTransportState->Value());
}
示例9: ASSERT
void DvProviderLinnCoUkCloud1C::GetPropertyAssociationStatus(Brhz& aValue)
{
ASSERT(iPropertyAssociationStatus != NULL);
aValue.Set(iPropertyAssociationStatus->Value());
}
示例10: a
void CpProxyLinnCoUkExaktInputs1C::PropertyAssociations(Brhz& aAssociations) const
{
AutoMutex a(GetPropertyReadLock());
CheckSubscribed();
aAssociations.Set(iAssociations->Value());
}
示例11: ASSERT
void DvProviderAvOpenhomeOrgCredentials1C::GetPropertyPublicKey(Brhz& aValue)
{
ASSERT(iPropertyPublicKey != NULL);
aValue.Set(iPropertyPublicKey->Value());
}
示例12: ASSERT
void DvProviderUpnpOrgAVTransport1C::GetPropertyLastChange(Brhz& aValue)
{
ASSERT(iPropertyLastChange != NULL);
aValue.Set(iPropertyLastChange->Value());
}
示例13: ASSERT
void DvProviderAvOpenhomeOrgMediaServer1C::GetPropertyManufacturerInfo(Brhz& aValue)
{
ASSERT(iPropertyManufacturerInfo != NULL);
aValue.Set(iPropertyManufacturerInfo->Value());
}