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


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

本文整理汇总了C++中IDviInvocation::InvocationWriteEnd方法的典型用法代码示例。如果您正苦于以下问题:C++ IDviInvocation::InvocationWriteEnd方法的具体用法?C++ IDviInvocation::InvocationWriteEnd怎么用?C++ IDviInvocation::InvocationWriteEnd使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IDviInvocation的用法示例。


在下文中一共展示了IDviInvocation::InvocationWriteEnd方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: invocation

void DvProviderAvOpenhomeOrgProduct2Cpp::DoProduct(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    std::string respRoom;
    std::string respName;
    std::string respInfo;
    std::string respUrl;
    std::string respImageUri;
    DvInvocationStd invocation(aInvocation);
    Product(invocation, respRoom, respName, respInfo, respUrl, respImageUri);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseString respWriterRoom(aInvocation, "Room");
    Brn buf_Room((const TByte*)respRoom.c_str(), (TUint)respRoom.length());
    respWriterRoom.Write(buf_Room);
    aInvocation.InvocationWriteStringEnd("Room");
    DviInvocationResponseString respWriterName(aInvocation, "Name");
    Brn buf_Name((const TByte*)respName.c_str(), (TUint)respName.length());
    respWriterName.Write(buf_Name);
    aInvocation.InvocationWriteStringEnd("Name");
    DviInvocationResponseString respWriterInfo(aInvocation, "Info");
    Brn buf_Info((const TByte*)respInfo.c_str(), (TUint)respInfo.length());
    respWriterInfo.Write(buf_Info);
    aInvocation.InvocationWriteStringEnd("Info");
    DviInvocationResponseString respWriterUrl(aInvocation, "Url");
    Brn buf_Url((const TByte*)respUrl.c_str(), (TUint)respUrl.length());
    respWriterUrl.Write(buf_Url);
    aInvocation.InvocationWriteStringEnd("Url");
    DviInvocationResponseString respWriterImageUri(aInvocation, "ImageUri");
    Brn buf_ImageUri((const TByte*)respImageUri.c_str(), (TUint)respImageUri.length());
    respWriterImageUri.Write(buf_ImageUri);
    aInvocation.InvocationWriteStringEnd("ImageUri");
    aInvocation.InvocationWriteEnd();
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:34,代码来源:DvAvOpenhomeOrgProduct2Std.cpp

示例2: invocation

void DvProviderUpnpOrgContentDirectory2Cpp::DoGetTransferProgress(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    uint32_t TransferID = aInvocation.InvocationReadUint("TransferID");
    aInvocation.InvocationReadEnd();
    std::string respTransferStatus;
    std::string respTransferLength;
    std::string respTransferTotal;
    DvInvocationStd invocation(aInvocation);
    GetTransferProgress(invocation, TransferID, respTransferStatus, respTransferLength, respTransferTotal);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseString respWriterTransferStatus(aInvocation, "TransferStatus");
    Brn buf_TransferStatus((const TByte*)respTransferStatus.c_str(), (TUint)respTransferStatus.length());
    respWriterTransferStatus.Write(buf_TransferStatus);
    aInvocation.InvocationWriteStringEnd("TransferStatus");
    DviInvocationResponseString respWriterTransferLength(aInvocation, "TransferLength");
    Brn buf_TransferLength((const TByte*)respTransferLength.c_str(), (TUint)respTransferLength.length());
    respWriterTransferLength.Write(buf_TransferLength);
    aInvocation.InvocationWriteStringEnd("TransferLength");
    DviInvocationResponseString respWriterTransferTotal(aInvocation, "TransferTotal");
    Brn buf_TransferTotal((const TByte*)respTransferTotal.c_str(), (TUint)respTransferTotal.length());
    respWriterTransferTotal.Write(buf_TransferTotal);
    aInvocation.InvocationWriteStringEnd("TransferTotal");
    aInvocation.InvocationWriteEnd();
}
开发者ID:Wodath,项目名称:ohNet,代码行数:25,代码来源:DvUpnpOrgContentDirectory2Std.cpp

示例3: invocation

void DvProviderAvOpenhomeOrgInfo1Cpp::DoDetails(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    uint32_t respDuration;
    uint32_t respBitRate;
    uint32_t respBitDepth;
    uint32_t respSampleRate;
    bool respLossless;
    std::string respCodecName;
    DvInvocationStd invocation(aInvocation);
    Details(invocation, respDuration, respBitRate, respBitDepth, respSampleRate, respLossless, respCodecName);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseUint respWriterDuration(aInvocation, "Duration");
    respWriterDuration.Write(respDuration);
    DviInvocationResponseUint respWriterBitRate(aInvocation, "BitRate");
    respWriterBitRate.Write(respBitRate);
    DviInvocationResponseUint respWriterBitDepth(aInvocation, "BitDepth");
    respWriterBitDepth.Write(respBitDepth);
    DviInvocationResponseUint respWriterSampleRate(aInvocation, "SampleRate");
    respWriterSampleRate.Write(respSampleRate);
    DviInvocationResponseBool respWriterLossless(aInvocation, "Lossless");
    respWriterLossless.Write(respLossless);
    DviInvocationResponseString respWriterCodecName(aInvocation, "CodecName");
    Brn buf_CodecName((const TByte*)respCodecName.c_str(), (TUint)respCodecName.length());
    respWriterCodecName.Write(buf_CodecName);
    aInvocation.InvocationWriteStringEnd("CodecName");
    aInvocation.InvocationWriteEnd();
}
开发者ID:DoomHammer,项目名称:ohNetGenerated,代码行数:29,代码来源:DvAvOpenhomeOrgInfo1Std.cpp

示例4: invocation

void DvProviderLinnCoUkFlash1Cpp::DoRomDirInfo(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    uint32_t respaFlashIdMain;
    uint32_t respaOffsetMain;
    uint32_t respaBytesMain;
    uint32_t respaFlashIdFallback;
    uint32_t respaOffsetFallback;
    uint32_t respaBytesFallback;
    DvInvocationStd invocation(aInvocation);
    RomDirInfo(invocation, respaFlashIdMain, respaOffsetMain, respaBytesMain, respaFlashIdFallback, respaOffsetFallback, respaBytesFallback);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseUint respWriteraFlashIdMain(aInvocation, "aFlashIdMain");
    respWriteraFlashIdMain.Write(respaFlashIdMain);
    DviInvocationResponseUint respWriteraOffsetMain(aInvocation, "aOffsetMain");
    respWriteraOffsetMain.Write(respaOffsetMain);
    DviInvocationResponseUint respWriteraBytesMain(aInvocation, "aBytesMain");
    respWriteraBytesMain.Write(respaBytesMain);
    DviInvocationResponseUint respWriteraFlashIdFallback(aInvocation, "aFlashIdFallback");
    respWriteraFlashIdFallback.Write(respaFlashIdFallback);
    DviInvocationResponseUint respWriteraOffsetFallback(aInvocation, "aOffsetFallback");
    respWriteraOffsetFallback.Write(respaOffsetFallback);
    DviInvocationResponseUint respWriteraBytesFallback(aInvocation, "aBytesFallback");
    respWriteraBytesFallback.Write(respaBytesFallback);
    aInvocation.InvocationWriteEnd();
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:27,代码来源:DvLinnCoUkFlash1Std.cpp

示例5: Elements

void DvProviderUpnpOrgScheduledRecording2Cpp::DoCreateRecordSchedule(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    Brhz buf_Elements;
    aInvocation.InvocationReadString("Elements", buf_Elements);
    std::string Elements((const char*)buf_Elements.Ptr(), buf_Elements.Bytes());
    aInvocation.InvocationReadEnd();
    std::string respRecordScheduleID;
    std::string respResult;
    uint32_t respUpdateID;
    DvInvocationStd invocation(aInvocation);
    CreateRecordSchedule(invocation, Elements, respRecordScheduleID, respResult, respUpdateID);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseString respWriterRecordScheduleID(aInvocation, "RecordScheduleID");
    Brn buf_RecordScheduleID((const TByte*)respRecordScheduleID.c_str(), (TUint)respRecordScheduleID.length());
    respWriterRecordScheduleID.Write(buf_RecordScheduleID);
    aInvocation.InvocationWriteStringEnd("RecordScheduleID");
    DviInvocationResponseString respWriterResult(aInvocation, "Result");
    Brn buf_Result((const TByte*)respResult.c_str(), (TUint)respResult.length());
    respWriterResult.Write(buf_Result);
    aInvocation.InvocationWriteStringEnd("Result");
    DviInvocationResponseUint respWriterUpdateID(aInvocation, "UpdateID");
    respWriterUpdateID.Write(respUpdateID);
    aInvocation.InvocationWriteEnd();
}
开发者ID:ACDN,项目名称:ohNet,代码行数:25,代码来源:DvUpnpOrgScheduledRecording2Std.cpp

示例6: AVTransportUDN

void DvProviderUpnpOrgAVTransport2Cpp::DoSetStateVariables(IDviInvocation& aInvocation, uint32_t aVersion)
{
    aInvocation.InvocationReadStart();
    uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
    Brhz buf_AVTransportUDN;
    aInvocation.InvocationReadString("AVTransportUDN", buf_AVTransportUDN);
    std::string AVTransportUDN((const char*)buf_AVTransportUDN.Ptr(), buf_AVTransportUDN.Bytes());
    Brhz buf_ServiceType;
    aInvocation.InvocationReadString("ServiceType", buf_ServiceType);
    std::string ServiceType((const char*)buf_ServiceType.Ptr(), buf_ServiceType.Bytes());
    Brhz buf_ServiceId;
    aInvocation.InvocationReadString("ServiceId", buf_ServiceId);
    std::string ServiceId((const char*)buf_ServiceId.Ptr(), buf_ServiceId.Bytes());
    Brhz buf_StateVariableValuePairs;
    aInvocation.InvocationReadString("StateVariableValuePairs", buf_StateVariableValuePairs);
    std::string StateVariableValuePairs((const char*)buf_StateVariableValuePairs.Ptr(), buf_StateVariableValuePairs.Bytes());
    aInvocation.InvocationReadEnd();
    std::string respStateVariableList;
    SetStateVariables(aVersion, InstanceID, AVTransportUDN, ServiceType, ServiceId, StateVariableValuePairs, respStateVariableList);
	aInvocation.InvocationWriteStart();
    InvocationResponseString respWriterStateVariableList(aInvocation, "StateVariableList");
    Brn buf_StateVariableList((const TByte*)respStateVariableList.c_str(), (TUint)respStateVariableList.length());
    respWriterStateVariableList.Write(buf_StateVariableList);
    aInvocation.InvocationWriteStringEnd("StateVariableList");
	aInvocation.InvocationWriteEnd();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:26,代码来源:DvUpnpOrgAVTransport2Std.cpp

示例7: invocation

void DvProviderUpnpOrgAVTransport2Cpp::DoGetTransportInfo(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
    aInvocation.InvocationReadEnd();
    std::string respCurrentTransportState;
    std::string respCurrentTransportStatus;
    std::string respCurrentSpeed;
    DvInvocationStd invocation(aInvocation);
    GetTransportInfo(invocation, InstanceID, respCurrentTransportState, respCurrentTransportStatus, respCurrentSpeed);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseString respWriterCurrentTransportState(aInvocation, "CurrentTransportState");
    Brn buf_CurrentTransportState((const TByte*)respCurrentTransportState.c_str(), (TUint)respCurrentTransportState.length());
    respWriterCurrentTransportState.Write(buf_CurrentTransportState);
    aInvocation.InvocationWriteStringEnd("CurrentTransportState");
    DviInvocationResponseString respWriterCurrentTransportStatus(aInvocation, "CurrentTransportStatus");
    Brn buf_CurrentTransportStatus((const TByte*)respCurrentTransportStatus.c_str(), (TUint)respCurrentTransportStatus.length());
    respWriterCurrentTransportStatus.Write(buf_CurrentTransportStatus);
    aInvocation.InvocationWriteStringEnd("CurrentTransportStatus");
    DviInvocationResponseString respWriterCurrentSpeed(aInvocation, "CurrentSpeed");
    Brn buf_CurrentSpeed((const TByte*)respCurrentSpeed.c_str(), (TUint)respCurrentSpeed.length());
    respWriterCurrentSpeed.Write(buf_CurrentSpeed);
    aInvocation.InvocationWriteStringEnd("CurrentSpeed");
    aInvocation.InvocationWriteEnd();
}
开发者ID:ACDN,项目名称:ohNet,代码行数:25,代码来源:DvUpnpOrgAVTransport2Std.cpp

示例8: RecordScheduleID

void DvProviderUpnpOrgScheduledRecording2Cpp::DoBrowseRecordTasks(IDviInvocation& aInvocation, uint32_t aVersion)
{
    aInvocation.InvocationReadStart();
    Brhz buf_RecordScheduleID;
    aInvocation.InvocationReadString("RecordScheduleID", buf_RecordScheduleID);
    std::string RecordScheduleID((const char*)buf_RecordScheduleID.Ptr(), buf_RecordScheduleID.Bytes());
    Brhz buf_Filter;
    aInvocation.InvocationReadString("Filter", buf_Filter);
    std::string Filter((const char*)buf_Filter.Ptr(), buf_Filter.Bytes());
    uint32_t StartingIndex = aInvocation.InvocationReadUint("StartingIndex");
    uint32_t RequestedCount = aInvocation.InvocationReadUint("RequestedCount");
    Brhz buf_SortCriteria;
    aInvocation.InvocationReadString("SortCriteria", buf_SortCriteria);
    std::string SortCriteria((const char*)buf_SortCriteria.Ptr(), buf_SortCriteria.Bytes());
    aInvocation.InvocationReadEnd();
    std::string respResult;
    uint32_t respNumberReturned;
    uint32_t respTotalMatches;
    uint32_t respUpdateID;
    BrowseRecordTasks(aVersion, RecordScheduleID, Filter, StartingIndex, RequestedCount, SortCriteria, respResult, respNumberReturned, respTotalMatches, respUpdateID);
	aInvocation.InvocationWriteStart();
    InvocationResponseString respWriterResult(aInvocation, "Result");
    Brn buf_Result((const TByte*)respResult.c_str(), (TUint)respResult.length());
    respWriterResult.Write(buf_Result);
    aInvocation.InvocationWriteStringEnd("Result");
    InvocationResponseUint respWriterNumberReturned(aInvocation, "NumberReturned");
    respWriterNumberReturned.Write(respNumberReturned);
    InvocationResponseUint respWriterTotalMatches(aInvocation, "TotalMatches");
    respWriterTotalMatches.Write(respTotalMatches);
    InvocationResponseUint respWriterUpdateID(aInvocation, "UpdateID");
    respWriterUpdateID.Write(respUpdateID);
	aInvocation.InvocationWriteEnd();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:33,代码来源:DvUpnpOrgScheduledRecording2Std.cpp

示例9: ContainerID

void DvProviderUpnpOrgContentDirectory2Cpp::DoCreateObject(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    Brhz buf_ContainerID;
    aInvocation.InvocationReadString("ContainerID", buf_ContainerID);
    std::string ContainerID((const char*)buf_ContainerID.Ptr(), buf_ContainerID.Bytes());
    Brhz buf_Elements;
    aInvocation.InvocationReadString("Elements", buf_Elements);
    std::string Elements((const char*)buf_Elements.Ptr(), buf_Elements.Bytes());
    aInvocation.InvocationReadEnd();
    std::string respObjectID;
    std::string respResult;
    DvInvocationStd invocation(aInvocation);
    CreateObject(invocation, ContainerID, Elements, respObjectID, respResult);
    aInvocation.InvocationWriteStart();
    DviInvocationResponseString respWriterObjectID(aInvocation, "ObjectID");
    Brn buf_ObjectID((const TByte*)respObjectID.c_str(), (TUint)respObjectID.length());
    respWriterObjectID.Write(buf_ObjectID);
    aInvocation.InvocationWriteStringEnd("ObjectID");
    DviInvocationResponseString respWriterResult(aInvocation, "Result");
    Brn buf_Result((const TByte*)respResult.c_str(), (TUint)respResult.length());
    respWriterResult.Write(buf_Result);
    aInvocation.InvocationWriteStringEnd("Result");
    aInvocation.InvocationWriteEnd();
}
开发者ID:Wodath,项目名称:ohNet,代码行数:25,代码来源:DvUpnpOrgContentDirectory2Std.cpp

示例10: Previous

void DvProviderUpnpOrgAVTransport2Cpp::DoPrevious(IDviInvocation& aInvocation, uint32_t aVersion)
{
    aInvocation.InvocationReadStart();
    uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
    aInvocation.InvocationReadEnd();
    Previous(aVersion, InstanceID);
	aInvocation.InvocationWriteStart();
	aInvocation.InvocationWriteEnd();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:9,代码来源:DvUpnpOrgAVTransport2Std.cpp

示例11: invocation

void DvProviderLinnCoUkVolkano1Cpp::DoReboot(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    DvInvocationStd invocation(aInvocation);
    Reboot(invocation);
    aInvocation.InvocationWriteStart();
    aInvocation.InvocationWriteEnd();
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:9,代码来源:DvLinnCoUkVolkano1Std.cpp

示例12: invocation

void DvProviderUpnpOrgDimming1Cpp::DoStepDown(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    DvInvocationStd invocation(aInvocation);
    StepDown(invocation);
    aInvocation.InvocationWriteStart();
    aInvocation.InvocationWriteEnd();
}
开发者ID:astaykov,项目名称:ohNet,代码行数:9,代码来源:DvUpnpOrgDimming1Std.cpp

示例13: invocation

void DvProviderAvOpenhomeOrgTransport1Cpp::DoSkipPrevious(IDviInvocation& aInvocation)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    DvInvocationStd invocation(aInvocation);
    SkipPrevious(invocation);
    aInvocation.InvocationWriteStart();
    aInvocation.InvocationWriteEnd();
}
开发者ID:openhome,项目名称:ohNetGenerated,代码行数:9,代码来源:DvAvOpenhomeOrgTransport1Std.cpp

示例14: RecordTaskID

void DvProviderUpnpOrgScheduledRecording2Cpp::DoResetRecordTask(IDviInvocation& aInvocation, uint32_t aVersion)
{
    aInvocation.InvocationReadStart();
    Brhz buf_RecordTaskID;
    aInvocation.InvocationReadString("RecordTaskID", buf_RecordTaskID);
    std::string RecordTaskID((const char*)buf_RecordTaskID.Ptr(), buf_RecordTaskID.Bytes());
    aInvocation.InvocationReadEnd();
    ResetRecordTask(aVersion, RecordTaskID);
	aInvocation.InvocationWriteStart();
	aInvocation.InvocationWriteEnd();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:11,代码来源:DvUpnpOrgScheduledRecording2Std.cpp

示例15: respWriterId

void DvProviderUpnpOrgScheduledRecording2Cpp::DoGetStateUpdateID(IDviInvocation& aInvocation, uint32_t aVersion)
{
    aInvocation.InvocationReadStart();
    aInvocation.InvocationReadEnd();
    uint32_t respId;
    GetStateUpdateID(aVersion, respId);
	aInvocation.InvocationWriteStart();
    InvocationResponseUint respWriterId(aInvocation, "Id");
    respWriterId.Write(respId);
	aInvocation.InvocationWriteEnd();
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:11,代码来源:DvUpnpOrgScheduledRecording2Std.cpp


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