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


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

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


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

示例1: status

::Ice::DispatchStatus
Factory::Device::___status(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __os = __inS.os();
    ::std::string __ret = status(__current);
    __os->write(__ret);
    return ::Ice::DispatchOK;
}
开发者ID:z80,项目名称:IPM,代码行数:9,代码来源:factory.cpp

示例2: cam

::Ice::DispatchStatus
Client::CClient::___cam(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Client::CCamPrx __ret = cam(__current);
    __os->write(::Ice::ObjectPrx(::IceInternal::upCast(__ret.get())));
    return ::Ice::DispatchOK;
}
开发者ID:zzilla,项目名称:robocam,代码行数:9,代码来源:client.cpp

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

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

示例5: getServerInfo

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

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

示例7: takeItAndReturn

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

示例8: query

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

示例9: RequestData

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

示例10: GetFoup

::Ice::DispatchStatus
MCS::MESLink::___GetFoup(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::Ice::Int foupBarCode;
    __is->read(foupBarCode);
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::MCS::LocFoup __ret = GetFoup(foupBarCode, __current);
    __ret.__write(__os);
    return ::Ice::DispatchOK;
}
开发者ID:marylucey97,项目名称:SyAutoH,代码行数:14,代码来源:iMesLink.cpp

示例11: Register

::Ice::DispatchStatus
loggerice::loggerctrl::___Register(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::std::string name;
    __is->read(name);
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Int __ret = Register(name, __current);
    __os->write(__ret);
    return ::Ice::DispatchOK;
}
开发者ID:hamletg,项目名称:dbg_log,代码行数:14,代码来源:loggerctrl.cpp

示例12: getAppVersion

::Ice::DispatchStatus
com::renren::sixin::account::MiscService::___getAppVersion(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::Ice::Long userId;
    __is->read(userId);
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::com::renren::sixin::account::VersionResultPtr __ret = getAppVersion(userId, __current);
    __os->write(::Ice::ObjectPtr(::IceInternal::upCast(__ret.get())));
    __os->writePendingObjects();
    return ::Ice::DispatchOK;
}
开发者ID:xiaoyu-real,项目名称:Test,代码行数:15,代码来源:miscService.cpp

示例13: interfaces

::Ice::DispatchStatus
Factory::DeviceFactory::___interfaces(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Idempotent, __current.mode);
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Factory::TStringArray __ret = interfaces(__current);
    if(__ret.size() == 0)
    {
        __os->writeSize(0);
    }
    else
    {
        __os->write(&__ret[0], &__ret[0] + __ret.size());
    }
    return ::Ice::DispatchOK;
}
开发者ID:z80,项目名称:IPM,代码行数:16,代码来源:factory.cpp

示例14: output

::Ice::DispatchStatus
level1::level2::test::___output(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    __checkMode(::Ice::Normal, __current.mode);
    ::IceInternal::BasicStream* __is = __inS.is();
    __is->startReadEncaps();
    ::level1::level2::cocoPtr c;
    __is->read(::level1::level2::__patch__cocoPtr, &c);
    __is->readPendingObjects();
    __is->endReadEncaps();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::level1::level2::viviPtr __ret = output(c, __current);
    __os->write(::Ice::ObjectPtr(::IceInternal::upCast(__ret.get())));
    __os->writePendingObjects();
    return ::Ice::DispatchOK;
}
开发者ID:mvxi,项目名称:icetest,代码行数:16,代码来源:test.cpp

示例15: fun

::Ice::DispatchStatus
HSFoward::HSBnsProc::___fun(::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();
    ::IceInternal::BasicStream* __os = __inS.os();
    ::Ice::Int __ret = fun(num, str, __current);
    __os->write(__ret);
    return ::Ice::DispatchOK;
}
开发者ID:xly931,项目名称:demo,代码行数:16,代码来源:demo.cpp


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