当前位置: 首页>>代码示例>>C++>>正文


C++ IDviInvocation::InvocationReadString方法代码示例

本文整理汇总了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();
}
开发者ID:Wodath,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgContentDirectory2Std.cpp

示例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();
}
开发者ID:Wodath,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgContentDirectory2Std.cpp

示例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();
}
开发者ID:ACDN,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgScheduledRecording2Std.cpp

示例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();
}
开发者ID:tata-,项目名称:ohNet-1,代码行数:12,代码来源:DvUpnpOrgDimming1Std.cpp

示例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();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgAVTransport1Std.cpp

示例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();
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:12,代码来源:DvLinnCoUkPrivacy1Std.cpp

示例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);
}
开发者ID:DoomHammer,项目名称:ohNetGenerated,代码行数:21,代码来源:DvUpnpOrgContentDirectory2.cpp

示例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);
}
开发者ID:astaykov,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgRenderingControl1.cpp

示例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);
}
开发者ID:Wodath,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgScheduledRecording2.cpp

示例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();
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:12,代码来源:DvAvOpenhomeOrgProduct2Std.cpp

示例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();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:12,代码来源:DvUpnpOrgAVTransport1Std.cpp

示例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();
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:12,代码来源:DvLinnCoUkVolkano1Std.cpp

示例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();
}
开发者ID:ACDN,项目名称:ohNet,代码行数:22,代码来源:DvUpnpOrgAVTransport1C.cpp

示例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();
}
开发者ID:ACDN,项目名称:ohNet,代码行数:13,代码来源:DvUpnpOrgAVTransport2Std.cpp

示例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;
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:13,代码来源:DvProviderC.cpp


注:本文中的IDviInvocation::InvocationReadString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。