// **********************************************************************
|
//
|
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
|
//
|
// This copy of Ice is licensed to you under the terms described in the
|
// ICE_LICENSE file included in this distribution.
|
//
|
// **********************************************************************
|
//
|
// Ice version 3.7.0
|
//
|
// <auto-generated>
|
//
|
// Generated from file `RecordVideo.ice'
|
//
|
// Warning: do not edit this file.
|
//
|
// </auto-generated>
|
//
|
|
#ifndef __RecordVideo_h__
|
#define __RecordVideo_h__
|
|
#include <IceUtil/PushDisableWarnings.h>
|
#include <Ice/ProxyF.h>
|
#include <Ice/ObjectF.h>
|
#include <Ice/ValueF.h>
|
#include <Ice/Exception.h>
|
#include <Ice/LocalObject.h>
|
#include <Ice/StreamHelpers.h>
|
#include <Ice/Comparable.h>
|
#include <Ice/Proxy.h>
|
#include <Ice/Object.h>
|
#include <Ice/GCObject.h>
|
#include <Ice/Value.h>
|
#include <Ice/Incoming.h>
|
#include <Ice/FactoryTableInit.h>
|
#include <IceUtil/ScopedArray.h>
|
#include <Ice/Optional.h>
|
#include <IceUtil/UndefSysMacros.h>
|
|
#ifndef ICE_IGNORE_VERSION
|
# if ICE_INT_VERSION / 100 != 307
|
# error Ice version mismatch!
|
# endif
|
# if ICE_INT_VERSION % 100 > 50
|
# error Beta header file detected
|
# endif
|
# if ICE_INT_VERSION % 100 < 0
|
# error Ice patch level mismatch!
|
# endif
|
#endif
|
|
#ifdef ICE_CPP11_MAPPING // C++11 mapping
|
|
namespace RecordVideo
|
{
|
|
class Recorder;
|
class RecorderPrx;
|
class ImageGrabber;
|
class ImageGrabberPrx;
|
class LoopRecorder;
|
class LoopRecorderPrx;
|
|
}
|
|
namespace RecordVideo
|
{
|
|
using ByteSequence = ::std::vector<::Ice::Byte>;
|
|
}
|
|
namespace RecordVideo
|
{
|
|
class Recorder : public virtual ::Ice::Object
|
{
|
public:
|
|
using ProxyType = RecorderPrx;
|
|
virtual bool ice_isA(::std::string, const ::Ice::Current&) const override;
|
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current&) const override;
|
virtual ::std::string ice_id(const ::Ice::Current&) const override;
|
|
static const ::std::string& ice_staticId();
|
|
virtual ::std::string recordVideo(::std::string, long long int, const ::Ice::Current&) = 0;
|
bool _iceD_recordVideo(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
};
|
|
class ImageGrabber : public virtual ::Ice::Object
|
{
|
public:
|
|
using ProxyType = ImageGrabberPrx;
|
|
virtual bool ice_isA(::std::string, const ::Ice::Current&) const override;
|
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current&) const override;
|
virtual ::std::string ice_id(const ::Ice::Current&) const override;
|
|
static const ::std::string& ice_staticId();
|
|
virtual ::RecordVideo::ByteSequence grabImage(int, ::std::string, const ::Ice::Current&) = 0;
|
bool _iceD_grabImage(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual ::std::string grabImageUrl(int, ::std::string, const ::Ice::Current&) = 0;
|
bool _iceD_grabImageUrl(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
};
|
|
class LoopRecorder : public virtual ::Ice::Object
|
{
|
public:
|
|
using ProxyType = LoopRecorderPrx;
|
|
virtual bool ice_isA(::std::string, const ::Ice::Current&) const override;
|
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current&) const override;
|
virtual ::std::string ice_id(const ::Ice::Current&) const override;
|
|
static const ::std::string& ice_staticId();
|
|
virtual ::std::string addCamera(::std::string, ::std::string, const ::Ice::Current&) = 0;
|
bool _iceD_addCamera(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual void removeCamera(::std::string, const ::Ice::Current&) = 0;
|
bool _iceD_removeCamera(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual void clearCamera(const ::Ice::Current&) = 0;
|
bool _iceD_clearCamera(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual void feedDog(::std::string, const ::Ice::Current&) = 0;
|
bool _iceD_feedDog(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
};
|
|
}
|
|
namespace RecordVideo
|
{
|
|
class RecorderPrx : public virtual ::Ice::Proxy<RecorderPrx, ::Ice::ObjectPrx>
|
{
|
public:
|
|
::std::string recordVideo(const ::std::string& iceP_rtsp, long long int iceP_ms, const ::Ice::Context& context = Ice::noExplicitContext)
|
{
|
return _makePromiseOutgoing<::std::string>(true, this, &RecordVideo::RecorderPrx::_iceI_recordVideo, iceP_rtsp, iceP_ms, context).get();
|
}
|
|
template<template<typename> 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<P<::std::string>>().get_future())
|
{
|
return _makePromiseOutgoing<::std::string, P>(false, this, &RecordVideo::RecorderPrx::_iceI_recordVideo, iceP_rtsp, iceP_ms, context);
|
}
|
|
::std::function<void()>
|
recordVideoAsync(const ::std::string& iceP_rtsp, long long int iceP_ms,
|
::std::function<void(::std::string)> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> 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<RecorderPrx> IceInternal::createProxy<RecorderPrx>();
|
|
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
};
|
|
class ImageGrabberPrx : public virtual ::Ice::Proxy<ImageGrabberPrx, ::Ice::ObjectPrx>
|
{
|
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<template<typename> class P = ::std::promise>
|
auto grabImageAsync(int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = Ice::noExplicitContext)
|
-> decltype(::std::declval<P<::RecordVideo::ByteSequence>>().get_future())
|
{
|
return _makePromiseOutgoing<::RecordVideo::ByteSequence, P>(false, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImage, iceP_index, iceP_time, context);
|
}
|
|
::std::function<void()>
|
grabImageAsync(int iceP_index, const ::std::string& iceP_time,
|
::std::function<void(::RecordVideo::ByteSequence)> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> 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<template<typename> class P = ::std::promise>
|
auto grabImageUrlAsync(int iceP_index, const ::std::string& iceP_time, const ::Ice::Context& context = Ice::noExplicitContext)
|
-> decltype(::std::declval<P<::std::string>>().get_future())
|
{
|
return _makePromiseOutgoing<::std::string, P>(false, this, &RecordVideo::ImageGrabberPrx::_iceI_grabImageUrl, iceP_index, iceP_time, context);
|
}
|
|
::std::function<void()>
|
grabImageUrlAsync(int iceP_index, const ::std::string& iceP_time,
|
::std::function<void(::std::string)> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> 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<ImageGrabberPrx> IceInternal::createProxy<ImageGrabberPrx>();
|
|
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
};
|
|
class LoopRecorderPrx : public virtual ::Ice::Proxy<LoopRecorderPrx, ::Ice::ObjectPrx>
|
{
|
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<template<typename> 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<P<::std::string>>().get_future())
|
{
|
return _makePromiseOutgoing<::std::string, P>(false, this, &RecordVideo::LoopRecorderPrx::_iceI_addCamera, iceP_index, iceP_rtsp, context);
|
}
|
|
::std::function<void()>
|
addCameraAsync(const ::std::string& iceP_index, const ::std::string& iceP_rtsp,
|
::std::function<void(::std::string)> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> 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<void>(true, this, &RecordVideo::LoopRecorderPrx::_iceI_removeCamera, iceP_index, context).get();
|
}
|
|
template<template<typename> class P = ::std::promise>
|
auto removeCameraAsync(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
|
-> decltype(::std::declval<P<void>>().get_future())
|
{
|
return _makePromiseOutgoing<void, P>(false, this, &RecordVideo::LoopRecorderPrx::_iceI_removeCamera, iceP_index, context);
|
}
|
|
::std::function<void()>
|
removeCameraAsync(const ::std::string& iceP_index,
|
::std::function<void()> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> sent = nullptr,
|
const ::Ice::Context& context = Ice::noExplicitContext)
|
{
|
return _makeLamdaOutgoing<void>(response, ex, sent, this, &RecordVideo::LoopRecorderPrx::_iceI_removeCamera, iceP_index, context);
|
}
|
|
void _iceI_removeCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
|
|
void clearCamera(const ::Ice::Context& context = Ice::noExplicitContext)
|
{
|
_makePromiseOutgoing<void>(true, this, &RecordVideo::LoopRecorderPrx::_iceI_clearCamera, context).get();
|
}
|
|
template<template<typename> class P = ::std::promise>
|
auto clearCameraAsync(const ::Ice::Context& context = Ice::noExplicitContext)
|
-> decltype(::std::declval<P<void>>().get_future())
|
{
|
return _makePromiseOutgoing<void, P>(false, this, &RecordVideo::LoopRecorderPrx::_iceI_clearCamera, context);
|
}
|
|
::std::function<void()>
|
clearCameraAsync(::std::function<void()> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> sent = nullptr,
|
const ::Ice::Context& context = Ice::noExplicitContext)
|
{
|
return _makeLamdaOutgoing<void>(response, ex, sent, this, &RecordVideo::LoopRecorderPrx::_iceI_clearCamera, context);
|
}
|
|
void _iceI_clearCamera(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::Context&);
|
|
void feedDog(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
|
{
|
_makePromiseOutgoing<void>(true, this, &RecordVideo::LoopRecorderPrx::_iceI_feedDog, iceP_index, context).get();
|
}
|
|
template<template<typename> class P = ::std::promise>
|
auto feedDogAsync(const ::std::string& iceP_index, const ::Ice::Context& context = Ice::noExplicitContext)
|
-> decltype(::std::declval<P<void>>().get_future())
|
{
|
return _makePromiseOutgoing<void, P>(false, this, &RecordVideo::LoopRecorderPrx::_iceI_feedDog, iceP_index, context);
|
}
|
|
::std::function<void()>
|
feedDogAsync(const ::std::string& iceP_index,
|
::std::function<void()> response,
|
::std::function<void(::std::exception_ptr)> ex = nullptr,
|
::std::function<void(bool)> sent = nullptr,
|
const ::Ice::Context& context = Ice::noExplicitContext)
|
{
|
return _makeLamdaOutgoing<void>(response, ex, sent, this, &RecordVideo::LoopRecorderPrx::_iceI_feedDog, iceP_index, context);
|
}
|
|
void _iceI_feedDog(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
|
|
static const ::std::string& ice_staticId();
|
|
protected:
|
|
LoopRecorderPrx() = default;
|
friend ::std::shared_ptr<LoopRecorderPrx> IceInternal::createProxy<LoopRecorderPrx>();
|
|
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
};
|
|
}
|
|
namespace Ice
|
{
|
|
}
|
|
namespace RecordVideo
|
{
|
|
using RecorderPtr = ::std::shared_ptr<Recorder>;
|
using RecorderPrxPtr = ::std::shared_ptr<RecorderPrx>;
|
|
using ImageGrabberPtr = ::std::shared_ptr<ImageGrabber>;
|
using ImageGrabberPrxPtr = ::std::shared_ptr<ImageGrabberPrx>;
|
|
using LoopRecorderPtr = ::std::shared_ptr<LoopRecorder>;
|
using LoopRecorderPrxPtr = ::std::shared_ptr<LoopRecorderPrx>;
|
|
}
|
|
#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<Recorder, ::IceProxy::Ice::Object>
|
{
|
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<ImageGrabber, ::IceProxy::Ice::Object>
|
{
|
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<LoopRecorder, ::IceProxy::Ice::Object>
|
{
|
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<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
}
|
|
inline bool operator<(const Recorder& lhs, const Recorder& rhs)
|
{
|
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(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<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
}
|
|
inline bool operator<(const ImageGrabber& lhs, const ImageGrabber& rhs)
|
{
|
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(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<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
}
|
|
inline bool operator<(const LoopRecorder& lhs, const LoopRecorder& rhs)
|
{
|
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
|
}
|
|
}
|
|
namespace Ice
|
{
|
|
}
|
|
namespace RecordVideo
|
{
|
|
template<class T>
|
class CallbackNC_Recorder_recordVideo : public Callback_Recorder_recordVideo_Base, public ::IceInternal::TwowayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(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<T>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T> Callback_Recorder_recordVideoPtr
|
newCallback_Recorder_recordVideo(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_Recorder_recordVideo<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> 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<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_Recorder_recordVideo : public Callback_Recorder_recordVideo_Base, public ::IceInternal::TwowayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T, CT>(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<T, CT>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T, typename CT> Callback_Recorder_recordVideoPtr
|
newCallback_Recorder_recordVideo(const IceUtil::Handle<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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T>
|
class CallbackNC_ImageGrabber_grabImage : public Callback_ImageGrabber_grabImage_Base, public ::IceInternal::TwowayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(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<T>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T> Callback_ImageGrabber_grabImagePtr
|
newCallback_ImageGrabber_grabImage(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::RecordVideo::ByteSequence&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_ImageGrabber_grabImage<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> 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<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_ImageGrabber_grabImage : public Callback_ImageGrabber_grabImage_Base, public ::IceInternal::TwowayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T, CT>(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<T, CT>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T, typename CT> Callback_ImageGrabber_grabImagePtr
|
newCallback_ImageGrabber_grabImage(const IceUtil::Handle<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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T>
|
class CallbackNC_ImageGrabber_grabImageUrl : public Callback_ImageGrabber_grabImageUrl_Base, public ::IceInternal::TwowayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(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<T>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T> Callback_ImageGrabber_grabImageUrlPtr
|
newCallback_ImageGrabber_grabImageUrl(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_ImageGrabber_grabImageUrl<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> 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<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_ImageGrabber_grabImageUrl : public Callback_ImageGrabber_grabImageUrl_Base, public ::IceInternal::TwowayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T, CT>(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<T, CT>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T, typename CT> Callback_ImageGrabber_grabImageUrlPtr
|
newCallback_ImageGrabber_grabImageUrl(const IceUtil::Handle<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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T>
|
class CallbackNC_LoopRecorder_addCamera : public Callback_LoopRecorder_addCamera_Base, public ::IceInternal::TwowayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(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<T>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T> Callback_LoopRecorder_addCameraPtr
|
newCallback_LoopRecorder_addCamera(const IceUtil::Handle<T>& instance, void (T::*cb)(const ::std::string&), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_addCamera<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> 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<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_LoopRecorder_addCamera : public Callback_LoopRecorder_addCamera_Base, public ::IceInternal::TwowayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T, CT>(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<T, CT>::exception(result, ex);
|
return;
|
}
|
if(_response)
|
{
|
(::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
|
}
|
}
|
|
private:
|
|
Response _response;
|
};
|
|
template<class T, typename CT> Callback_LoopRecorder_addCameraPtr
|
newCallback_LoopRecorder_addCamera(const IceUtil::Handle<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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T>
|
class CallbackNC_LoopRecorder_removeCamera : public Callback_LoopRecorder_removeCamera_Base, public ::IceInternal::OnewayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(obj, cb, excb, sentcb)
|
{
|
}
|
};
|
|
template<class T> Callback_LoopRecorder_removeCameraPtr
|
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_removeCamera<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_removeCameraPtr
|
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_removeCamera<T>(instance, 0, excb, sentcb);
|
}
|
|
template<class T> 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<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_removeCameraPtr
|
newCallback_LoopRecorder_removeCamera(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_removeCamera<T>(instance, 0, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_LoopRecorder_removeCamera : public Callback_LoopRecorder_removeCamera_Base, public ::IceInternal::OnewayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T, CT>(obj, cb, excb, sentcb)
|
{
|
}
|
};
|
|
template<class T, typename CT> Callback_LoopRecorder_removeCameraPtr
|
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle<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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> Callback_LoopRecorder_removeCameraPtr
|
newCallback_LoopRecorder_removeCamera(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
{
|
return new Callback_LoopRecorder_removeCamera<T, CT>(instance, 0, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, 0, excb, sentcb);
|
}
|
|
template<class T>
|
class CallbackNC_LoopRecorder_clearCamera : public Callback_LoopRecorder_clearCamera_Base, public ::IceInternal::OnewayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(obj, cb, excb, sentcb)
|
{
|
}
|
};
|
|
template<class T> Callback_LoopRecorder_clearCameraPtr
|
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_clearCamera<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_clearCameraPtr
|
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_clearCamera<T>(instance, 0, excb, sentcb);
|
}
|
|
template<class T> 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<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_clearCameraPtr
|
newCallback_LoopRecorder_clearCamera(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_clearCamera<T>(instance, 0, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_LoopRecorder_clearCamera : public Callback_LoopRecorder_clearCamera_Base, public ::IceInternal::OnewayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T, CT>(obj, cb, excb, sentcb)
|
{
|
}
|
};
|
|
template<class T, typename CT> Callback_LoopRecorder_clearCameraPtr
|
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle<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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> Callback_LoopRecorder_clearCameraPtr
|
newCallback_LoopRecorder_clearCamera(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
{
|
return new Callback_LoopRecorder_clearCamera<T, CT>(instance, 0, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> 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<T, CT>(instance, 0, excb, sentcb);
|
}
|
|
template<class T>
|
class CallbackNC_LoopRecorder_feedDog : public Callback_LoopRecorder_feedDog_Base, public ::IceInternal::OnewayCallbackNC<T>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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<T>(obj, cb, excb, sentcb)
|
{
|
}
|
};
|
|
template<class T> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_feedDog<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_feedDog<T>(instance, 0, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_feedDog<T>(instance, cb, excb, sentcb);
|
}
|
|
template<class T> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
{
|
return new CallbackNC_LoopRecorder_feedDog<T>(instance, 0, excb, sentcb);
|
}
|
|
template<class T, typename CT>
|
class Callback_LoopRecorder_feedDog : public Callback_LoopRecorder_feedDog_Base, public ::IceInternal::OnewayCallback<T, CT>
|
{
|
public:
|
|
typedef IceUtil::Handle<T> 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_feedDog(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
{
|
}
|
};
|
|
template<class T, typename CT> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(const IceUtil::Handle<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_feedDog<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
{
|
return new Callback_LoopRecorder_feedDog<T, CT>(instance, 0, excb, sentcb);
|
}
|
|
template<class T, typename CT> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(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_feedDog<T, CT>(instance, cb, excb, sentcb);
|
}
|
|
template<class T, typename CT> Callback_LoopRecorder_feedDogPtr
|
newCallback_LoopRecorder_feedDog(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
{
|
return new Callback_LoopRecorder_feedDog<T, CT>(instance, 0, excb, sentcb);
|
}
|
|
}
|
|
#endif
|
|
#include <IceUtil/PopDisableWarnings.h>
|
#endif
|