本文整理汇总了C++中iceinternal::Incoming类的典型用法代码示例。如果您正苦于以下问题:C++ Incoming类的具体用法?C++ Incoming怎么用?C++ Incoming使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Incoming类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: getSolution
::Ice::DispatchStatus
RoboCompPlanning::Planning::___getSolution(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.startReadParams();
::std::string Domain;
::std::string Problem;
__is->read(Domain);
__is->read(Problem);
__inS.endReadParams();
::RoboCompPlanning::Plan solution;
try
{
bool __ret = getSolution(Domain, Problem, solution, __current);
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
__os->write(solution);
__os->write(__ret);
__inS.__endWriteParams(true);
return ::Ice::DispatchOK;
}
catch(const ::RoboCompPlanning::ServerException& __ex)
{
__inS.__writeUserException(__ex, ::Ice::DefaultFormat);
}
return ::Ice::DispatchUserException;
}
示例2: get
::Ice::DispatchStatus
Pri::Ac::___get(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.readEmptyParams();
get(__current);
__inS.__writeEmptyParams();
return ::Ice::DispatchOK;
}
示例3: shutdown
::Ice::DispatchStatus
OWSMODULE::DataOperation::___shutdown(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.readEmptyParams();
shutdown(__current);
__inS.__writeEmptyParams();
return ::Ice::DispatchOK;
}
示例4: getState
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___getState(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::RoboCompCommonBehavior::State __ret = getState(__current);
::RoboCompCommonBehavior::__write(__os, __ret);
return ::Ice::DispatchOK;
}
示例5: getTimeInfo
::Ice::DispatchStatus
Temp::TimeInfo::___getTimeInfo(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::Temp::TimeInfoPrx __ret = getTimeInfo(__current);
__os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get())));
return ::Ice::DispatchOK;
}
示例6: getContent
::Ice::DispatchStatus zerocexample::MessageIce::___getContent(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
__inS.readEmptyParams();
::std::string __ret = getContent(__current);
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
__os->write(__ret);
__inS.__endWriteParams(true);
return ::Ice::DispatchOK;
}
示例7: timeAwake
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___timeAwake(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::Ice::Int __ret = timeAwake(__current);
__os->write(__ret);
return ::Ice::DispatchOK;
}
示例8: getServerInfo
::Ice::DispatchStatus
Temp::TimeInfo::___getServerInfo(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.is()->skipEmptyEncaps();
::IceInternal::BasicStream* __os = __inS.os();
::std::string __ret = getServerInfo(__current);
__os->write(__ret);
return ::Ice::DispatchOK;
}
示例9: ask
::Ice::DispatchStatus
UC3M::AgendaService::___ask(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.readEmptyParams();
::UC3M::informacionSt __ret = ask(__current);
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
__os->write(__ret);
__inS.__endWriteParams(true);
return ::Ice::DispatchOK;
}
示例10:
::Ice::DispatchStatus zerocexample::MessageIce::___setContent(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.startReadParams();
::std::string __p_text;
__is->read(__p_text);
__inS.endReadParams();
setContent(__p_text, __current);
__inS.__writeEmptyParams();
return ::Ice::DispatchOK;
}
示例11: checkMarcas
::Ice::DispatchStatus
RoboCompGetAprilTags::GetAprilTags::___checkMarcas(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
__inS.readEmptyParams();
::RoboCompGetAprilTags::listaMarcas __ret = checkMarcas(__current);
::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
__os->write(__ret);
__inS.__endWriteParams(true);
return ::Ice::DispatchOK;
}
示例12: takeItAndReturn
::IceInternal::DispatchStatus
orca::util::LatencyReplier::___takeItAndReturn(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::IceInternal::BasicStream* __os = __inS.os();
::orca::util::PingReplyData data;
data.__read(__is);
::orca::util::PingReplyData __ret = takeItAndReturn(data, __current);
__ret.__write(__os);
return ::IceInternal::DispatchOK;
}
示例13: RequestData
::IceInternal::DispatchStatus
BHAco::Request::___RequestData(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::IceInternal::BasicStream* __os = __inS.os();
::BHAco::SDataPacket dp;
dp.__read(__is);
::BHAco::SDataPacket __ret = RequestData(dp, __current);
__ret.__write(__os);
return ::IceInternal::DispatchOK;
}
示例14: writeJoyStickBufferedData
::Ice::DispatchStatus
RoboCompJoyStick::JoyStick::___writeJoyStickBufferedData(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Idempotent, __current.mode);
::IceInternal::BasicStream* __is = __inS.startReadParams();
::RoboCompJoyStick::JoyStickBufferedData gbd;
__is->read(gbd);
__inS.endReadParams();
writeJoyStickBufferedData(gbd, __current);
__inS.__writeEmptyParams();
return ::Ice::DispatchOK;
}
示例15: query
::Ice::DispatchStatus
Factory::DeviceFactory::___query(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
__checkMode(::Ice::Normal, __current.mode);
::IceInternal::BasicStream* __is = __inS.is();
::std::string interfaceName;
__is->read(interfaceName);
::IceInternal::BasicStream* __os = __inS.os();
::Factory::DevicePrx __ret = query(interfaceName, __current);
__os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get())));
return ::Ice::DispatchOK;
}