class P = ::std::promise>
auto recordVideoAsync(const ::std::string& iceP_rtsp, long long int iceP_ms, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing<::std::string, P>(false, this, &RecordVideo::RecorderPrx::_iceI_recordVideo, iceP_rtsp, iceP_ms, context);
}
::std::function
recordVideoAsync(const ::std::string& iceP_rtsp, long long int iceP_ms,
::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, &RecordVideo::RecorderPrx::_iceI_recordVideo, iceP_rtsp, iceP_ms, context);
}
void _iceI_recordVideo(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, const ::std::string&, long long int, const ::Ice::Context&);
static const ::std::string& ice_staticId();
protected:
RecorderPrx() = default;
friend ::std::shared_ptr IceInternal::createProxy();
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
};
class ImageGrabberPrx : public virtual ::Ice::Proxy
{
public:
::RecordVideo::ByteSequence grabImage(int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing<::RecordVideo::ByteSequence>(true, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImage, iceP_index, iceP_time, context).get();
}
template class P = ::std::promise>
auto grabImageAsync(int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing<::RecordVideo::ByteSequence, P>(false, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImage, iceP_index, iceP_time, context);
}
::std::function
grabImageAsync(int iceP_index, const ::std::string& iceP_time,
::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing<::RecordVideo::ByteSequence>(response, ex, sent, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImage, iceP_index, iceP_time, context);
}
void _iceI_grabImage(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::RecordVideo::ByteSequence>>&, int, const ::std::string&, const ::Ice::Context&);
::std::string grabImageUrl(int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing<::std::string>(true, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImageUrl, iceP_index, iceP_time, context).get();
}
template class P = ::std::promise>
auto grabImageUrlAsync(int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing<::std::string, P>(false, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImageUrl, iceP_index, iceP_time, context);
}
::std::function
grabImageUrlAsync(int iceP_index, const ::std::string& iceP_time,
::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, &RecordVideo::ImageGrabberPrx::_iceI_grabImageUrl, iceP_index, iceP_time, context);
}
void _iceI_grabImageUrl(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, int, const ::std::string&, const ::Ice::Context&);
static const ::std::string& ice_staticId();
protected:
ImageGrabberPrx() = default;
friend ::std::shared_ptr IceInternal::createProxy();
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
};
class LoopRecorderPrx : public virtual ::Ice::Proxy
{
public:
::std::string addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makePromiseOutgoing<::std::string>(true, this, &RecordVideo::LoopRecorderPrx::_iceI_addCamera, iceP_index, iceP_rtsp, context).get();
}
template class P = ::std::promise>
auto addCameraAsync(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing<::std::string, P>(false, this, &RecordVideo::LoopRecorderPrx::_iceI_addCamera, iceP_index, iceP_rtsp, context);
}
::std::function
addCameraAsync(const ::std::string& iceP_index, const ::std::string& iceP_rtsp,
::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, &RecordVideo::LoopRecorderPrx::_iceI_addCamera, iceP_index, iceP_rtsp, context);
}
void _iceI_addCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::string>>&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
void removeCamera(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
{
_makePromiseOutgoing(true, this, &RecordVideo::LoopRecorderPrx::_iceI_removeCamera, iceP_index, context).get();
}
template class P = ::std::promise>
auto removeCameraAsync(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &RecordVideo::LoopRecorderPrx::_iceI_removeCamera, iceP_index, context);
}
::std::function
removeCameraAsync(const ::std::string& 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, &RecordVideo::LoopRecorderPrx::_iceI_removeCamera, iceP_index, context);
}
void _iceI_removeCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, const ::std::string&, const ::Ice::Context&);
void clearCamera(const ::Ice::Context& context = Ice::noExplicitContext)
{
_makePromiseOutgoing(true, this, &RecordVideo::LoopRecorderPrx::_iceI_clearCamera, context).get();
}
template class P = ::std::promise>
auto clearCameraAsync(const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &RecordVideo::LoopRecorderPrx::_iceI_clearCamera, context);
}
::std::function
clearCameraAsync(::std::function response,
::std::function ex = nullptr,
::std::function sent = nullptr,
const ::Ice::Context& context = Ice::noExplicitContext)
{
return _makeLamdaOutgoing(response, ex, sent, this, &RecordVideo::LoopRecorderPrx::_iceI_clearCamera, context);
}
void _iceI_clearCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, const ::Ice::Context&);
void feedDog(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
{
_makePromiseOutgoing(true, this, &RecordVideo::LoopRecorderPrx::_iceI_feedDog, iceP_index, context).get();
}
template class P = ::std::promise>
auto feedDogAsync(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
-> decltype(::std::declval>().get_future())
{
return _makePromiseOutgoing(false, this, &RecordVideo::LoopRecorderPrx::_iceI_feedDog, iceP_index, context);
}
::std::function
feedDogAsync(const ::std::string& 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, &RecordVideo::LoopRecorderPrx::_iceI_feedDog, iceP_index, context);
}
void _iceI_feedDog(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT>&, const ::std::string&, const ::Ice::Context&);
static const ::std::string& ice_staticId();
protected:
LoopRecorderPrx() = default;
friend ::std::shared_ptr IceInternal::createProxy();
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
};
}
namespace Ice
{
}
namespace RecordVideo
{
using RecorderPtr = ::std::shared_ptr;
using RecorderPrxPtr = ::std::shared_ptr;
using ImageGrabberPtr = ::std::shared_ptr;
using ImageGrabberPrxPtr = ::std::shared_ptr;
using LoopRecorderPtr = ::std::shared_ptr;
using LoopRecorderPrxPtr = ::std::shared_ptr;
}
#else // C++98 mapping
namespace IceProxy
{
namespace RecordVideo
{
class Recorder;
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::RecordVideo::Recorder>&);
::IceProxy::Ice::Object* upCast(::IceProxy::RecordVideo::Recorder*);
class ImageGrabber;
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::RecordVideo::ImageGrabber>&);
::IceProxy::Ice::Object* upCast(::IceProxy::RecordVideo::ImageGrabber*);
class LoopRecorder;
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::RecordVideo::LoopRecorder>&);
::IceProxy::Ice::Object* upCast(::IceProxy::RecordVideo::LoopRecorder*);
}
}
namespace RecordVideo
{
class Recorder;
::Ice::Object* upCast(::RecordVideo::Recorder*);
typedef ::IceInternal::Handle< ::RecordVideo::Recorder> RecorderPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::RecordVideo::Recorder> RecorderPrx;
typedef RecorderPrx RecorderPrxPtr;
void _icePatchObjectPtr(RecorderPtr&, const ::Ice::ObjectPtr&);
class ImageGrabber;
::Ice::Object* upCast(::RecordVideo::ImageGrabber*);
typedef ::IceInternal::Handle< ::RecordVideo::ImageGrabber> ImageGrabberPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::RecordVideo::ImageGrabber> ImageGrabberPrx;
typedef ImageGrabberPrx ImageGrabberPrxPtr;
void _icePatchObjectPtr(ImageGrabberPtr&, const ::Ice::ObjectPtr&);
class LoopRecorder;
::Ice::Object* upCast(::RecordVideo::LoopRecorder*);
typedef ::IceInternal::Handle< ::RecordVideo::LoopRecorder> LoopRecorderPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::RecordVideo::LoopRecorder> LoopRecorderPrx;
typedef LoopRecorderPrx LoopRecorderPrxPtr;
void _icePatchObjectPtr(LoopRecorderPtr&, const ::Ice::ObjectPtr&);
}
namespace RecordVideo
{
typedef ::std::vector< ::Ice::Byte> ByteSequence;
}
namespace RecordVideo
{
class Callback_Recorder_recordVideo_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_Recorder_recordVideo_Base> Callback_Recorder_recordVideoPtr;
class Callback_ImageGrabber_grabImage_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_ImageGrabber_grabImage_Base> Callback_ImageGrabber_grabImagePtr;
class Callback_ImageGrabber_grabImageUrl_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_ImageGrabber_grabImageUrl_Base> Callback_ImageGrabber_grabImageUrlPtr;
class Callback_LoopRecorder_addCamera_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_LoopRecorder_addCamera_Base> Callback_LoopRecorder_addCameraPtr;
class Callback_LoopRecorder_removeCamera_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_LoopRecorder_removeCamera_Base> Callback_LoopRecorder_removeCameraPtr;
class Callback_LoopRecorder_clearCamera_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_LoopRecorder_clearCamera_Base> Callback_LoopRecorder_clearCameraPtr;
class Callback_LoopRecorder_feedDog_Base : public virtual ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_LoopRecorder_feedDog_Base> Callback_LoopRecorder_feedDogPtr;
}
namespace IceProxy
{
namespace RecordVideo
{
class Recorder : public virtual ::Ice::Proxy
{
public:
::std::string recordVideo(const ::std::string& iceP_rtsp, ::Ice::Long iceP_ms, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_recordVideo(_iceI_begin_recordVideo(iceP_rtsp, iceP_ms, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_recordVideo(const ::std::string& iceP_rtsp, ::Ice::Long iceP_ms, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_recordVideo(iceP_rtsp, iceP_ms, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_recordVideo(const ::std::string& iceP_rtsp, ::Ice::Long iceP_ms, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_recordVideo(iceP_rtsp, iceP_ms, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_recordVideo(const ::std::string& iceP_rtsp, ::Ice::Long iceP_ms, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_recordVideo(iceP_rtsp, iceP_ms, context, del, cookie);
}
::Ice::AsyncResultPtr begin_recordVideo(const ::std::string& iceP_rtsp, ::Ice::Long iceP_ms, const ::RecordVideo::Callback_Recorder_recordVideoPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_recordVideo(iceP_rtsp, iceP_ms, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_recordVideo(const ::std::string& iceP_rtsp, ::Ice::Long iceP_ms, const ::Ice::Context& context, const ::RecordVideo::Callback_Recorder_recordVideoPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_recordVideo(iceP_rtsp, iceP_ms, context, del, cookie);
}
::std::string end_recordVideo(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_recordVideo(const ::std::string&, ::Ice::Long, 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;
};
class ImageGrabber : public virtual ::Ice::Proxy
{
public:
::RecordVideo::ByteSequence grabImage(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_grabImage(_iceI_begin_grabImage(iceP_index, iceP_time, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_grabImage(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_grabImage(iceP_index, iceP_time, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_grabImage(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImage(iceP_index, iceP_time, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_grabImage(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImage(iceP_index, iceP_time, context, del, cookie);
}
::Ice::AsyncResultPtr begin_grabImage(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::RecordVideo::Callback_ImageGrabber_grabImagePtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImage(iceP_index, iceP_time, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_grabImage(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context, const ::RecordVideo::Callback_ImageGrabber_grabImagePtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImage(iceP_index, iceP_time, context, del, cookie);
}
::RecordVideo::ByteSequence end_grabImage(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_grabImage(::Ice::Int, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
::std::string grabImageUrl(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_grabImageUrl(_iceI_begin_grabImageUrl(iceP_index, iceP_time, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_grabImageUrl(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_grabImageUrl(iceP_index, iceP_time, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_grabImageUrl(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImageUrl(iceP_index, iceP_time, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_grabImageUrl(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImageUrl(iceP_index, iceP_time, context, del, cookie);
}
::Ice::AsyncResultPtr begin_grabImageUrl(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::RecordVideo::Callback_ImageGrabber_grabImageUrlPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImageUrl(iceP_index, iceP_time, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_grabImageUrl(::Ice::Int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context, const ::RecordVideo::Callback_ImageGrabber_grabImageUrlPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_grabImageUrl(iceP_index, iceP_time, context, del, cookie);
}
::std::string end_grabImageUrl(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_grabImageUrl(::Ice::Int, const ::std::string&, 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;
};
class LoopRecorder : public virtual ::Ice::Proxy
{
public:
::std::string addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return end_addCamera(_iceI_begin_addCamera(iceP_index, iceP_rtsp, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_addCamera(iceP_index, iceP_rtsp, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_rtsp, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_rtsp, context, del, cookie);
}
::Ice::AsyncResultPtr begin_addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::RecordVideo::Callback_LoopRecorder_addCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_rtsp, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_addCamera(const ::std::string& iceP_index, const ::std::string& iceP_rtsp, const ::Ice::Context& context, const ::RecordVideo::Callback_LoopRecorder_addCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_addCamera(iceP_index, iceP_rtsp, context, del, cookie);
}
::std::string end_addCamera(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_addCamera(const ::std::string&, const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
void removeCamera(const ::std::string& iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
end_removeCamera(_iceI_begin_removeCamera(iceP_index, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_removeCamera(const ::std::string& iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_removeCamera(iceP_index, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_removeCamera(const ::std::string& 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(const ::std::string& 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(const ::std::string& iceP_index, const ::RecordVideo::Callback_LoopRecorder_removeCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeCamera(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_removeCamera(const ::std::string& iceP_index, const ::Ice::Context& context, const ::RecordVideo::Callback_LoopRecorder_removeCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_removeCamera(iceP_index, context, del, cookie);
}
void end_removeCamera(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_removeCamera(const ::std::string&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
void clearCamera(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
end_clearCamera(_iceI_begin_clearCamera(context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_clearCamera(const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_clearCamera(context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_clearCamera(const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_clearCamera(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_clearCamera(const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_clearCamera(context, del, cookie);
}
::Ice::AsyncResultPtr begin_clearCamera(const ::RecordVideo::Callback_LoopRecorder_clearCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_clearCamera(::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_clearCamera(const ::Ice::Context& context, const ::RecordVideo::Callback_LoopRecorder_clearCameraPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_clearCamera(context, del, cookie);
}
void end_clearCamera(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_clearCamera(const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
public:
void feedDog(const ::std::string& iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
end_feedDog(_iceI_begin_feedDog(iceP_index, context, ::IceInternal::dummyCallback, 0, true));
}
::Ice::AsyncResultPtr begin_feedDog(const ::std::string& iceP_index, const ::Ice::Context& context = ::Ice::noExplicitContext)
{
return _iceI_begin_feedDog(iceP_index, context, ::IceInternal::dummyCallback, 0);
}
::Ice::AsyncResultPtr begin_feedDog(const ::std::string& iceP_index, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_feedDog(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_feedDog(const ::std::string& iceP_index, const ::Ice::Context& context, const ::Ice::CallbackPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_feedDog(iceP_index, context, del, cookie);
}
::Ice::AsyncResultPtr begin_feedDog(const ::std::string& iceP_index, const ::RecordVideo::Callback_LoopRecorder_feedDogPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_feedDog(iceP_index, ::Ice::noExplicitContext, del, cookie);
}
::Ice::AsyncResultPtr begin_feedDog(const ::std::string& iceP_index, const ::Ice::Context& context, const ::RecordVideo::Callback_LoopRecorder_feedDogPtr& del, const ::Ice::LocalObjectPtr& cookie = 0)
{
return _iceI_begin_feedDog(iceP_index, context, del, cookie);
}
void end_feedDog(const ::Ice::AsyncResultPtr&);
private:
::Ice::AsyncResultPtr _iceI_begin_feedDog(const ::std::string&, 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 RecordVideo
{
class Recorder : public virtual ::Ice::Object
{
public:
typedef RecorderPrx ProxyType;
typedef RecorderPtr PointerType;
virtual ~Recorder();
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 ::std::string recordVideo(const ::std::string&, ::Ice::Long, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_recordVideo(::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 Recorder& lhs, const Recorder& rhs)
{
return static_cast(lhs) == static_cast(rhs);
}
inline bool operator<(const Recorder& lhs, const Recorder& rhs)
{
return static_cast(lhs) < static_cast(rhs);
}
class ImageGrabber : public virtual ::Ice::Object
{
public:
typedef ImageGrabberPrx ProxyType;
typedef ImageGrabberPtr PointerType;
virtual ~ImageGrabber();
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 ::RecordVideo::ByteSequence grabImage(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_grabImage(::IceInternal::Incoming&, const ::Ice::Current&);
virtual ::std::string grabImageUrl(::Ice::Int, const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_grabImageUrl(::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 ImageGrabber& lhs, const ImageGrabber& rhs)
{
return static_cast(lhs) == static_cast(rhs);
}
inline bool operator<(const ImageGrabber& lhs, const ImageGrabber& rhs)
{
return static_cast(lhs) < static_cast(rhs);
}
class LoopRecorder : public virtual ::Ice::Object
{
public:
typedef LoopRecorderPrx ProxyType;
typedef LoopRecorderPtr PointerType;
virtual ~LoopRecorder();
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 ::std::string addCamera(const ::std::string&, const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_addCamera(::IceInternal::Incoming&, const ::Ice::Current&);
virtual void removeCamera(const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_removeCamera(::IceInternal::Incoming&, const ::Ice::Current&);
virtual void clearCamera(const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_clearCamera(::IceInternal::Incoming&, const ::Ice::Current&);
virtual void feedDog(const ::std::string&, const ::Ice::Current& = ::Ice::emptyCurrent) = 0;
bool _iceD_feedDog(::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 LoopRecorder& lhs, const LoopRecorder& rhs)
{
return static_cast(lhs) == static_cast(rhs);
}
inline bool operator<(const LoopRecorder& lhs, const LoopRecorder& rhs)
{
return static_cast(lhs) < static_cast(rhs);
}
}
namespace Ice
{
}
namespace RecordVideo
{
template
class CallbackNC_Recorder_recordVideo : public Callback_Recorder_recordVideo_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_Recorder_recordVideo(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
{
::RecordVideo::RecorderPrx proxy = ::RecordVideo::RecorderPrx::uncheckedCast(result->getProxy());
::std::string ret;
try
{
ret = proxy->end_recordVideo(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_Recorder_recordVideoPtr
newCallback_Recorder_recordVideo(const IceUtil::Handle& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_Recorder_recordVideo(instance, cb, excb, sentcb);
}
template Callback_Recorder_recordVideoPtr
newCallback_Recorder_recordVideo(T* instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_Recorder_recordVideo(instance, cb, excb, sentcb);
}
template
class Callback_Recorder_recordVideo : public Callback_Recorder_recordVideo_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_Recorder_recordVideo(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
{
::RecordVideo::RecorderPrx proxy = ::RecordVideo::RecorderPrx::uncheckedCast(result->getProxy());
::std::string ret;
try
{
ret = proxy->end_recordVideo(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_Recorder_recordVideoPtr
newCallback_Recorder_recordVideo(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_Recorder_recordVideo(instance, cb, excb, sentcb);
}
template Callback_Recorder_recordVideoPtr
newCallback_Recorder_recordVideo(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_Recorder_recordVideo(instance, cb, excb, sentcb);
}
template
class CallbackNC_ImageGrabber_grabImage : public Callback_ImageGrabber_grabImage_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 ::RecordVideo::ByteSequence&);
CallbackNC_ImageGrabber_grabImage(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
{
::RecordVideo::ImageGrabberPrx proxy = ::RecordVideo::ImageGrabberPrx::uncheckedCast(result->getProxy());
::RecordVideo::ByteSequence ret;
try
{
ret = proxy->end_grabImage(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_ImageGrabber_grabImagePtr
newCallback_ImageGrabber_grabImage(const IceUtil::Handle& instance, void (T::*cb)(const ::RecordVideo::ByteSequence&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_ImageGrabber_grabImage(instance, cb, excb, sentcb);
}
template Callback_ImageGrabber_grabImagePtr
newCallback_ImageGrabber_grabImage(T* instance, void (T::*cb)(const ::RecordVideo::ByteSequence&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_ImageGrabber_grabImage(instance, cb, excb, sentcb);
}
template
class Callback_ImageGrabber_grabImage : public Callback_ImageGrabber_grabImage_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 ::RecordVideo::ByteSequence&, const CT&);
Callback_ImageGrabber_grabImage(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
{
::RecordVideo::ImageGrabberPrx proxy = ::RecordVideo::ImageGrabberPrx::uncheckedCast(result->getProxy());
::RecordVideo::ByteSequence ret;
try
{
ret = proxy->end_grabImage(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_ImageGrabber_grabImagePtr
newCallback_ImageGrabber_grabImage(const IceUtil::Handle& instance, void (T::*cb)(const ::RecordVideo::ByteSequence&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_ImageGrabber_grabImage(instance, cb, excb, sentcb);
}
template Callback_ImageGrabber_grabImagePtr
newCallback_ImageGrabber_grabImage(T* instance, void (T::*cb)(const ::RecordVideo::ByteSequence&, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_ImageGrabber_grabImage(instance, cb, excb, sentcb);
}
template
class CallbackNC_ImageGrabber_grabImageUrl : public Callback_ImageGrabber_grabImageUrl_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_ImageGrabber_grabImageUrl(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
{
::RecordVideo::ImageGrabberPrx proxy = ::RecordVideo::ImageGrabberPrx::uncheckedCast(result->getProxy());
::std::string ret;
try
{
ret = proxy->end_grabImageUrl(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_ImageGrabber_grabImageUrlPtr
newCallback_ImageGrabber_grabImageUrl(const IceUtil::Handle& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_ImageGrabber_grabImageUrl(instance, cb, excb, sentcb);
}
template Callback_ImageGrabber_grabImageUrlPtr
newCallback_ImageGrabber_grabImageUrl(T* instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_ImageGrabber_grabImageUrl(instance, cb, excb, sentcb);
}
template
class Callback_ImageGrabber_grabImageUrl : public Callback_ImageGrabber_grabImageUrl_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_ImageGrabber_grabImageUrl(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
{
::RecordVideo::ImageGrabberPrx proxy = ::RecordVideo::ImageGrabberPrx::uncheckedCast(result->getProxy());
::std::string ret;
try
{
ret = proxy->end_grabImageUrl(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_ImageGrabber_grabImageUrlPtr
newCallback_ImageGrabber_grabImageUrl(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_ImageGrabber_grabImageUrl(instance, cb, excb, sentcb);
}
template Callback_ImageGrabber_grabImageUrlPtr
newCallback_ImageGrabber_grabImageUrl(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_ImageGrabber_grabImageUrl(instance, cb, excb, sentcb);
}
template
class CallbackNC_LoopRecorder_addCamera : public Callback_LoopRecorder_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)(const ::std::string&);
CallbackNC_LoopRecorder_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
{
::RecordVideo::LoopRecorderPrx proxy = ::RecordVideo::LoopRecorderPrx::uncheckedCast(result->getProxy());
::std::string 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_LoopRecorder_addCameraPtr
newCallback_LoopRecorder_addCamera(const IceUtil::Handle& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_addCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_addCameraPtr
newCallback_LoopRecorder_addCamera(T* instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_addCamera(instance, cb, excb, sentcb);
}
template
class Callback_LoopRecorder_addCamera : public Callback_LoopRecorder_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)(const ::std::string&, const CT&);
Callback_LoopRecorder_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
{
::RecordVideo::LoopRecorderPrx proxy = ::RecordVideo::LoopRecorderPrx::uncheckedCast(result->getProxy());
::std::string 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_LoopRecorder_addCameraPtr
newCallback_LoopRecorder_addCamera(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_LoopRecorder_addCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_addCameraPtr
newCallback_LoopRecorder_addCamera(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_LoopRecorder_addCamera(instance, cb, excb, sentcb);
}
template
class CallbackNC_LoopRecorder_removeCamera : public Callback_LoopRecorder_removeCamera_Base, public ::IceInternal::OnewayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)();
CallbackNC_LoopRecorder_removeCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::OnewayCallbackNC(obj, cb, excb, sentcb)
{
}
};
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_removeCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_removeCamera(instance, 0, excb, sentcb);
}
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_removeCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_removeCamera(instance, 0, excb, sentcb);
}
template
class Callback_LoopRecorder_removeCamera : public Callback_LoopRecorder_removeCamera_Base, public ::IceInternal::OnewayCallback
{
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 CT&);
Callback_LoopRecorder_removeCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::OnewayCallback(obj, cb, excb, sentcb)
{
}
};
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_removeCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_removeCamera(instance, 0, excb, sentcb);
}
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_removeCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_removeCameraPtr
newCallback_LoopRecorder_removeCamera(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_removeCamera(instance, 0, excb, sentcb);
}
template
class CallbackNC_LoopRecorder_clearCamera : public Callback_LoopRecorder_clearCamera_Base, public ::IceInternal::OnewayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)();
CallbackNC_LoopRecorder_clearCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::OnewayCallbackNC(obj, cb, excb, sentcb)
{
}
};
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_clearCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_clearCamera(instance, 0, excb, sentcb);
}
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_clearCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_clearCamera(instance, 0, excb, sentcb);
}
template
class Callback_LoopRecorder_clearCamera : public Callback_LoopRecorder_clearCamera_Base, public ::IceInternal::OnewayCallback
{
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 CT&);
Callback_LoopRecorder_clearCamera(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::OnewayCallback(obj, cb, excb, sentcb)
{
}
};
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle& instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_clearCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_clearCamera(instance, 0, excb, sentcb);
}
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(T* instance, void (T::*cb)(const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_clearCamera(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_clearCameraPtr
newCallback_LoopRecorder_clearCamera(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
return new Callback_LoopRecorder_clearCamera(instance, 0, excb, sentcb);
}
template
class CallbackNC_LoopRecorder_feedDog : public Callback_LoopRecorder_feedDog_Base, public ::IceInternal::OnewayCallbackNC
{
public:
typedef IceUtil::Handle TPtr;
typedef void (T::*Exception)(const ::Ice::Exception&);
typedef void (T::*Sent)(bool);
typedef void (T::*Response)();
CallbackNC_LoopRecorder_feedDog(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
: ::IceInternal::OnewayCallbackNC(obj, cb, excb, sentcb)
{
}
};
template Callback_LoopRecorder_feedDogPtr
newCallback_LoopRecorder_feedDog(const IceUtil::Handle& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_feedDog(instance, cb, excb, sentcb);
}
template Callback_LoopRecorder_feedDogPtr
newCallback_LoopRecorder_feedDog(const IceUtil::Handle& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
return new CallbackNC_LoopRecorder_feedDog