class P = ::std::promise>
auto addCameraAsync(int iceP_index, const ::std::string& iceP_jsonConfig, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &Structure::StructureAppPrx::_iceI_addCamera, iceP_index, iceP_jsonConfig, context);
}
::std::function
addCameraAsync(int iceP_index, const ::std::string& iceP_jsonConfig,
::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing(response, ex, sent, this, &Structure::StructureAppPrx::_iceI_addCamera, iceP_index, iceP_jsonConfig, context);
}
void _iceI_addCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, int, const ::std::string&, const ::Ice::Context&);
int removeCamera(int iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing(true, this, &Structure::StructureAppPrx::_iceI_removeCamera, iceP_index, context).get();
}
template class P = ::std::promise>
auto removeCameraAsync(int iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &Structure::StructureAppPrx::_iceI_removeCamera, iceP_index, context);
}
::std::function
removeCameraAsync(int iceP_index,
::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing(response, ex, sent, this, &Structure::StructureAppPrx::_iceI_removeCamera, iceP_index, context);
}
void _iceI_removeCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, int, const ::Ice::Context&);
int removeAll(const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing(true, this, &Structure::StructureAppPrx::_iceI_removeAll, context).get();
}
template class P = ::std::promise>
auto removeAllAsync(const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &Structure::StructureAppPrx::_iceI_removeAll, context);
}
::std::function
removeAllAsync(::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing(response, ex, sent, this, &Structure::StructureAppPrx::_iceI_removeAll, context);
}
void _iceI_removeAll(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, const ::Ice::Context&);
int getMaxCamCount(const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing(true, this, &Structure::StructureAppPrx::_iceI_getMaxCamCount, context).get();
}
template class P = ::std::promise>
auto getMaxCamCountAsync(const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &Structure::StructureAppPrx::_iceI_getMaxCamCount, context);
}
::std::function
getMaxCamCountAsync(::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing(response, ex, sent, this, &Structure::StructureAppPrx::_iceI_getMaxCamCount, context);
}
void _iceI_getMaxCamCount(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, const ::Ice::Context&);
int getCurrentCamCount(const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing(true, this, &Structure::StructureAppPrx::_iceI_getCurrentCamCount, context).get();
}
template class P = ::std::promise>
auto getCurrentCamCountAsync(const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &Structure::StructureAppPrx::_iceI_getCurrentCamCount, context);
}
::std::function
getCurrentCamCountAsync(::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing(response, ex, sent, this, &Structure::StructureAppPrx::_iceI_getCurrentCamCount, context);
}
void _iceI_getCurrentCamCount(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, const ::Ice::Context&);
::std::string getRtmp(int iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing<::std::string>(true, this, &Structure::StructureAppPrx::_iceI_getRtmp, iceP_index, context).get();
}
template class P = ::std::promise>
auto getRtmpAsync(int iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing<::std::string, P>(false, this, &Structure::StructureAppPrx::_iceI_getRtmp, iceP_index, context);
}
::std::function
getRtmpAsync(int iceP_index,
::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing<::std::string>(response, ex, sent, this, &Structure::StructureAppPrx::_iceI_getRtmp, iceP_index, context);
}
void _iceI_getRtmp(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, int, const ::Ice::Context&);
static const ::std::string& ice_staticId();
protected:
StructureAppPrx() = default;
friend ::std::shared_ptr IceInternal::createProxy();
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
};
}
namespace Ice
{
}
namespace Structure
{
using StructureAppPtr = ::std::shared_ptr;
using StructureAppPrxPtr = ::std::shared_ptr;
}
#else // C++98 mapping
namespace IceProxy
{
namespace Structure
{
class StructureApp;
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::Structure::StructureApp>&);
::IceProxy::Ice::Object* upCast(::IceProxy::Structure::StructureApp*);
}
}
namespace Structure
{
class StructureApp;
::Ice::Object* upCast(::Structure::StructureApp*);
typedef ::IceInternal::Handle< ::Structure::StructureApp> StructureAppPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::Structure::StructureApp> StructureAppPrx;
typedef StructureAppPrx StructureAppPrxPtr;
void _icePatchObjectPtr(StructureAppPtr&, const ::Ice::ObjectPtr&);
}
namespace Structure
{
class Callback_StructureApp_addCamera_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_StructureApp_addCamera_Base> Callback_StructureApp_addCameraPtr;
class Callback_StructureApp_removeCamera_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_StructureApp_removeCamera_Base> Callback_StructureApp_removeCameraPtr;
class Callback_StructureApp_removeAll_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_StructureApp_removeAll_Base> Callback_StructureApp_removeAllPtr;
class Callback_StructureApp_getMaxCamCount_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_StructureApp_getMaxCamCount_Base> Callback_StructureApp_getMaxCamCountPtr;
class Callback_StructureApp_getCurrentCamCount_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_StructureApp_getCurrentCamCount_Base> Callback_StructureApp_getCurrentCamCountPtr;
class Callback_StructureApp_getRtmp_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_StructureApp_getRtmp_Base> Callback_StructureApp_getRtmpPtr;
}
namespace IceProxy
{
namespace Structure
{
class StructureApp : public virtual ::Ice::Proxy
{
public:
::Ice::Int addCamera(::Ice::Int iceP_index, const ::std::string& iceP_jsonConfig, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_addCamera(_iceI_begin_addCamera(iceP_index, iceP_jsonConfig, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_addCamera(::Ice::Int iceP_index, const ::std::string& iceP_jsonConfig, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_addCamera(iceP_index, iceP_jsonConfig, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_addCamera(::Ice::Int iceP_index, const ::std::string& iceP_jsonConfig, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_jsonConfig, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_addCamera(::Ice::Int iceP_index, const ::std::string& iceP_jsonConfig, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_jsonConfig, context, del, cookie);
}
::Ice::AsyncResultPtr begin_addCamera(::Ice::Int iceP_index, const ::std::string& iceP_jsonConfig, const ::Structure::Callback_StructureApp_addCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_jsonConfig, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_addCamera(::Ice::Int iceP_index, const ::std::string& iceP_jsonConfig, const ::Ice::Context& context, const ::Structure::Callback_StructureApp_addCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_jsonConfig, context, del, cookie);
}
::Ice::Int end_addCamera(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_addCamera(::Ice::Int, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
::Ice::Int removeCamera(::Ice::Int iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_removeCamera(_iceI_begin_removeCamera(iceP_index, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_removeCamera(::Ice::Int iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_removeCamera(iceP_index, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_removeCamera(::Ice::Int iceP_index, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeCamera(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_removeCamera(::Ice::Int iceP_index, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeCamera(iceP_index, context, del, cookie);
}
::Ice::AsyncResultPtr begin_removeCamera(::Ice::Int iceP_index, const ::Structure::Callback_StructureApp_removeCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeCamera(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_removeCamera(::Ice::Int iceP_index, const ::Ice::Context& context, const ::Structure::Callback_StructureApp_removeCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeCamera(iceP_index, context, del, cookie);
}
::Ice::Int end_removeCamera(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_removeCamera(::Ice::Int, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
::Ice::Int removeAll(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_removeAll(_iceI_begin_removeAll(context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_removeAll(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_removeAll(context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_removeAll(const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeAll(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_removeAll(const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeAll(context, del, cookie);
}
::Ice::AsyncResultPtr begin_removeAll(const ::Structure::Callback_StructureApp_removeAllPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeAll(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_removeAll(const ::Ice::Context& context, const ::Structure::Callback_StructureApp_removeAllPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeAll(context, del, cookie);
}
::Ice::Int end_removeAll(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_removeAll(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
::Ice::Int getMaxCamCount(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_getMaxCamCount(_iceI_begin_getMaxCamCount(context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_getMaxCamCount(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_getMaxCamCount(context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_getMaxCamCount(const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getMaxCamCount(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_getMaxCamCount(const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getMaxCamCount(context, del, cookie);
}
::Ice::AsyncResultPtr begin_getMaxCamCount(const ::Structure::Callback_StructureApp_getMaxCamCountPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getMaxCamCount(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_getMaxCamCount(const ::Ice::Context& context, const ::Structure::Callback_StructureApp_getMaxCamCountPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getMaxCamCount(context, del, cookie);
}
::Ice::Int end_getMaxCamCount(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_getMaxCamCount(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
::Ice::Int getCurrentCamCount(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_getCurrentCamCount(_iceI_begin_getCurrentCamCount(context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_getCurrentCamCount(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_getCurrentCamCount(context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_getCurrentCamCount(const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getCurrentCamCount(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_getCurrentCamCount(const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getCurrentCamCount(context, del, cookie);
}
::Ice::AsyncResultPtr begin_getCurrentCamCount(const ::Structure::Callback_StructureApp_getCurrentCamCountPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getCurrentCamCount(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_getCurrentCamCount(const ::Ice::Context& context, const ::Structure::Callback_StructureApp_getCurrentCamCountPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getCurrentCamCount(context, del, cookie);
}
::Ice::Int end_getCurrentCamCount(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_getCurrentCamCount(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
::std::string getRtmp(::Ice::Int iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_getRtmp(_iceI_begin_getRtmp(iceP_index, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_getRtmp(::Ice::Int iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_getRtmp(iceP_index, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_getRtmp(::Ice::Int iceP_index, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getRtmp(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_getRtmp(::Ice::Int iceP_index, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getRtmp(iceP_index, context, del, cookie);
}
::Ice::AsyncResultPtr begin_getRtmp(::Ice::Int iceP_index, const ::Structure::Callback_StructureApp_getRtmpPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getRtmp(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_getRtmp(::Ice::Int iceP_index, const ::Ice::Context& context, const ::Structure::Callback_StructureApp_getRtmpPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_getRtmp(iceP_index, context, del, cookie);
}
::std::string end_getRtmp(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_getRtmp(::Ice::Int, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
static const ::std::string& ice_staticId();
protected:
virtual ::IceProxy::Ice::Object* _newInstance() const;
};
}
}
namespace Structure
{
class StructureApp : public virtual ::Ice::Object
{
public:
typedef StructureAppPrx ProxyType;
typedef StructureAppPtr PointerType;
virtual ~StructureApp();
virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) const;
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::emptyCurrent) const;
virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::emptyCurrent) const;
static const ::std::string& ice_staticId();
virtual ::Ice::Int addCamera(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_addCamera(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::Ice::Int removeCamera(::Ice::Int, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_removeCamera(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::Ice::Int removeAll(const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_removeAll(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::Ice::Int getMaxCamCount(const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_getMaxCamCount(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::Ice::Int getCurrentCamCount(const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_getCurrentCamCount(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::std::string getRtmp(::Ice::Int, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_getRtmp(::IceInternal::Incoming&, const ::Ice::Current&);
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
protected:
virtual void _iceWriteImpl(::Ice::OutputStream*) const;
virtual void _iceReadImpl(::Ice::InputStream*);
};
inline bool operator==(const StructureApp& lhs, const StructureApp& rhs)
{
return static_cast(lhs) == static_cast(rhs);
}
inline bool operator<(const StructureApp& lhs, const StructureApp& rhs)
{
return static_cast(lhs) < static_cast(rhs);
}
}
namespace Ice
{
}
namespace Structure
{
template
class CallbackNC_StructureApp_addCamera : public Callback_StructureApp_addCamera_Base, public ::IceInternal::TwowayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)(::Ice::Int);
CallbackNC_StructureApp_addCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallbackNC(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_addCamera(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::CallbackNC::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::CallbackNC::_callback.get()->*_response)(ret);
}
}
private:
Response _response;
};
template Callback_StructureApp_addCameraPtr
newCallback_StructureApp_addCamera(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_addCamera(instance, cb, excb, sentcb);
}
template Callback_StructureApp_addCameraPtr
newCallback_StructureApp_addCamera(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_addCamera(instance, cb, excb, sentcb);
}
template
class Callback_StructureApp_addCamera : public Callback_StructureApp_addCamera_Base, public ::IceInternal::TwowayCallback
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
typedef void (T::*Sent)(bool , const CT&);
typedef void (T::*Response)(::Ice::Int, const CT&);
Callback_StructureApp_addCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallback(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_addCamera(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::Callback::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::Callback::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
}
}
private:
Response _response;
};
template Callback_StructureApp_addCameraPtr
newCallback_StructureApp_addCamera(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_addCamera(instance, cb, excb, sentcb);
}
template Callback_StructureApp_addCameraPtr
newCallback_StructureApp_addCamera(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_addCamera(instance, cb, excb, sentcb);
}
template
class CallbackNC_StructureApp_removeCamera : public Callback_StructureApp_removeCamera_Base, public ::IceInternal::TwowayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)(::Ice::Int);
CallbackNC_StructureApp_removeCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallbackNC(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_removeCamera(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::CallbackNC::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::CallbackNC::_callback.get()->*_response)(ret);
}
}
private:
Response _response;
};
template Callback_StructureApp_removeCameraPtr
newCallback_StructureApp_removeCamera(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_removeCamera(instance, cb, excb, sentcb);
}
template Callback_StructureApp_removeCameraPtr
newCallback_StructureApp_removeCamera(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_removeCamera(instance, cb, excb, sentcb);
}
template
class Callback_StructureApp_removeCamera : public Callback_StructureApp_removeCamera_Base, public ::IceInternal::TwowayCallback
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
typedef void (T::*Sent)(bool , const CT&);
typedef void (T::*Response)(::Ice::Int, const CT&);
Callback_StructureApp_removeCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallback(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_removeCamera(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::Callback::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::Callback::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
}
}
private:
Response _response;
};
template Callback_StructureApp_removeCameraPtr
newCallback_StructureApp_removeCamera(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_removeCamera(instance, cb, excb, sentcb);
}
template Callback_StructureApp_removeCameraPtr
newCallback_StructureApp_removeCamera(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_removeCamera(instance, cb, excb, sentcb);
}
template
class CallbackNC_StructureApp_removeAll : public Callback_StructureApp_removeAll_Base, public ::IceInternal::TwowayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)(::Ice::Int);
CallbackNC_StructureApp_removeAll(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallbackNC(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_removeAll(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::CallbackNC::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::CallbackNC::_callback.get()->*_response)(ret);
}
}
private:
Response _response;
};
template Callback_StructureApp_removeAllPtr
newCallback_StructureApp_removeAll(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_removeAll(instance, cb, excb, sentcb);
}
template Callback_StructureApp_removeAllPtr
newCallback_StructureApp_removeAll(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_removeAll(instance, cb, excb, sentcb);
}
template
class Callback_StructureApp_removeAll : public Callback_StructureApp_removeAll_Base, public ::IceInternal::TwowayCallback
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
typedef void (T::*Sent)(bool , const CT&);
typedef void (T::*Response)(::Ice::Int, const CT&);
Callback_StructureApp_removeAll(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallback(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_removeAll(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::Callback::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::Callback::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
}
}
private:
Response _response;
};
template Callback_StructureApp_removeAllPtr
newCallback_StructureApp_removeAll(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_removeAll(instance, cb, excb, sentcb);
}
template Callback_StructureApp_removeAllPtr
newCallback_StructureApp_removeAll(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_removeAll(instance, cb, excb, sentcb);
}
template
class CallbackNC_StructureApp_getMaxCamCount : public Callback_StructureApp_getMaxCamCount_Base, public ::IceInternal::TwowayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)(::Ice::Int);
CallbackNC_StructureApp_getMaxCamCount(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallbackNC(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_getMaxCamCount(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::CallbackNC::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::CallbackNC::_callback.get()->*_response)(ret);
}
}
private:
Response _response;
};
template Callback_StructureApp_getMaxCamCountPtr
newCallback_StructureApp_getMaxCamCount(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_getMaxCamCount(instance, cb, excb, sentcb);
}
template Callback_StructureApp_getMaxCamCountPtr
newCallback_StructureApp_getMaxCamCount(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_getMaxCamCount(instance, cb, excb, sentcb);
}
template
class Callback_StructureApp_getMaxCamCount : public Callback_StructureApp_getMaxCamCount_Base, public ::IceInternal::TwowayCallback
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
typedef void (T::*Sent)(bool , const CT&);
typedef void (T::*Response)(::Ice::Int, const CT&);
Callback_StructureApp_getMaxCamCount(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallback(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_getMaxCamCount(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::Callback::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::Callback::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
}
}
private:
Response _response;
};
template Callback_StructureApp_getMaxCamCountPtr
newCallback_StructureApp_getMaxCamCount(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_getMaxCamCount(instance, cb, excb, sentcb);
}
template Callback_StructureApp_getMaxCamCountPtr
newCallback_StructureApp_getMaxCamCount(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_getMaxCamCount(instance, cb, excb, sentcb);
}
template
class CallbackNC_StructureApp_getCurrentCamCount : public Callback_StructureApp_getCurrentCamCount_Base, public ::IceInternal::TwowayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)(::Ice::Int);
CallbackNC_StructureApp_getCurrentCamCount(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallbackNC(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_getCurrentCamCount(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::CallbackNC::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::CallbackNC::_callback.get()->*_response)(ret);
}
}
private:
Response _response;
};
template Callback_StructureApp_getCurrentCamCountPtr
newCallback_StructureApp_getCurrentCamCount(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_getCurrentCamCount(instance, cb, excb, sentcb);
}
template Callback_StructureApp_getCurrentCamCountPtr
newCallback_StructureApp_getCurrentCamCount(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_getCurrentCamCount(instance, cb, excb, sentcb);
}
template
class Callback_StructureApp_getCurrentCamCount : public Callback_StructureApp_getCurrentCamCount_Base, public ::IceInternal::TwowayCallback
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
typedef void (T::*Sent)(bool , const CT&);
typedef void (T::*Response)(::Ice::Int, const CT&);
Callback_StructureApp_getCurrentCamCount(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallback(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::Ice::Int ret;
try
{
ret = proxy->end_getCurrentCamCount(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::Callback::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::Callback::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
}
}
private:
Response _response;
};
template Callback_StructureApp_getCurrentCamCountPtr
newCallback_StructureApp_getCurrentCamCount(const IceUtil::Handle& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_getCurrentCamCount(instance, cb, excb, sentcb);
}
template Callback_StructureApp_getCurrentCamCountPtr
newCallback_StructureApp_getCurrentCamCount(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_getCurrentCamCount(instance, cb, excb, sentcb);
}
template
class CallbackNC_StructureApp_getRtmp : public Callback_StructureApp_getRtmp_Base, public ::IceInternal::TwowayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)(const ::std::string&);
CallbackNC_StructureApp_getRtmp(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallbackNC(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::std::string ret;
try
{
ret = proxy->end_getRtmp(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::CallbackNC::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::CallbackNC::_callback.get()->*_response)(ret);
}
}
private:
Response _response;
};
template Callback_StructureApp_getRtmpPtr
newCallback_StructureApp_getRtmp(const IceUtil::Handle& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_getRtmp(instance, cb, excb, sentcb);
}
template Callback_StructureApp_getRtmpPtr
newCallback_StructureApp_getRtmp(T* instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_StructureApp_getRtmp(instance, cb, excb, sentcb);
}
template
class Callback_StructureApp_getRtmp : public Callback_StructureApp_getRtmp_Base, public ::IceInternal::TwowayCallback
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception& , const CT&);
typedef void (T::*Sent)(bool , const CT&);
typedef void (T::*Response)(const ::std::string&, const CT&);
Callback_StructureApp_getRtmp(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::TwowayCallback(obj, cb != 0, excb, sentcb), _response(cb)
{
}
virtual void completed(const ::Ice::AsyncResultPtr& result) const
{
::Structure::StructureAppPrx proxy = ::Structure::StructureAppPrx::uncheckedCast(result->getProxy());
::std::string ret;
try
{
ret = proxy->end_getRtmp(result);
}
catch(const ::Ice::Exception& ex)
{
::IceInternal::Callback::exception(result, ex);
return;
}
if(_response)
{
(::IceInternal::Callback::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
}
}
private:
Response _response;
};
template Callback_StructureApp_getRtmpPtr
newCallback_StructureApp_getRtmp(const IceUtil::Handle& instance, void (T::*cb)(const ::std::string&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_getRtmp(instance, cb, excb, sentcb);
}
template Callback_StructureApp_getRtmpPtr
newCallback_StructureApp_getRtmp(T* instance, void (T::*cb)(const ::std::string&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_StructureApp_getRtmp(instance, cb, excb, sentcb);
}
}
#endif
#include
#endif