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


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

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


在下文中一共展示了Incoming::startReadParams方法的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;
}
开发者ID:bigjun,项目名称:robocomp-people-detection,代码行数:26,代码来源:Planning.cpp

示例2:

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

示例3: sendData

::Ice::DispatchStatus
RoboCompJoystickAdapter::JoystickAdapter::___sendData(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::RoboCompJoystickAdapter::TData data;
    __is->read(data);
    __inS.endReadParams();
    sendData(data, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:mhaut,项目名称:experimentVisualIK,代码行数:12,代码来源:JoystickAdapter.cpp

示例4: TellClientId

::Ice::DispatchStatus
Pera::PcIdToWsServer::___TellClientId(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string strClientId;
    __is->read(strClientId);
    __inS.endReadParams();
    TellClientId(strClientId, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:cugxiangzhenwei,项目名称:OtherCode,代码行数:12,代码来源:StormNewsDemo.cpp

示例5: NewMsg

::Ice::DispatchStatus
Pera::News::___NewMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string time;
    __is->read(time);
    __inS.endReadParams();
    NewMsg(time, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:cugxiangzhenwei,项目名称:OtherCode,代码行数:12,代码来源:StormNewsDemo.cpp

示例6: CFR

::Ice::DispatchStatus
RoboCompSpeechUnderstanding::SpeechUnderstanding::___CFR(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string text;
    __is->read(text);
    __inS.endReadParams();
    CFR(text, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:alvarovillena,项目名称:robocomp-SIMD,代码行数:12,代码来源:SpeechUnderstanding.cpp

示例7: goalInformation

::Ice::DispatchStatus
RoboCompAriaMapInformation::AriaMapInformation::___goalInformation(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::RoboCompAriaMapInformation::GoalInfo goal;
    __is->read(goal);
    __inS.endReadParams();
    goalInformation(goal, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:alvarovillena,项目名称:robocomp-SIMD,代码行数:12,代码来源:AriaMapInformation.cpp

示例8: PrintMsg

::Ice::DispatchStatus
CoreSpace::CoreBase::___PrintMsg(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string s;
    __is->read(s);
    __inS.endReadParams();
    PrintMsg(s, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:cugxiangzhenwei,项目名称:MySrcCode,代码行数:12,代码来源:IceCore.cpp

示例9: transcription

::Ice::DispatchStatus
RoboCompTranscriptionRecognition::TranscriptionRecognition::___transcription(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string text;
    __is->read(text);
    __inS.endReadParams();
    transcription(text, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:alvarovillena,项目名称:robocomp-SIMD,代码行数:12,代码来源:transcriptionRecognition.cpp

示例10: 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;
}
开发者ID:robocomp,项目名称:robocomp-agm-basic,代码行数:12,代码来源:JoyStick.cpp

示例11: personPose

::Ice::DispatchStatus
RoboCompPersonPosition::PersonPosition::___personPose(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::RoboCompPersonPosition::MapPose personPosition;
    __is->read(personPosition);
    __inS.endReadParams();
    personPose(personPosition, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:alvarovillena,项目名称:velodyne_detect_person,代码行数:12,代码来源:PersonPosition.cpp

示例12: peopleDetected

::Ice::DispatchStatus
RoboCompPeopleDetection::PeopleDetection::___peopleDetected(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::RoboCompPeopleDetection::peopleInfo people;
    __is->read(people);
    __inS.endReadParams();
    peopleDetected(people, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
开发者ID:alvarovillena,项目名称:robocomp-SIMD,代码行数:12,代码来源:PeopleDetection.cpp

示例13: 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

示例14: 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

示例15: 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


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