1013 lines
40 KiB
C++
1013 lines
40 KiB
C++
// **********************************************************************
|
|
//
|
|
// Copyright (c) 2003-2018 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.1
|
|
//
|
|
// <auto-generated>
|
|
//
|
|
// Generated from file `GlobalTimerICE.ice'
|
|
//
|
|
// Warning: do not edit this file.
|
|
//
|
|
// </auto-generated>
|
|
//
|
|
|
|
#ifndef __GlobalTimerICE_h__
|
|
#define __GlobalTimerICE_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 <Ice/BuiltinSequences.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 < 1
|
|
# error Ice patch level mismatch!
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef ICE_CPP11_MAPPING // C++11 mapping
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICE;
|
|
class GlobalTimerICEPrx;
|
|
|
|
}
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICE : public virtual ::Ice::Object
|
|
{
|
|
public:
|
|
|
|
using ProxyType = GlobalTimerICEPrx;
|
|
|
|
/**
|
|
* Determines whether this object supports an interface with the given Slice type ID.
|
|
* @param id The fully-scoped Slice type ID.
|
|
* @param current The Current object for the invocation.
|
|
* @return True if this object supports the interface, false, otherwise.
|
|
*/
|
|
virtual bool ice_isA(::std::string id, const ::Ice::Current& current) const override;
|
|
|
|
/**
|
|
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
|
* @param current The Current object for the invocation.
|
|
* @return A list of fully-scoped type IDs.
|
|
*/
|
|
virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current) const override;
|
|
|
|
/**
|
|
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
|
* @param current The Current object for the invocation.
|
|
* @return A fully-scoped type ID.
|
|
*/
|
|
virtual ::std::string ice_id(const ::Ice::Current& current) const override;
|
|
|
|
/**
|
|
* Obtains the Slice type ID corresponding to this class.
|
|
* @return A fully-scoped type ID.
|
|
*/
|
|
static const ::std::string& ice_staticId();
|
|
|
|
virtual void AddTimer(::Ice::ByteSeq seq, const ::Ice::Current& current) = 0;
|
|
/// \cond INTERNAL
|
|
bool _iceD_AddTimer(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
virtual void CancelTimer(::Ice::ByteSeq seq, const ::Ice::Current& current) = 0;
|
|
/// \cond INTERNAL
|
|
bool _iceD_CancelTimer(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
virtual void ListTimer(::Ice::ByteSeq seq, const ::Ice::Current& current) = 0;
|
|
/// \cond INTERNAL
|
|
bool _iceD_ListTimer(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
/// \cond INTERNAL
|
|
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&) override;
|
|
/// \endcond
|
|
};
|
|
|
|
}
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICEPrx : public virtual ::Ice::Proxy<GlobalTimerICEPrx, ::Ice::ObjectPrx>
|
|
{
|
|
public:
|
|
|
|
void AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
_makePromiseOutgoing<void>(true, this, &GlobalTimerICEPrx::_iceI_AddTimer, seq, context).get();
|
|
}
|
|
|
|
template<template<typename> class P = ::std::promise>
|
|
auto AddTimerAsync(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
{
|
|
return _makePromiseOutgoing<void, P>(false, this, &GlobalTimerICEPrx::_iceI_AddTimer, seq, context);
|
|
}
|
|
|
|
::std::function<void()>
|
|
AddTimerAsync(const ::Ice::ByteSeq& seq,
|
|
::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, &GlobalTimerICEPrx::_iceI_AddTimer, seq, context);
|
|
}
|
|
|
|
/// \cond INTERNAL
|
|
void _iceI_AddTimer(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::ByteSeq&, const ::Ice::Context&);
|
|
/// \endcond
|
|
|
|
void CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
_makePromiseOutgoing<void>(true, this, &GlobalTimerICEPrx::_iceI_CancelTimer, seq, context).get();
|
|
}
|
|
|
|
template<template<typename> class P = ::std::promise>
|
|
auto CancelTimerAsync(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
{
|
|
return _makePromiseOutgoing<void, P>(false, this, &GlobalTimerICEPrx::_iceI_CancelTimer, seq, context);
|
|
}
|
|
|
|
::std::function<void()>
|
|
CancelTimerAsync(const ::Ice::ByteSeq& seq,
|
|
::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, &GlobalTimerICEPrx::_iceI_CancelTimer, seq, context);
|
|
}
|
|
|
|
/// \cond INTERNAL
|
|
void _iceI_CancelTimer(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::ByteSeq&, const ::Ice::Context&);
|
|
/// \endcond
|
|
|
|
void ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
_makePromiseOutgoing<void>(true, this, &GlobalTimerICEPrx::_iceI_ListTimer, seq, context).get();
|
|
}
|
|
|
|
template<template<typename> class P = ::std::promise>
|
|
auto ListTimerAsync(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
-> decltype(::std::declval<P<void>>().get_future())
|
|
{
|
|
return _makePromiseOutgoing<void, P>(false, this, &GlobalTimerICEPrx::_iceI_ListTimer, seq, context);
|
|
}
|
|
|
|
::std::function<void()>
|
|
ListTimerAsync(const ::Ice::ByteSeq& seq,
|
|
::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, &GlobalTimerICEPrx::_iceI_ListTimer, seq, context);
|
|
}
|
|
|
|
/// \cond INTERNAL
|
|
void _iceI_ListTimer(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::Ice::ByteSeq&, const ::Ice::Context&);
|
|
/// \endcond
|
|
|
|
/**
|
|
* Obtains the Slice type ID of this interface.
|
|
* @return The fully-scoped type ID.
|
|
*/
|
|
static const ::std::string& ice_staticId();
|
|
|
|
protected:
|
|
|
|
/// \cond INTERNAL
|
|
GlobalTimerICEPrx() = default;
|
|
friend ::std::shared_ptr<GlobalTimerICEPrx> IceInternal::createProxy<GlobalTimerICEPrx>();
|
|
|
|
virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance() const override;
|
|
/// \endcond
|
|
};
|
|
|
|
}
|
|
|
|
/// \cond STREAM
|
|
namespace Ice
|
|
{
|
|
|
|
}
|
|
/// \endcond
|
|
|
|
/// \cond INTERNAL
|
|
namespace baosight
|
|
{
|
|
|
|
using GlobalTimerICEPtr = ::std::shared_ptr<GlobalTimerICE>;
|
|
using GlobalTimerICEPrxPtr = ::std::shared_ptr<GlobalTimerICEPrx>;
|
|
|
|
}
|
|
/// \endcond
|
|
|
|
#else // C++98 mapping
|
|
|
|
namespace IceProxy
|
|
{
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICE;
|
|
/// \cond INTERNAL
|
|
void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ::IceProxy::baosight::GlobalTimerICE>&);
|
|
::IceProxy::Ice::Object* upCast(::IceProxy::baosight::GlobalTimerICE*);
|
|
/// \endcond
|
|
|
|
}
|
|
|
|
}
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICE;
|
|
/// \cond INTERNAL
|
|
::Ice::Object* upCast(GlobalTimerICE*);
|
|
/// \endcond
|
|
typedef ::IceInternal::Handle< GlobalTimerICE> GlobalTimerICEPtr;
|
|
typedef ::IceInternal::ProxyHandle< ::IceProxy::baosight::GlobalTimerICE> GlobalTimerICEPrx;
|
|
typedef GlobalTimerICEPrx GlobalTimerICEPrxPtr;
|
|
/// \cond INTERNAL
|
|
void _icePatchObjectPtr(GlobalTimerICEPtr&, const ::Ice::ObjectPtr&);
|
|
/// \endcond
|
|
|
|
}
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
/**
|
|
* Base class for asynchronous callback wrapper classes used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_AddTimer.
|
|
*/
|
|
class Callback_GlobalTimerICE_AddTimer_Base : public virtual ::IceInternal::CallbackBase { };
|
|
typedef ::IceUtil::Handle< Callback_GlobalTimerICE_AddTimer_Base> Callback_GlobalTimerICE_AddTimerPtr;
|
|
|
|
/**
|
|
* Base class for asynchronous callback wrapper classes used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_CancelTimer.
|
|
*/
|
|
class Callback_GlobalTimerICE_CancelTimer_Base : public virtual ::IceInternal::CallbackBase { };
|
|
typedef ::IceUtil::Handle< Callback_GlobalTimerICE_CancelTimer_Base> Callback_GlobalTimerICE_CancelTimerPtr;
|
|
|
|
/**
|
|
* Base class for asynchronous callback wrapper classes used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_ListTimer.
|
|
*/
|
|
class Callback_GlobalTimerICE_ListTimer_Base : public virtual ::IceInternal::CallbackBase { };
|
|
typedef ::IceUtil::Handle< Callback_GlobalTimerICE_ListTimer_Base> Callback_GlobalTimerICE_ListTimerPtr;
|
|
|
|
}
|
|
|
|
namespace IceProxy
|
|
{
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICE : public virtual ::Ice::Proxy<GlobalTimerICE, ::IceProxy::Ice::Object>
|
|
{
|
|
public:
|
|
|
|
void AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
end_AddTimer(_iceI_begin_AddTimer(seq, context, ::IceInternal::dummyCallback, 0, true));
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
return _iceI_begin_AddTimer(seq, context, ::IceInternal::dummyCallback, 0);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_AddTimer(seq, ::Ice::noExplicitContext, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_AddTimer(seq, context, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_AddTimer(const ::Ice::ByteSeq& seq, const ::baosight::Callback_GlobalTimerICE_AddTimerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_AddTimer(seq, ::Ice::noExplicitContext, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context, const ::baosight::Callback_GlobalTimerICE_AddTimerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_AddTimer(seq, context, cb, cookie);
|
|
}
|
|
|
|
void end_AddTimer(const ::Ice::AsyncResultPtr& result);
|
|
|
|
private:
|
|
|
|
::Ice::AsyncResultPtr _iceI_begin_AddTimer(const ::Ice::ByteSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
|
|
public:
|
|
|
|
void CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
end_CancelTimer(_iceI_begin_CancelTimer(seq, context, ::IceInternal::dummyCallback, 0, true));
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
return _iceI_begin_CancelTimer(seq, context, ::IceInternal::dummyCallback, 0);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_CancelTimer(seq, ::Ice::noExplicitContext, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_CancelTimer(seq, context, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_CancelTimer(const ::Ice::ByteSeq& seq, const ::baosight::Callback_GlobalTimerICE_CancelTimerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_CancelTimer(seq, ::Ice::noExplicitContext, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context, const ::baosight::Callback_GlobalTimerICE_CancelTimerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_CancelTimer(seq, context, cb, cookie);
|
|
}
|
|
|
|
void end_CancelTimer(const ::Ice::AsyncResultPtr& result);
|
|
|
|
private:
|
|
|
|
::Ice::AsyncResultPtr _iceI_begin_CancelTimer(const ::Ice::ByteSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
|
|
public:
|
|
|
|
void ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
end_ListTimer(_iceI_begin_ListTimer(seq, context, ::IceInternal::dummyCallback, 0, true));
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context = ::Ice::noExplicitContext)
|
|
{
|
|
return _iceI_begin_ListTimer(seq, context, ::IceInternal::dummyCallback, 0);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_ListTimer(seq, ::Ice::noExplicitContext, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context, const ::Ice::CallbackPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_ListTimer(seq, context, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_ListTimer(const ::Ice::ByteSeq& seq, const ::baosight::Callback_GlobalTimerICE_ListTimerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_ListTimer(seq, ::Ice::noExplicitContext, cb, cookie);
|
|
}
|
|
|
|
::Ice::AsyncResultPtr begin_ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::Context& context, const ::baosight::Callback_GlobalTimerICE_ListTimerPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
|
|
{
|
|
return _iceI_begin_ListTimer(seq, context, cb, cookie);
|
|
}
|
|
|
|
void end_ListTimer(const ::Ice::AsyncResultPtr& result);
|
|
|
|
private:
|
|
|
|
::Ice::AsyncResultPtr _iceI_begin_ListTimer(const ::Ice::ByteSeq&, const ::Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& cookie = 0, bool sync = false);
|
|
|
|
public:
|
|
|
|
/**
|
|
* Obtains the Slice type ID corresponding to this interface.
|
|
* @return A fully-scoped type ID.
|
|
*/
|
|
static const ::std::string& ice_staticId();
|
|
|
|
protected:
|
|
/// \cond INTERNAL
|
|
|
|
virtual ::IceProxy::Ice::Object* _newInstance() const;
|
|
/// \endcond
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
class GlobalTimerICE : public virtual ::Ice::Object
|
|
{
|
|
public:
|
|
|
|
typedef GlobalTimerICEPrx ProxyType;
|
|
typedef GlobalTimerICEPtr PointerType;
|
|
|
|
virtual ~GlobalTimerICE();
|
|
|
|
/**
|
|
* Determines whether this object supports an interface with the given Slice type ID.
|
|
* @param id The fully-scoped Slice type ID.
|
|
* @param current The Current object for the invocation.
|
|
* @return True if this object supports the interface, false, otherwise.
|
|
*/
|
|
virtual bool ice_isA(const ::std::string& id, const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
|
|
/**
|
|
* Obtains a list of the Slice type IDs representing the interfaces supported by this object.
|
|
* @param current The Current object for the invocation.
|
|
* @return A list of fully-scoped type IDs.
|
|
*/
|
|
virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
|
|
/**
|
|
* Obtains a Slice type ID representing the most-derived interface supported by this object.
|
|
* @param current The Current object for the invocation.
|
|
* @return A fully-scoped type ID.
|
|
*/
|
|
virtual const ::std::string& ice_id(const ::Ice::Current& current = ::Ice::emptyCurrent) const;
|
|
|
|
/**
|
|
* Obtains the Slice type ID corresponding to this class.
|
|
* @return A fully-scoped type ID.
|
|
*/
|
|
static const ::std::string& ice_staticId();
|
|
|
|
virtual void AddTimer(const ::Ice::ByteSeq& seq, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
/// \cond INTERNAL
|
|
bool _iceD_AddTimer(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
virtual void CancelTimer(const ::Ice::ByteSeq& seq, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
/// \cond INTERNAL
|
|
bool _iceD_CancelTimer(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
virtual void ListTimer(const ::Ice::ByteSeq& seq, const ::Ice::Current& current = ::Ice::emptyCurrent) = 0;
|
|
/// \cond INTERNAL
|
|
bool _iceD_ListTimer(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
/// \cond INTERNAL
|
|
virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
|
|
/// \endcond
|
|
|
|
protected:
|
|
|
|
/// \cond STREAM
|
|
virtual void _iceWriteImpl(::Ice::OutputStream*) const;
|
|
virtual void _iceReadImpl(::Ice::InputStream*);
|
|
/// \endcond
|
|
};
|
|
|
|
/// \cond INTERNAL
|
|
inline bool operator==(const GlobalTimerICE& lhs, const GlobalTimerICE& rhs)
|
|
{
|
|
return static_cast<const ::Ice::Object&>(lhs) == static_cast<const ::Ice::Object&>(rhs);
|
|
}
|
|
|
|
inline bool operator<(const GlobalTimerICE& lhs, const GlobalTimerICE& rhs)
|
|
{
|
|
return static_cast<const ::Ice::Object&>(lhs) < static_cast<const ::Ice::Object&>(rhs);
|
|
}
|
|
/// \endcond
|
|
|
|
}
|
|
|
|
/// \cond STREAM
|
|
namespace Ice
|
|
{
|
|
|
|
}
|
|
/// \endcond
|
|
|
|
namespace baosight
|
|
{
|
|
|
|
/**
|
|
* Type-safe asynchronous callback wrapper class used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_AddTimer.
|
|
*/
|
|
template<class T>
|
|
class CallbackNC_GlobalTimerICE_AddTimer : public Callback_GlobalTimerICE_AddTimer_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_GlobalTimerICE_AddTimer(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
{
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_AddTimer<T>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_AddTimer<T>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_AddTimer<T>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_AddTimer<T>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_AddTimer.
|
|
*/
|
|
template<class T, typename CT>
|
|
class Callback_GlobalTimerICE_AddTimer : public Callback_GlobalTimerICE_AddTimer_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_GlobalTimerICE_AddTimer(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
{
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(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_GlobalTimerICE_AddTimer<T, CT>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
{
|
|
return new Callback_GlobalTimerICE_AddTimer<T, CT>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(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_GlobalTimerICE_AddTimer<T, CT>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_AddTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_AddTimerPtr
|
|
newCallback_GlobalTimerICE_AddTimer(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
{
|
|
return new Callback_GlobalTimerICE_AddTimer<T, CT>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Type-safe asynchronous callback wrapper class used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_CancelTimer.
|
|
*/
|
|
template<class T>
|
|
class CallbackNC_GlobalTimerICE_CancelTimer : public Callback_GlobalTimerICE_CancelTimer_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_GlobalTimerICE_CancelTimer(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
{
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_CancelTimer<T>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_CancelTimer<T>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_CancelTimer<T>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_CancelTimer<T>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_CancelTimer.
|
|
*/
|
|
template<class T, typename CT>
|
|
class Callback_GlobalTimerICE_CancelTimer : public Callback_GlobalTimerICE_CancelTimer_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_GlobalTimerICE_CancelTimer(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
{
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(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_GlobalTimerICE_CancelTimer<T, CT>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
{
|
|
return new Callback_GlobalTimerICE_CancelTimer<T, CT>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(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_GlobalTimerICE_CancelTimer<T, CT>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_CancelTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_CancelTimerPtr
|
|
newCallback_GlobalTimerICE_CancelTimer(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
{
|
|
return new Callback_GlobalTimerICE_CancelTimer<T, CT>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Type-safe asynchronous callback wrapper class used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_ListTimer.
|
|
*/
|
|
template<class T>
|
|
class CallbackNC_GlobalTimerICE_ListTimer : public Callback_GlobalTimerICE_ListTimer_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_GlobalTimerICE_ListTimer(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
: ::IceInternal::OnewayCallbackNC<T>(obj, cb, excb, sentcb)
|
|
{
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(const IceUtil::Handle<T>& instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_ListTimer<T>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_ListTimer<T>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(T* instance, void (T::*cb)(), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_ListTimer<T>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(T* instance, void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
|
|
{
|
|
return new CallbackNC_GlobalTimerICE_ListTimer<T>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Type-safe asynchronous callback wrapper class with cookie support used for calls to
|
|
* IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
* Create a wrapper instance by calling ::baosight::newCallback_GlobalTimerICE_ListTimer.
|
|
*/
|
|
template<class T, typename CT>
|
|
class Callback_GlobalTimerICE_ListTimer : public Callback_GlobalTimerICE_ListTimer_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_GlobalTimerICE_ListTimer(const TPtr& obj, Response cb, Exception excb, Sent sentcb)
|
|
: ::IceInternal::OnewayCallback<T, CT>(obj, cb, excb, sentcb)
|
|
{
|
|
}
|
|
};
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(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_GlobalTimerICE_ListTimer<T, CT>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(const IceUtil::Handle<T>& instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
{
|
|
return new Callback_GlobalTimerICE_ListTimer<T, CT>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param cb The success method of the callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(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_GlobalTimerICE_ListTimer<T, CT>(instance, cb, excb, sentcb);
|
|
}
|
|
|
|
/**
|
|
* Creates a callback wrapper instance that delegates to your object.
|
|
* Use this overload when your callback methods receive a cookie value.
|
|
* @param instance The callback object.
|
|
* @param excb The exception method of the callback object.
|
|
* @param sentcb The sent method of the callback object.
|
|
* @return An object that can be passed to an asynchronous invocation of IceProxy::baosight::GlobalTimerICE::begin_ListTimer.
|
|
*/
|
|
template<class T, typename CT> Callback_GlobalTimerICE_ListTimerPtr
|
|
newCallback_GlobalTimerICE_ListTimer(T* instance, void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
|
|
{
|
|
return new Callback_GlobalTimerICE_ListTimer<T, CT>(instance, 0, excb, sentcb);
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#include <IceUtil/PopDisableWarnings.h>
|
|
#endif
|