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


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

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


在下文中一共展示了Incoming::is方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: catch

::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;
}
开发者ID:azybler,项目名称:Yahoo_LDA,代码行数:26,代码来源:DistributedMap.cpp

示例2: catch

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

示例3: reloadConfig

::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;
}
开发者ID:robocomp,项目名称:robocomp-robolab-deprecated,代码行数:8,代码来源:CommonBehavior.cpp

示例4: reset

::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;
}
开发者ID:irodmar,项目名称:JdeRobot,代码行数:8,代码来源:quadrotor.cpp

示例5: shutdown

::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;
}
开发者ID:psychobob666,项目名称:MediaEncodingCluster,代码行数:8,代码来源:Printer.cpp

示例6: sayHello

::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;
}
开发者ID:mvxi,项目名称:icetest,代码行数:8,代码来源:Hello.cpp

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

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

示例9: sayHello

::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;
}
开发者ID:updowndown,项目名称:myffff,代码行数:10,代码来源:BHACO.cpp

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

示例11: setPinger

::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;
}
开发者ID:mjs513,项目名称:orca-robotics,代码行数:10,代码来源:pingreply.cpp

示例12: acceptPeriod

::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;
}
开发者ID:zzilla,项目名称:robocam,代码行数:10,代码来源:client.cpp

示例13: acceptMessage

::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;
}
开发者ID:zzilla,项目名称:robocam,代码行数:10,代码来源:client.cpp

示例14: acceptServoEn

::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;
}
开发者ID:zzilla,项目名称:robocam,代码行数:10,代码来源:client.cpp

示例15: takeItBack

::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;
}
开发者ID:mjs513,项目名称:orca-robotics,代码行数:10,代码来源:pingreply.cpp


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