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


C++ Incoming::__endWriteParams方法代码示例

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


在下文中一共展示了Incoming::__endWriteParams方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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;
}
开发者ID:bigjun,项目名称:robocomp-people-detection,代码行数:26,代码来源:Planning.cpp

示例2: 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;
}
开发者ID:rachwal,项目名称:RMI,代码行数:10,代码来源:message.cpp

示例3: 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;
}
开发者ID:adiazser,项目名称:Robotica1,代码行数:11,代码来源:GetAprilTags.cpp

示例4: 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;
}
开发者ID:iriberri,项目名称:Systems-Architecture-II,代码行数:11,代码来源:StringService.cpp

示例5: readJoyStickBufferedData

::Ice::DispatchStatus
RoboCompJoyStick::JoyStick::___readJoyStickBufferedData(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    __inS.readEmptyParams();
    ::RoboCompJoyStick::JoyStickBufferedData gbd;
    readJoyStickBufferedData(gbd, __current);
    ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
    __os->write(gbd);
    __inS.__endWriteParams(true);
    return ::Ice::DispatchOK;
}
开发者ID:robocomp,项目名称:robocomp-agm-basic,代码行数:12,代码来源:JoyStick.cpp

示例6: consulta

::Ice::DispatchStatus
UC3M::CineTicketService::___consulta(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::Ice::Int horaSesion;
    __is->read(horaSesion);
    __inS.endReadParams();
    ::UC3M::consultasesion __ret = consulta(horaSesion, __current);
    ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
    __os->write(__ret);
    __inS.__endWriteParams(true);
    return ::Ice::DispatchOK;
}
开发者ID:iriberri,项目名称:Systems-Architecture-II,代码行数:14,代码来源:CineTicketService.cpp

示例7: delSelfConfig

::Ice::DispatchStatus
kelp::cmd2kcn::___delSelfConfig(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string key;
    __is->read(key);
    __inS.endReadParams();
    bool __ret = delSelfConfig(key, __current);
    ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
    __os->write(__ret);
    __inS.__endWriteParams(true);
    return ::Ice::DispatchOK;
}
开发者ID:keyboard-man,项目名称:kelp,代码行数:14,代码来源:cmd2kcn.cpp

示例8: CheckState

::Ice::DispatchStatus
OWSMODULE::DataOperation::___CheckState(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string taskID;
    __is->read(taskID);
    __inS.endReadParams();
    ::OWSMODULE::OWSTask task;
    CheckState(taskID, task, __current);
    ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
    __os->write(task);
    __inS.__endWriteParams(true);
    return ::Ice::DispatchOK;
}
开发者ID:douxiaozhao,项目名称:WMTS,代码行数:15,代码来源:OWS.cpp

示例9: sub

::Ice::DispatchStatus
CoreSpace::CoreBase::___sub(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::Ice::Int a;
    ::Ice::Int b;
    __is->read(a);
    __is->read(b);
    __inS.endReadParams();
    ::Ice::Int __ret = sub(a, b, __current);
    ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
    __os->write(__ret);
    __inS.__endWriteParams(true);
    return ::Ice::DispatchOK;
}
开发者ID:cugxiangzhenwei,项目名称:MySrcCode,代码行数:16,代码来源:IceCore.cpp

示例10: sub

::Ice::DispatchStatus
MCal::Cal::___sub(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::Ice::Int num1;
    ::Ice::Int num2;
    __is->read(num1);
    __is->read(num2);
    __inS.endReadParams();
    ::Ice::Int __ret = sub(num1, num2, __current);
    ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
    __os->write(__ret);
    __inS.__endWriteParams(true);
    return ::Ice::DispatchOK;
}
开发者ID:cugxiangzhenwei,项目名称:MySrcCode,代码行数:16,代码来源:Caculator.cpp

示例11: getBaseState

::Ice::DispatchStatus
RoboCompGenericBase::GenericBase::___getBaseState(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    __inS.readEmptyParams();
    ::RoboCompGenericBase::TBaseState state;
    try
    {
        getBaseState(state, __current);
        ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
        __os->write(state);
        __inS.__endWriteParams(true);
        return ::Ice::DispatchOK;
    }
    catch(const ::RoboCompGenericBase::HardwareFailedException& __ex)
    {
        __inS.__writeUserException(__ex, ::Ice::DefaultFormat);
    }
    return ::Ice::DispatchUserException;
}
开发者ID:vzccristian,项目名称:roboticaCC,代码行数:20,代码来源:GenericBase.cpp

示例12: runLocalRobotStart

::Ice::DispatchStatus
com::pera::base::runtime::remote::RobotRemoteService::___runLocalRobotStart(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string robotInfo;
    __is->read(robotInfo);
    __inS.endReadParams();
    try
    {
        ::std::string __ret = runLocalRobotStart(robotInfo, __current);
        ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
        __os->write(__ret);
        __inS.__endWriteParams(true);
        return ::Ice::DispatchOK;
    }
    catch(const ::com::pera::base::runtime::remote::RemoteException& __ex)
    {
        __inS.__writeUserException(__ex, ::Ice::DefaultFormat);
    }
    return ::Ice::DispatchUserException;
}
开发者ID:cugxiangzhenwei,项目名称:WorkPlatForm,代码行数:22,代码来源:RobotRemoteService.cpp

示例13: InvokeMethod

::Ice::DispatchStatus
pera::Demo601Server::PeraDemo601ServerService::___InvokeMethod(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string methodName;
    ::std::string strJsonIn;
    __is->read(methodName);
    __is->read(strJsonIn);
    __inS.endReadParams();
    try
    {
        ::std::string __ret = InvokeMethod(methodName, strJsonIn, __current);
        ::IceInternal::BasicStream* __os = __inS.__startWriteParams(::Ice::DefaultFormat);
        __os->write(__ret);
        __inS.__endWriteParams(true);
        return ::Ice::DispatchOK;
    }
    catch(const ::pera::Demo601Server::InvokeException& __ex)
    {
        __inS.__writeUserException(__ex, ::Ice::DefaultFormat);
    }
    return ::Ice::DispatchUserException;
}
开发者ID:cugxiangzhenwei,项目名称:WorkPlatForm,代码行数:24,代码来源:Pera601DemoServerIce.cpp


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