本文整理汇总了C++中Invocation类的典型用法代码示例。如果您正苦于以下问题:C++ Invocation类的具体用法?C++ Invocation怎么用?C++ Invocation使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Invocation类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ArgumentUint
void CpProxyOpenhomeOrgTestLights1Cpp::BeginGetColor(uint32_t aIndex, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionGetColor, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionGetColor->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aIndex));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionGetColor->OutputParameters();
invocation->AddOutput(new ArgumentUint(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例2: ArgumentString
void CpProxyAvOpenhomeOrgRadio1::BeginReadList(const Brx& aIdList, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionReadList, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionReadList->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aIdList));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionReadList->OutputParameters();
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例3: ArgumentString
void CpProxyOpenhomeOrgSubscriptionLongPoll1::BeginGetPropertyUpdates(const Brx& aClientId, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionGetPropertyUpdates, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionGetPropertyUpdates->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aClientId));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionGetPropertyUpdates->OutputParameters();
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例4: Invocation
NS_CC_EXT_BEGIN
Invocation* Invocation::create(Ref* target, Control::Handler action, Control::EventType controlEvent)
{
Invocation* pRet = new Invocation(target, action, controlEvent);
if (pRet != nullptr)
{
pRet->autorelease();
}
return pRet;
}
示例5: ArgumentUint
void CpProxyUpnpOrgAVTransport1Cpp::BeginGetCurrentTransportActions(uint32_t aInstanceID, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionGetCurrentTransportActions, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionGetCurrentTransportActions->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aInstanceID));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionGetCurrentTransportActions->OutputParameters();
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例6: ArgumentUint
void CpProxyLinnCoUkFlash1::BeginSectorBytes(TUint aaId, FunctorAsync& aFunctor)
{
Invocation* invocation = iCpProxy.GetService().Invocation(*iActionSectorBytes, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSectorBytes->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aaId));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionSectorBytes->OutputParameters();
invocation->AddOutput(new ArgumentUint(*outParams[outIndex++]));
iCpProxy.GetInvocable().InvokeAction(*invocation);
}
示例7: buf
void CpProxyUpnpOrgContentDirectory1Cpp::BeginDestroyObject(const std::string& aObjectID, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionDestroyObject, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionDestroyObject->InputParameters();
{
Brn buf((const TByte*)aObjectID.c_str(), (TUint)aObjectID.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
iInvocable.InvokeAction(*invocation);
}
示例8: ArgumentString
void CpProxyAvOpenhomeOrgProduct1::BeginModel(FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionModel, aFunctor);
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionModel->OutputParameters();
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例9: buf
void CpProxyOpenhomeOrgSubscriptionLongPoll1Cpp::BeginUnsubscribe(const std::string& aSid, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionUnsubscribe, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionUnsubscribe->InputParameters();
{
Brn buf((const TByte*)aSid.c_str(), (TUint)aSid.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
iInvocable.InvokeAction(*invocation);
}
示例10: buf
void CpProxyAvOpenhomeOrgDebug1Cpp::BeginSendLog(const std::string& aData, FunctorAsync& aFunctor)
{
Invocation* invocation = iCpProxy.GetService().Invocation(*iActionSendLog, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionSendLog->InputParameters();
{
Brn buf((const TByte*)aData.c_str(), (TUint)aData.length());
invocation->AddInput(new ArgumentString(*inParams[inIndex++], buf));
}
iCpProxy.GetInvocable().InvokeAction(*invocation);
}
示例11: ArgumentUint
void CpProxyAvOpenhomeOrgRadio1::BeginIdArrayChanged(TUint aToken, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionIdArrayChanged, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionIdArrayChanged->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aToken));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionIdArrayChanged->OutputParameters();
invocation->AddOutput(new ArgumentBool(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例12: 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);
}
示例13: ArgumentString
void CpProxyUpnpOrgContentDirectory1::BeginCreateReference(const Brx& aContainerID, const Brx& aObjectID, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionCreateReference, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionCreateReference->InputParameters();
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aContainerID));
invocation->AddInput(new ArgumentString(*inParams[inIndex++], aObjectID));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionCreateReference->OutputParameters();
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}
示例14: 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);
}
示例15: ArgumentUint
void CpProxyAvOpenhomeOrgPlaylist1Cpp::BeginRead(uint32_t aId, FunctorAsync& aFunctor)
{
Invocation* invocation = iService->Invocation(*iActionRead, aFunctor);
TUint inIndex = 0;
const Action::VectorParameters& inParams = iActionRead->InputParameters();
invocation->AddInput(new ArgumentUint(*inParams[inIndex++], aId));
TUint outIndex = 0;
const Action::VectorParameters& outParams = iActionRead->OutputParameters();
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
invocation->AddOutput(new ArgumentString(*outParams[outIndex++]));
iInvocable.InvokeAction(*invocation);
}