本文整理汇总了C++中IDviInvocation::InvocationWriteStringEnd方法的典型用法代码示例。如果您正苦于以下问题:C++ IDviInvocation::InvocationWriteStringEnd方法的具体用法?C++ IDviInvocation::InvocationWriteStringEnd怎么用?C++ IDviInvocation::InvocationWriteStringEnd使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IDviInvocation
的用法示例。
在下文中一共展示了IDviInvocation::InvocationWriteStringEnd方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: invocation
void DvProviderAvOpenhomeOrgProduct2Cpp::DoAttributes(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
aInvocation.InvocationReadEnd();
std::string respValue;
DvInvocationStd invocation(aInvocation);
Attributes(invocation, respValue);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriterValue(aInvocation, "Value");
Brn buf_Value((const TByte*)respValue.c_str(), (TUint)respValue.length());
respWriterValue.Write(buf_Value);
aInvocation.InvocationWriteStringEnd("Value");
aInvocation.InvocationWriteEnd();
}
示例2: invocation
void DvProviderUpnpOrgContentDirectory2Cpp::DoGetFeatureList(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
aInvocation.InvocationReadEnd();
std::string respFeatureList;
DvInvocationStd invocation(aInvocation);
GetFeatureList(invocation, respFeatureList);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriterFeatureList(aInvocation, "FeatureList");
Brn buf_FeatureList((const TByte*)respFeatureList.c_str(), (TUint)respFeatureList.length());
respWriterFeatureList.Write(buf_FeatureList);
aInvocation.InvocationWriteStringEnd("FeatureList");
aInvocation.InvocationWriteEnd();
}
示例3: respWriterActions
void DvProviderUpnpOrgAVTransport1Cpp::DoGetCurrentTransportActions(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
aInvocation.InvocationReadEnd();
std::string respActions;
GetCurrentTransportActions(aVersion, InstanceID, respActions);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterActions(aInvocation, "Actions");
Brn buf_Actions((const TByte*)respActions.c_str(), (TUint)respActions.length());
respWriterActions.Write(buf_Actions);
aInvocation.InvocationWriteStringEnd("Actions");
aInvocation.InvocationWriteEnd();
}
示例4: respWriterPlayMedia
void DvProviderUpnpOrgAVTransport2Cpp::DoGetDeviceCapabilities(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
aInvocation.InvocationReadEnd();
std::string respPlayMedia;
std::string respRecMedia;
std::string respRecQualityModes;
GetDeviceCapabilities(aVersion, InstanceID, respPlayMedia, respRecMedia, respRecQualityModes);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterPlayMedia(aInvocation, "PlayMedia");
Brn buf_PlayMedia((const TByte*)respPlayMedia.c_str(), (TUint)respPlayMedia.length());
respWriterPlayMedia.Write(buf_PlayMedia);
aInvocation.InvocationWriteStringEnd("PlayMedia");
InvocationResponseString respWriterRecMedia(aInvocation, "RecMedia");
Brn buf_RecMedia((const TByte*)respRecMedia.c_str(), (TUint)respRecMedia.length());
respWriterRecMedia.Write(buf_RecMedia);
aInvocation.InvocationWriteStringEnd("RecMedia");
InvocationResponseString respWriterRecQualityModes(aInvocation, "RecQualityModes");
Brn buf_RecQualityModes((const TByte*)respRecQualityModes.c_str(), (TUint)respRecQualityModes.length());
respWriterRecQualityModes.Write(buf_RecQualityModes);
aInvocation.InvocationWriteStringEnd("RecQualityModes");
aInvocation.InvocationWriteEnd();
}
示例5: respWriterCurrentTransportState
void DvProviderUpnpOrgAVTransport2Cpp::DoGetTransportInfo(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
aInvocation.InvocationReadEnd();
std::string respCurrentTransportState;
std::string respCurrentTransportStatus;
std::string respCurrentSpeed;
GetTransportInfo(aVersion, InstanceID, respCurrentTransportState, respCurrentTransportStatus, respCurrentSpeed);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterCurrentTransportState(aInvocation, "CurrentTransportState");
Brn buf_CurrentTransportState((const TByte*)respCurrentTransportState.c_str(), (TUint)respCurrentTransportState.length());
respWriterCurrentTransportState.Write(buf_CurrentTransportState);
aInvocation.InvocationWriteStringEnd("CurrentTransportState");
InvocationResponseString respWriterCurrentTransportStatus(aInvocation, "CurrentTransportStatus");
Brn buf_CurrentTransportStatus((const TByte*)respCurrentTransportStatus.c_str(), (TUint)respCurrentTransportStatus.length());
respWriterCurrentTransportStatus.Write(buf_CurrentTransportStatus);
aInvocation.InvocationWriteStringEnd("CurrentTransportStatus");
InvocationResponseString respWriterCurrentSpeed(aInvocation, "CurrentSpeed");
Brn buf_CurrentSpeed((const TByte*)respCurrentSpeed.c_str(), (TUint)respCurrentSpeed.length());
respWriterCurrentSpeed.Write(buf_CurrentSpeed);
aInvocation.InvocationWriteStringEnd("CurrentSpeed");
aInvocation.InvocationWriteEnd();
}
示例6: invocation
void DvProviderLinnCoUkVolkano1Cpp::DoBoardType(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
uint32_t aIndex = aInvocation.InvocationReadUint("aIndex");
aInvocation.InvocationReadEnd();
std::string respaBoardNumber;
DvInvocationStd invocation(aInvocation);
BoardType(invocation, aIndex, respaBoardNumber);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriteraBoardNumber(aInvocation, "aBoardNumber");
Brn buf_aBoardNumber((const TByte*)respaBoardNumber.c_str(), (TUint)respaBoardNumber.length());
respWriteraBoardNumber.Write(buf_aBoardNumber);
aInvocation.InvocationWriteStringEnd("aBoardNumber");
aInvocation.InvocationWriteEnd();
}
示例7: invocation
void DvProviderUpnpOrgAVTransport2Cpp::DoGetDRMState(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
aInvocation.InvocationReadEnd();
std::string respCurrentDRMState;
DvInvocationStd invocation(aInvocation);
GetDRMState(invocation, InstanceID, respCurrentDRMState);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriterCurrentDRMState(aInvocation, "CurrentDRMState");
Brn buf_CurrentDRMState((const TByte*)respCurrentDRMState.c_str(), (TUint)respCurrentDRMState.length());
respWriterCurrentDRMState.Write(buf_CurrentDRMState);
aInvocation.InvocationWriteStringEnd("CurrentDRMState");
aInvocation.InvocationWriteEnd();
}
示例8: Elements
void DvProviderUpnpOrgScheduledRecording2Cpp::DoCreateRecordSchedule(IDviInvocation& aInvocation, uint32_t aVersion)
{
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;
CreateRecordSchedule(aVersion, Elements, respRecordScheduleID, respResult, respUpdateID);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterRecordScheduleID(aInvocation, "RecordScheduleID");
Brn buf_RecordScheduleID((const TByte*)respRecordScheduleID.c_str(), (TUint)respRecordScheduleID.length());
respWriterRecordScheduleID.Write(buf_RecordScheduleID);
aInvocation.InvocationWriteStringEnd("RecordScheduleID");
InvocationResponseString respWriterResult(aInvocation, "Result");
Brn buf_Result((const TByte*)respResult.c_str(), (TUint)respResult.length());
respWriterResult.Write(buf_Result);
aInvocation.InvocationWriteStringEnd("Result");
InvocationResponseUint respWriterUpdateID(aInvocation, "UpdateID");
respWriterUpdateID.Write(respUpdateID);
aInvocation.InvocationWriteEnd();
}
示例9: DataTypeID
void DvProviderUpnpOrgScheduledRecording2Cpp::DoGetPropertyList(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
Brhz buf_DataTypeID;
aInvocation.InvocationReadString("DataTypeID", buf_DataTypeID);
std::string DataTypeID((const char*)buf_DataTypeID.Ptr(), buf_DataTypeID.Bytes());
aInvocation.InvocationReadEnd();
std::string respPropertyList;
GetPropertyList(aVersion, DataTypeID, respPropertyList);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterPropertyList(aInvocation, "PropertyList");
Brn buf_PropertyList((const TByte*)respPropertyList.c_str(), (TUint)respPropertyList.length());
respWriterPropertyList.Write(buf_PropertyList);
aInvocation.InvocationWriteStringEnd("PropertyList");
aInvocation.InvocationWriteEnd();
}
示例10: respWriterSortCaps
void DvProviderUpnpOrgScheduledRecording2Cpp::DoGetSortCapabilities(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
aInvocation.InvocationReadEnd();
std::string respSortCaps;
uint32_t respSortLevelCap;
GetSortCapabilities(aVersion, respSortCaps, respSortLevelCap);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterSortCaps(aInvocation, "SortCaps");
Brn buf_SortCaps((const TByte*)respSortCaps.c_str(), (TUint)respSortCaps.length());
respWriterSortCaps.Write(buf_SortCaps);
aInvocation.InvocationWriteStringEnd("SortCaps");
InvocationResponseUint respWriterSortLevelCap(aInvocation, "SortLevelCap");
respWriterSortLevelCap.Write(respSortLevelCap);
aInvocation.InvocationWriteEnd();
}
示例11: StateVariableList
void DvProviderUpnpOrgAVTransport2Cpp::DoGetStateVariables(IDviInvocation& aInvocation, uint32_t aVersion)
{
aInvocation.InvocationReadStart();
uint32_t InstanceID = aInvocation.InvocationReadUint("InstanceID");
Brhz buf_StateVariableList;
aInvocation.InvocationReadString("StateVariableList", buf_StateVariableList);
std::string StateVariableList((const char*)buf_StateVariableList.Ptr(), buf_StateVariableList.Bytes());
aInvocation.InvocationReadEnd();
std::string respStateVariableValuePairs;
GetStateVariables(aVersion, InstanceID, StateVariableList, respStateVariableValuePairs);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterStateVariableValuePairs(aInvocation, "StateVariableValuePairs");
Brn buf_StateVariableValuePairs((const TByte*)respStateVariableValuePairs.c_str(), (TUint)respStateVariableValuePairs.length());
respWriterStateVariableValuePairs.Write(buf_StateVariableValuePairs);
aInvocation.InvocationWriteStringEnd("StateVariableValuePairs");
aInvocation.InvocationWriteEnd();
}
示例12: invocation
void DvProviderUpnpOrgDimming1Cpp::DoGetOnEffectParameters(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
aInvocation.InvocationReadEnd();
std::string respretOnEffect;
uint32_t respretOnEffectLevel;
DvInvocationStd invocation(aInvocation);
GetOnEffectParameters(invocation, respretOnEffect, respretOnEffectLevel);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriterretOnEffect(aInvocation, "retOnEffect");
Brn buf_retOnEffect((const TByte*)respretOnEffect.c_str(), (TUint)respretOnEffect.length());
respWriterretOnEffect.Write(buf_retOnEffect);
aInvocation.InvocationWriteStringEnd("retOnEffect");
DviInvocationResponseUint respWriterretOnEffectLevel(aInvocation, "retOnEffectLevel");
respWriterretOnEffectLevel.Write(respretOnEffectLevel);
aInvocation.InvocationWriteEnd();
}
示例13: Challenge
void DvProviderLinnCoUkCloud1Cpp::DoGetChallengeResponse(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_Challenge;
aInvocation.InvocationReadString("Challenge", buf_Challenge);
std::string Challenge((const char*)buf_Challenge.Ptr(), buf_Challenge.Bytes());
aInvocation.InvocationReadEnd();
std::string respResponse;
DvInvocationStd invocation(aInvocation);
GetChallengeResponse(invocation, Challenge, respResponse);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriterResponse(aInvocation, "Response");
Brn buf_Response((const TByte*)respResponse.c_str(), (TUint)respResponse.length());
respWriterResponse.Write(buf_Response);
aInvocation.InvocationWriteStringEnd("Response");
aInvocation.InvocationWriteEnd();
}
示例14: DeviceId
void DvProviderAvOpenhomeOrgExakt2Cpp::DoDeviceSettings(IDviInvocation& aInvocation)
{
aInvocation.InvocationReadStart();
Brhz buf_DeviceId;
aInvocation.InvocationReadString("DeviceId", buf_DeviceId);
std::string DeviceId((const char*)buf_DeviceId.Ptr(), buf_DeviceId.Bytes());
aInvocation.InvocationReadEnd();
std::string respSettings;
DvInvocationStd invocation(aInvocation);
DeviceSettings(invocation, DeviceId, respSettings);
aInvocation.InvocationWriteStart();
DviInvocationResponseString respWriterSettings(aInvocation, "Settings");
Brn buf_Settings((const TByte*)respSettings.c_str(), (TUint)respSettings.length());
respWriterSettings.Write(buf_Settings);
aInvocation.InvocationWriteStringEnd("Settings");
aInvocation.InvocationWriteEnd();
}
示例15: RecordTaskID
void DvProviderUpnpOrgScheduledRecording2Cpp::DoGetRecordTaskConflicts(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();
std::string respRecordTaskConflictIDList;
uint32_t respUpdateID;
GetRecordTaskConflicts(aVersion, RecordTaskID, respRecordTaskConflictIDList, respUpdateID);
aInvocation.InvocationWriteStart();
InvocationResponseString respWriterRecordTaskConflictIDList(aInvocation, "RecordTaskConflictIDList");
Brn buf_RecordTaskConflictIDList((const TByte*)respRecordTaskConflictIDList.c_str(), (TUint)respRecordTaskConflictIDList.length());
respWriterRecordTaskConflictIDList.Write(buf_RecordTaskConflictIDList);
aInvocation.InvocationWriteStringEnd("RecordTaskConflictIDList");
InvocationResponseUint respWriterUpdateID(aInvocation, "UpdateID");
respWriterUpdateID.Write(respUpdateID);
aInvocation.InvocationWriteEnd();
}