示例#1
0
::Ice::DispatchStatus
GlobalTable::DistributedMap::___putNget(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::std::string s;
    ::std::string delta;
    __is->read(s);
    __is->read(delta);
    __is->endReadEncaps();
    ::GlobalTable::AMD_DistributedMap_putNgetPtr __cb = new IceAsync::GlobalTable::AMD_DistributedMap_putNget(__inS);
    try
    {
        putNget_async(__cb, s, delta, __current);
    }
    catch(const ::std::exception& __ex)
    {
        __cb->ice_exception(__ex);
    }
    catch(...)
    {
        __cb->ice_exception();
    }
    return ::Ice::DispatchAsync;
}
示例#2
0
文件: demo.cpp 项目: xly931/demo
::Ice::DispatchStatus
HSFoward::HSBnsProc::___amdfun(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::Ice::Int num;
    ::std::string str;
    __is->read(num);
    __is->read(str);
    __is->endReadEncaps();
    ::HSFoward::AMD_HSBnsProc_amdfunPtr __cb = new IceAsync::HSFoward::AMD_HSBnsProc_amdfun(__inS);
    try
    {
        amdfun_async(__cb, num, str, __current);
    }
    catch(const ::std::exception& __ex)
    {
        __cb->ice_exception(__ex);
    }
    catch(...)
    {
        __cb->ice_exception();
    }
    return ::Ice::DispatchAsync;
}
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___reloadConfig(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    __inS.is()->skipEmptyEncaps();
    reloadConfig(__current);
    return ::Ice::DispatchOK;
}
示例#4
0
::Ice::DispatchStatus
jderobot::Quadrotor::___reset(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    __inS.is()->skipEmptyEncaps();
    reset(__current);
    return ::Ice::DispatchOK;
}
::Ice::DispatchStatus
Demo::Printer::___shutdown(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    __inS.is()->skipEmptyEncaps();
    shutdown(__current);
    return ::Ice::DispatchOK;
}
示例#6
0
文件: Hello.cpp 项目: mvxi/icetest
::Ice::DispatchStatus
Demo::Hello::___sayHello(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    __inS.is()->skipEmptyEncaps();
    sayHello(__current);
    return ::Ice::DispatchOK;
}
::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;
}
::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;
}
示例#9
0
::IceInternal::DispatchStatus
BHAco::Request::___sayHello(::IceInternal::Incoming&__inS, const ::Ice::Current& __current) const
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Ice::Int delay;
    __is->read(delay);
    sayHello(delay, __current);
    return ::IceInternal::DispatchOK;
}
示例#10
0
文件: TimeInfo.cpp 项目: mvxi/icetest
::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;
}
示例#11
0
::IceInternal::DispatchStatus
orca::util::LatencyReplier::___setPinger(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::orca::util::LatencyPingerPrx server;
    ::orca::util::__read(__is, server);
    setPinger(server, __current);
    return ::IceInternal::DispatchOK;
}
示例#12
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CCam::___acceptPeriod(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Ice::Double value;
    __is->read(value);
    acceptPeriod(value, __current);
    return ::Ice::DispatchOK;
}
示例#13
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CChat::___acceptMessage(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::std::string stri;
    __is->read(stri);
    acceptMessage(stri, __current);
    return ::Ice::DispatchOK;
}
示例#14
0
::IceInternal::DispatchStatus
ICSSW::Notifier::___notify(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::ICSSW::Event ev;
    ev.__read(__is);
    notify(ev, __current);
    return ::IceInternal::DispatchOK;
}
示例#15
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CMoto::___acceptServoEn(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    bool en;
    __is->read(en);
    acceptServoEn(en, __current);
    return ::Ice::DispatchOK;
}
示例#16
0
::IceInternal::DispatchStatus
orca::util::LatencyPinger::___takeItBack(::IceInternal::Incoming&__inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::orca::util::PingReplyData data;
    data.__read(__is);
    takeItBack(data, __current);
    return ::IceInternal::DispatchOK;
}
示例#17
0
文件: TimeInfo.cpp 项目: mvxi/icetest
::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;
}
示例#18
0
文件: factory.cpp 项目: z80/IPM
::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;
}
示例#19
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CCam::___acceptResolution(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Ice::Int width;
    ::Ice::Int height;
    __is->read(width);
    __is->read(height);
    acceptResolution(width, height, __current);
    return ::Ice::DispatchOK;
}
示例#20
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CCam::___acceptImage(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Types::TByteArray image;
    ::std::pair<const ::Ice::Byte*, const ::Ice::Byte*> ___image;
    __is->read(___image);
    ::std::vector< ::Ice::Byte>(___image.first, ___image.second).swap(image);
    acceptImage(image, __current);
    return ::Ice::DispatchOK;
}
示例#21
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CMoto::___acceptServo(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Ice::Double servo1;
    ::Ice::Double servo2;
    __is->read(servo1);
    __is->read(servo2);
    acceptServo(servo1, servo2, __current);
    return ::Ice::DispatchOK;
}
示例#22
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CMoto::___acceptMoto(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Ice::Int dir1;
    ::Ice::Int dir2;
    __is->read(dir1);
    __is->read(dir2);
    acceptMoto(dir1, dir2, __current);
    return ::Ice::DispatchOK;
}
示例#23
0
文件: client.cpp 项目: zzilla/robocam
::Ice::DispatchStatus
Client::CChat::___acceptClientList(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    ::Types::TStringArray list;
    ::std::string driverNickname;
    __is->read(list);
    __is->read(driverNickname);
    acceptClientList(list, driverNickname, __current);
    return ::Ice::DispatchOK;
}
::Ice::DispatchStatus
Demo::Printer::___printString(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::std::string s;
    __is->read(s);
    __is->endReadEncaps();
    printString(s, __current);
    return ::Ice::DispatchOK;
}
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___setPeriod(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::Ice::Int period;
    __is->read(period);
    __is->endReadEncaps();
    setPeriod(period, __current);
    return ::Ice::DispatchOK;
}
示例#26
0
::Ice::DispatchStatus
jderobot::Quadrotor::___cmdVel(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::jderobot::Velocities v;
    v.__read(__is);
    __is->endReadEncaps();
    cmdVel(v, __current);
    return ::Ice::DispatchOK;
}
示例#27
0
::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;
}
示例#28
0
::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;
}
::Ice::DispatchStatus
RoboCompCommonBehavior::CommonBehavior::___setParameterList(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::RoboCompCommonBehavior::ParameterList l;
    ::RoboCompCommonBehavior::__readParameterList(__is, l);
    __is->endReadEncaps();
    setParameterList(l, __current);
    return ::Ice::DispatchOK;
}
示例#30
0
::Ice::DispatchStatus
Communication::DataInterface::___sendFloatData(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::Communication::FloatDataPtr data;
    __is->read(::Communication::__patch__FloatDataPtr, &data);
    __is->readPendingObjects();
    __is->endReadEncaps();
    sendFloatData(data, __current);
    return ::Ice::DispatchOK;
}