本文整理汇总了C++中IDviInvocation::InvocationReadString方法的典型用法代码示例。如果您正苦于以下问题:C++ IDviInvocation::InvocationReadString方法的具体用法?C++ IDviInvocation::InvocationReadString怎么用?C++ IDviInvocation::InvocationReadString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IDviInvocation
的用法示例。
在下文中一共展示了IDviInvocation::InvocationReadString方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ResourceURI
void DvProviderUpnpOrgContentDirectory2Cpp::DoDeleteResource(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_ResourceURI;
aInvocation.InvocationReadString("ResourceURI", buf_ResourceURI);
std::string ResourceURI((const char*)buf_ResourceURI.Ptr(), buf_ResourceURI.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
DeleteResource(invocation, ResourceURI);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例2: ObjectID
void DvProviderUpnpOrgContentDirectory2Cpp::DoDestroyObject(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_ObjectID;
aInvocation.InvocationReadString("ObjectID", buf_ObjectID);
std::string ObjectID((const char*)buf_ObjectID.Ptr(), buf_ObjectID.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
DestroyObject(invocation, ObjectID);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例3: RecordTaskID
void DvProviderUpnpOrgScheduledRecording2Cpp::DoResetRecordTask(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_RecordTaskID;
aInvocation.InvocationReadString("RecordTaskID", buf_RecordTaskID);
std::string RecordTaskID((const char*)buf_RecordTaskID.Ptr(), buf_RecordTaskID.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
ResetRecordTask(invocation, RecordTaskID);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例4: newOnEffect
void DvProviderUpnpOrgDimming1Cpp::DoSetOnEffect(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_newOnEffect;
aInvocation.InvocationReadString("newOnEffect", buf_newOnEffect);
std::string newOnEffect((const char*)buf_newOnEffect.Ptr(), buf_newOnEffect.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
SetOnEffect(invocation, newOnEffect);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例5: Speed
void DvProviderUpnpOrgAVTransport1Cpp::DoPlay(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
Brhz buf_Speed;
aInvocation.InvocationReadString("Speed", buf_Speed);
std::string Speed((const char*)buf_Speed.Ptr(), buf_Speed.Bytes());
aInvocation.InvocationReadEnd();
Play(aVersion, InstanceID, Speed);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例6: Details
void DvProviderLinnCoUkPrivacy1Cpp::DoSetPolicyDetails(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_Details;
aInvocation.InvocationReadString("Details", buf_Details);
std::string Details((const char*)buf_Details.Ptr(), buf_Details.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
SetPolicyDetails(invocation, Details);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例7: invocation
void DvProviderUpnpOrgContentDirectory2::DoSearch(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz ContainerID;
aInvocation.InvocationReadString("ContainerID", ContainerID);
Brhz SearchCriteria;
aInvocation.InvocationReadString("SearchCriteria", SearchCriteria);
Brhz Filter;
aInvocation.InvocationReadString("Filter", Filter);
TUint StartingIndex = aInvocation.InvocationReadUint("StartingIndex");
TUint RequestedCount = aInvocation.InvocationReadUint("RequestedCount");
Brhz SortCriteria;
aInvocation.InvocationReadString("SortCriteria", SortCriteria);
aInvocation.InvocationReadEnd();
DviInvocation invocation(aInvocation);
DviInvocationResponseString respResult(aInvocation, "Result");
DviInvocationResponseUint respNumberReturned(aInvocation, "NumberReturned");
DviInvocationResponseUint respTotalMatches(aInvocation, "TotalMatches");
DviInvocationResponseUint respUpdateID(aInvocation, "UpdateID");
Search(invocation, ContainerID, SearchCriteria, Filter, StartingIndex, RequestedCount, SortCriteria, respResult, respNumberReturned, respTotalMatches, respUpdateID);
}
示例8: invocation
void DvProviderUpnpOrgRenderingControl1::DoGetVolumeDBRange(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
TUint InstanceID = aInvocation.InvocationReadUint("InstanceID");
Brhz Channel;
aInvocation.InvocationReadString("Channel", Channel);
aInvocation.InvocationReadEnd();
DviInvocation invocation(aInvocation);
DviInvocationResponseInt respMinValue(aInvocation, "MinValue");
DviInvocationResponseInt respMaxValue(aInvocation, "MaxValue");
GetVolumeDBRange(invocation, InstanceID, Channel, respMinValue, respMaxValue);
}
示例9: invocation
void DvProviderUpnpOrgScheduledRecording2::DoCreateRecordSchedule(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz Elements;
aInvocation.InvocationReadString("Elements", Elements);
aInvocation.InvocationReadEnd();
DviInvocation invocation(aInvocation);
DviInvocationResponseString respRecordScheduleID(aInvocation, "RecordScheduleID");
DviInvocationResponseString respResult(aInvocation, "Result");
DviInvocationResponseUint respUpdateID(aInvocation, "UpdateID");
CreateRecordSchedule(invocation, Elements, respRecordScheduleID, respResult, respUpdateID);
}
示例10: Value
void DvProviderAvOpenhomeOrgProduct2Cpp::DoSetSourceBySystemName(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_Value;
aInvocation.InvocationReadString("Value", buf_Value);
std::string Value((const char*)buf_Value.Ptr(), buf_Value.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
SetSourceBySystemName(invocation, Value);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例11: NewRecordQualityMode
void DvProviderUpnpOrgAVTransport1Cpp::DoSetRecordQualityMode(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
Brhz buf_NewRecordQualityMode;
aInvocation.InvocationReadString("NewRecordQualityMode", buf_NewRecordQualityMode);
std::string NewRecordQualityMode((const char*)buf_NewRecordQualityMode.Ptr(), buf_NewRecordQualityMode.Bytes());
aInvocation.InvocationReadEnd();
SetRecordQualityMode(aVersion, InstanceID, NewRecordQualityMode);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例12: aMode
void DvProviderLinnCoUkVolkano1Cpp::DoSetBootMode(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_aMode;
aInvocation.InvocationReadString("aMode", buf_aMode);
std::string aMode((const char*)buf_aMode.Ptr(), buf_aMode.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
SetBootMode(invocation, aMode);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例13: invocationWrapper
void DvProviderUpnpOrgAVTransport1C::DoSetNextAVTransportURI(IDviInvocation& aInvocation)
{
DvInvocationCPrivate invocationWrapper(aInvocation);
IDvInvocationC* invocationC;
void* invocationCPtr;
invocationWrapper.GetInvocationC(&invocationC, &invocationCPtr);
aInvocation.InvocationReadStart();
TUint InstanceID = aInvocation.InvocationReadUint("InstanceID");
Brhz NextURI;
aInvocation.InvocationReadString("NextURI", NextURI);
Brhz NextURIMetaData;
aInvocation.InvocationReadString("NextURIMetaData", NextURIMetaData);
aInvocation.InvocationReadEnd();
DviInvocation invocation(aInvocation);
ASSERT(iCallbackSetNextAVTransportURI != NULL);
if (0 != iCallbackSetNextAVTransportURI(iPtrSetNextAVTransportURI, invocationC, invocationCPtr, InstanceID, (const char*)NextURI.Ptr(), (const char*)NextURIMetaData.Ptr())) {
invocation.Error(502, Brn("Action failed"));
return;
}
invocation.StartResponse();
invocation.EndResponse();
}
示例14: NewPlayMode
void DvProviderUpnpOrgAVTransport2Cpp::DoSetPlayMode(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
Brhz buf_NewPlayMode;
aInvocation.InvocationReadString("NewPlayMode", buf_NewPlayMode);
std::string NewPlayMode((const char*)buf_NewPlayMode.Ptr(), buf_NewPlayMode.Bytes());
aInvocation.InvocationReadEnd();
DvInvocationStd invocation(aInvocation);
SetPlayMode(invocation, InstanceID, NewPlayMode);
aInvocation.InvocationWriteStart();
aInvocation.InvocationWriteEnd();
}
示例15: DvInvocationReadString
int32_t DvInvocationReadString(DvInvocationC aInvocation, const char* aName, char** aValue)
{
IDviInvocation* invocation = InvocationFromHandle(aInvocation);
try {
Brhz value;
invocation->InvocationReadString(aName, value);
*aValue = value.Transfer();
}
catch (InvocationError&) {
return -1;
}
return 0;
}