本文整理汇总了C++中Invocation::AddInput方法的典型用法代码示例。如果您正苦于以下问题:C++ Invocation::AddInput方法的具体用法?C++ Invocation::AddInput怎么用?C++ Invocation::AddInput使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Invocation
的用法示例。
在下文中一共展示了Invocation::AddInput方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: buf
void CpProxyUpnpOrgConnectionManager2Cpp::BeginPrepareForConnection(const std::string& aRemoteProtocolInfo, const std::string& aPeerConnectionManager, int32_t aPeerConnectionID, const std::string& aDirection, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionPrepareForConnection, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionPrepareForConnection->InputParameters();
{
Brn buf((const TByte*)aRemoteProtocolInfo.c_str(), (TUint)aRemoteProtocolInfo.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
{
Brn buf((const TByte*)aPeerConnectionManager.c_str(), (TUint)aPeerConnectionManager.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
invocation->AddInput(new ArgumentInt(*inParams[inIndex++], aPeerConnectionID));
{
Brn buf((const TByte*)aDirection.c_str(), (TUint)aDirection.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionPrepareForConnection->OutputParameters();
invocation->AddOutput(new ArgumentInt(*outParams[outIndex++]));
invocation->AddOutput(new ArgumentInt(*outParams[outIndex++]));
invocation->AddOutput(new ArgumentInt(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例2: Service
void CpProxyAvOpenhomeOrgExakt2C::BeginReprogramFallback(const Brx& aDeviceId, const Brx& aFileUri, FunctorAsync& aFunctor)
{
Invocation* invocation = Service()->Invocation(*iActionReprogramFallback, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionReprogramFallback->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aDeviceId));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aFileUri));
Invocable().InvokeAction(*invocation);
}
示例3: ArgumentUint
void CpProxyLinnCoUkFlash1::BeginEraseSector(TUint aaId, TUint aaSector, FunctorAsync& aFunctor)
{
Invocation* invocation = iCpProxy.GetService().Invocation(*iActionEraseSector, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionEraseSector->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aaId));
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aaSector));
iCpProxy.GetInvocable().InvokeAction(*invocation);
}
示例4: ArgumentUint
void CpProxyUpnpOrgAVTransport1::BeginPlay(TUint aInstanceID, const Brx& aSpeed, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionPlay, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionPlay->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aInstanceID));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aSpeed));
iInvocable.InvokeAction(*invocation);
}
示例5: ArgumentUint
void CpProxyUpnpOrgDimming1Cpp::BeginStartRampToLevel(uint32_t anewLoadLevelTarget, uint32_t anewRampTime, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionStartRampToLevel, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionStartRampToLevel->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], anewLoadLevelTarget));
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], anewRampTime));
iInvocable.InvokeAction(*invocation);
}
示例6: ArgumentString
void CpProxyOpenhomeOrgTestBasic1::BeginWriteFile(const Brx& aData, const Brx& aFileFullName, FunctorAsync& aFunctor)
{
Invocation* invocation = iCpProxy.GetService().Invocation(*iActionWriteFile, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionWriteFile->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aData));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aFileFullName));
iCpProxy.GetInvocable().InvokeAction(*invocation);
}
示例7: ArgumentString
void CpProxyAvOpenhomeOrgReceiver1::BeginSetSender(const Brx& aUri, const Brx& aMetadata, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionSetSender, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSetSender->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aUri));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aMetadata));
iInvocable.InvokeAction(*invocation);
}
示例8: ArgumentString
void CpProxyUpnpOrgContentDirectory1::BeginUpdateObject(const Brx& aObjectID, const Brx& aCurrentTagValue, const Brx& aNewTagValue, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionUpdateObject, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionUpdateObject->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aObjectID));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aCurrentTagValue));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aNewTagValue));
iInvocable.InvokeAction(*invocation);
}
示例9: ArgumentUint
void CpProxyOpenhomeOrgTestBasic1Cpp::BeginSetMultiple(uint32_t aValueUint, int32_t aValueInt, bool aValueBool, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionSetMultiple, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSetMultiple->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aValueUint));
invocation->AddInput(new ArgumentInt(*inParams[inIndex++], aValueInt));
invocation->AddInput(new ArgumentBool(*inParams[inIndex++], aValueBool));
iInvocable.InvokeAction(*invocation);
}
示例10: ArgumentString
void CpProxyOpenhomeOrgSubscriptionLongPoll1::BeginRenew(const Brx& aSid, TUint aRequestedDuration, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionRenew, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionRenew->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aSid));
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aRequestedDuration));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionRenew->OutputParameters();
invocation->AddOutput(new ArgumentUint(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例11: buf
void CpProxyAvOpenhomeOrgVolume3Cpp::BeginSetVolumeOffset(const std::string& aChannel, int32_t aVolumeOffsetBinaryMilliDb, FunctorAsync& aFunctor)
{
Invocation* invocation = iCpProxy.GetService().Invocation(*iActionSetVolumeOffset, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSetVolumeOffset->InputParameters();
{
Brn buf((const TByte*)aChannel.c_str(), (TUint)aChannel.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
invocation->AddInput(new ArgumentInt(*inParams[inIndex++], aVolumeOffsetBinaryMilliDb));
iCpProxy.GetInvocable().InvokeAction(*invocation);
}
示例12: buf
void CpProxyAvOpenhomeOrgRadio1Cpp::BeginSetId(uint32_t aValue, const std::string& aUri, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionSetId, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSetId->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aValue));
{
Brn buf((const TByte*)aUri.c_str(), (TUint)aUri.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
iInvocable.InvokeAction(*invocation);
}
示例13: buf
void CpProxyUpnpOrgAVTransport1Cpp::BeginPlay(uint32_t aInstanceID, const std::string& aSpeed, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionPlay, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionPlay->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aInstanceID));
{
Brn buf((const TByte*)aSpeed.c_str(), (TUint)aSpeed.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
iInvocable.InvokeAction(*invocation);
}
示例14: buf
void CpProxyAvOpenhomeOrgPins1Cpp::BeginSetAccount(uint32_t aIndex, const std::string& aMode, const std::string& aType, const std::string& aUri, const std::string& aTitle, const std::string& aDescription, const std::string& aArtworkUri, bool aShuffle, FunctorAsync& aFunctor)
{
Invocation* invocation = iCpProxy.GetService().Invocation(*iActionSetAccount, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSetAccount->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aIndex));
{
Brn buf((const TByte*)aMode.c_str(), (TUint)aMode.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
{
Brn buf((const TByte*)aType.c_str(), (TUint)aType.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
{
Brn buf((const TByte*)aUri.c_str(), (TUint)aUri.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
{
Brn buf((const TByte*)aTitle.c_str(), (TUint)aTitle.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
{
Brn buf((const TByte*)aDescription.c_str(), (TUint)aDescription.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
{
Brn buf((const TByte*)aArtworkUri.c_str(), (TUint)aArtworkUri.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
invocation->AddInput(new ArgumentBool(*inParams[inIndex++], aShuffle));
iCpProxy.GetInvocable().InvokeAction(*invocation);
}
示例15: buf
void CpProxyOpenhomeOrgSubscriptionLongPoll1Cpp::BeginRenew(const std::string& aSid, uint32_t aRequestedDuration, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionRenew, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionRenew->InputParameters();
{
Brn buf((const TByte*)aSid.c_str(), (TUint)aSid.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aRequestedDuration));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionRenew->OutputParameters();
invocation->AddOutput(new ArgumentUint(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}