コード例 #1
0
::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
0
ファイル: message.cpp プロジェクト: rachwal/RMI
::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;
}
コード例 #3
0
::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;
}
コード例 #4
0
::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;
}
コード例 #5
0
::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;
}
コード例 #6
0
::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;
}
コード例 #7
0
::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;
}
コード例 #8
0
ファイル: IceCore.cpp プロジェクト: cugxiangzhenwei/MySrcCode
::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;
}
コード例 #9
0
::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;
}
コード例 #10
0
::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;
}
コード例 #11
0
::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;
}
コード例 #12
0
::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;
}
コード例 #13
0
::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;
}
コード例 #14
0
ファイル: cmd2kcn.cpp プロジェクト: keyboard-man/kelp
::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;
}
コード例 #15
0
ファイル: OWS.cpp プロジェクト: douxiaozhao/WMTS
::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;
}
コード例 #16
0
::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;
}
コード例 #17
0
ファイル: IceCore.cpp プロジェクト: cugxiangzhenwei/MySrcCode
::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;
}
コード例 #18
0
::Ice::DispatchStatus
com::pera::base::runtime::remote::RobotRemoteService::___runRobotStop(::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();
    try
    {
        runRobotStop(taskId, __current);
        __inS.__writeEmptyParams();
        return ::Ice::DispatchOK;
    }
    catch(const ::com::pera::base::runtime::remote::RemoteException& __ex)
    {
        __inS.__writeUserException(__ex, ::Ice::DefaultFormat);
    }
    return ::Ice::DispatchUserException;
}
コード例 #19
0
ファイル: Printer.cpp プロジェクト: IntNull93/51_55
::Ice::DispatchStatus
Demo::Printer::___printString(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.startReadParams();
    ::std::string s;
    bool b;
    ::Ice::Int i;
    ::Ice::Long l;
    ::Ice::Float f;
    ::Ice::Double d;
    __is->read(s);
    __is->read(b);
    __is->read(i);
    __is->read(l);
    __is->read(f);
    __is->read(d);
    __inS.endReadParams();
    printString(s, b, i, l, f, d, __current);
    __inS.__writeEmptyParams();
    return ::Ice::DispatchOK;
}
コード例 #20
0
::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;
}
コード例 #21
0
::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;
}