// **********************************************************************
//
// Copyright (c) 2003-2016 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.6.3
//
// <auto-generated>
//
// Generated from file `obsControl.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//

#ifndef __obsControl_h__
#define __obsControl_h__

#include <IceUtil/PushDisableWarnings.h>
#include <Ice/ProxyF.h>
#include <Ice/ObjectF.h>
#include <Ice/Exception.h>
#include <Ice/LocalObject.h>
#include <Ice/StreamHelpers.h>
#include <Ice/Proxy.h>
#include <Ice/GCObject.h>
#include <Ice/AsyncResult.h>
#include <Ice/Incoming.h>
#include <IceUtil/ScopedArray.h>
#include <IceUtil/Optional.h>
#include <Ice/StreamF.h>
#include <sharknir.h>
#include <IceUtil/UndefSysMacros.h>

#ifndef ICE_IGNORE_VERSION
#   if ICE_INT_VERSION / 100 != 306
#       error Ice version mismatch!
#   endif
#   if ICE_INT_VERSION % 100 > 50
#       error Beta header file detected
#   endif
#   if ICE_INT_VERSION % 100 < 3
#       error Ice patch level mismatch!
#   endif
#endif

namespace IceProxy
{

namespace sharknir
{

namespace obsControl
{

class Sequencer;
void __read(::IceInternal::BasicStream*, ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::Sequencer>&);
::IceProxy::Ice::Object* upCast(::IceProxy::sharknir::obsControl::Sequencer*);

class motionControl;
void __read(::IceInternal::BasicStream*, ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::motionControl>&);
::IceProxy::Ice::Object* upCast(::IceProxy::sharknir::obsControl::motionControl*);

class trackControl;
void __read(::IceInternal::BasicStream*, ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::trackControl>&);
::IceProxy::Ice::Object* upCast(::IceProxy::sharknir::obsControl::trackControl*);

class calibrationControl;
void __read(::IceInternal::BasicStream*, ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::calibrationControl>&);
::IceProxy::Ice::Object* upCast(::IceProxy::sharknir::obsControl::calibrationControl*);

}

}

}

namespace sharknir
{

namespace obsControl
{

class Sequencer;
::Ice::Object* upCast(::sharknir::obsControl::Sequencer*);
typedef ::IceInternal::Handle< ::sharknir::obsControl::Sequencer> SequencerPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::Sequencer> SequencerPrx;
void __patch(SequencerPtr&, const ::Ice::ObjectPtr&);

class motionControl;
::Ice::Object* upCast(::sharknir::obsControl::motionControl*);
typedef ::IceInternal::Handle< ::sharknir::obsControl::motionControl> motionControlPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::motionControl> motionControlPrx;
void __patch(motionControlPtr&, const ::Ice::ObjectPtr&);

class trackControl;
::Ice::Object* upCast(::sharknir::obsControl::trackControl*);
typedef ::IceInternal::Handle< ::sharknir::obsControl::trackControl> trackControlPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::trackControl> trackControlPrx;
void __patch(trackControlPtr&, const ::Ice::ObjectPtr&);

class calibrationControl;
::Ice::Object* upCast(::sharknir::obsControl::calibrationControl*);
typedef ::IceInternal::Handle< ::sharknir::obsControl::calibrationControl> calibrationControlPtr;
typedef ::IceInternal::ProxyHandle< ::IceProxy::sharknir::obsControl::calibrationControl> calibrationControlPrx;
void __patch(calibrationControlPtr&, const ::Ice::ObjectPtr&);

}

}

namespace sharknir
{

namespace obsControl
{

class Callback_Sequencer_setupMotion_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_Sequencer_setupMotion_Base> Callback_Sequencer_setupMotionPtr;

class Callback_Sequencer_setupMotionDict_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_Sequencer_setupMotionDict_Base> Callback_Sequencer_setupMotionDictPtr;

class Callback_Sequencer_setupTracking_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_Sequencer_setupTracking_Base> Callback_Sequencer_setupTrackingPtr;

class Callback_Sequencer_setupCalibration_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_Sequencer_setupCalibration_Base> Callback_Sequencer_setupCalibrationPtr;

class Callback_motionControl_setupMotion_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_motionControl_setupMotion_Base> Callback_motionControl_setupMotionPtr;

class Callback_trackControl_setupTracking_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_trackControl_setupTracking_Base> Callback_trackControl_setupTrackingPtr;

class Callback_calibrationControl_setupCalibration_Base : virtual public ::IceInternal::CallbackBase { };
typedef ::IceUtil::Handle< Callback_calibrationControl_setupCalibration_Base> Callback_calibrationControl_setupCalibrationPtr;

}

}

namespace IceProxy
{

namespace sharknir
{

namespace obsControl
{

class Sequencer : virtual public ::IceProxy::Ice::Object
{
public:

    ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return setupMotion(__p_dictNonSci, __p_strSetup, 0);
    }
    ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return setupMotion(__p_dictNonSci, __p_strSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::sharknir::obsControl::Callback_Sequencer_setupMotionPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_Sequencer_setupMotionPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupMotion(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:

    ::Ice::Int setupMotionDict(const ::sharknir::dictSetup& __p_dSetup)
    {
        return setupMotionDict(__p_dSetup, 0);
    }
    ::Ice::Int setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context& __ctx)
    {
        return setupMotionDict(__p_dSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupMotionDict(__p_dSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupMotionDict(__p_dSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupMotionDict(__p_dSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupMotionDict(__p_dSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup)
    {
        return begin_setupMotionDict(__p_dSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupMotionDict(__p_dSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotionDict(__p_dSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotionDict(__p_dSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::sharknir::obsControl::Callback_Sequencer_setupMotionDictPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotionDict(__p_dSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup& __p_dSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_Sequencer_setupMotionDictPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotionDict(__p_dSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupMotionDict(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupMotionDict(const ::sharknir::dictSetup&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupMotionDict(const ::sharknir::dictSetup&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:

    ::Ice::Int setupTracking(const ::std::string& __p_strSetup)
    {
        return setupTracking(__p_strSetup, 0);
    }
    ::Ice::Int setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return setupTracking(__p_strSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupTracking(__p_strSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupTracking(__p_strSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupTracking(__p_strSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupTracking(__p_strSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup)
    {
        return begin_setupTracking(__p_strSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupTracking(__p_strSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::sharknir::obsControl::Callback_Sequencer_setupTrackingPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_Sequencer_setupTrackingPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupTracking(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupTracking(const ::std::string&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:

    ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return setupCalibration(__p_dictNonSci, __p_strSetup, 0);
    }
    ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::sharknir::obsControl::Callback_Sequencer_setupCalibrationPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_Sequencer_setupCalibrationPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupCalibration(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:
    
    ::IceInternal::ProxyHandle<Sequencer> ice_context(const ::Ice::Context& __context) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_context(__context).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_adapterId(const ::std::string& __id) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_locatorCacheTimeout(int __timeout) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_connectionCached(bool __cached) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_secure(bool __secure) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_preferSecure(bool __preferSecure) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_router(const ::Ice::RouterPrx& __router) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_router(__router).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_locator(const ::Ice::LocatorPrx& __locator) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_collocationOptimized(bool __co) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_invocationTimeout(int __timeout) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_invocationTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_twoway() const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_twoway().get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_oneway() const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_oneway().get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_batchOneway() const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_batchOneway().get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_datagram() const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_datagram().get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_batchDatagram() const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_compress(bool __compress) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_timeout(int __timeout) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_connectionId(const ::std::string& __id) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<Sequencer> ice_encodingVersion(const ::Ice::EncodingVersion& __v) const
    {
        return dynamic_cast<Sequencer*>(::IceProxy::Ice::Object::ice_encodingVersion(__v).get());
    }
    
    static const ::std::string& ice_staticId();

private: 
    virtual ::IceProxy::Ice::Object* __newInstance() const;
};

class motionControl : virtual public ::IceProxy::Ice::Object
{
public:

    ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return setupMotion(__p_dictNonSci, __p_strSetup, 0);
    }
    ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return setupMotion(__p_dictNonSci, __p_strSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::sharknir::obsControl::Callback_motionControl_setupMotionPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_motionControl_setupMotionPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupMotion(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupMotion(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupMotion(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:
    
    ::IceInternal::ProxyHandle<motionControl> ice_context(const ::Ice::Context& __context) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_context(__context).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_adapterId(const ::std::string& __id) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_locatorCacheTimeout(int __timeout) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_connectionCached(bool __cached) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_secure(bool __secure) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_preferSecure(bool __preferSecure) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_router(const ::Ice::RouterPrx& __router) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_router(__router).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_locator(const ::Ice::LocatorPrx& __locator) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_collocationOptimized(bool __co) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_invocationTimeout(int __timeout) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_invocationTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_twoway() const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_twoway().get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_oneway() const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_oneway().get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_batchOneway() const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_batchOneway().get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_datagram() const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_datagram().get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_batchDatagram() const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_compress(bool __compress) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_timeout(int __timeout) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_connectionId(const ::std::string& __id) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<motionControl> ice_encodingVersion(const ::Ice::EncodingVersion& __v) const
    {
        return dynamic_cast<motionControl*>(::IceProxy::Ice::Object::ice_encodingVersion(__v).get());
    }
    
    static const ::std::string& ice_staticId();

private: 
    virtual ::IceProxy::Ice::Object* __newInstance() const;
};

class trackControl : virtual public ::IceProxy::Ice::Object
{
public:

    ::Ice::Int setupTracking(const ::std::string& __p_strSetup)
    {
        return setupTracking(__p_strSetup, 0);
    }
    ::Ice::Int setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return setupTracking(__p_strSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupTracking(__p_strSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupTracking(__p_strSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupTracking(__p_strSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupTracking(__p_strSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup)
    {
        return begin_setupTracking(__p_strSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupTracking(__p_strSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::sharknir::obsControl::Callback_trackControl_setupTrackingPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_trackControl_setupTrackingPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupTracking(__p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupTracking(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupTracking(const ::std::string&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupTracking(const ::std::string&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:
    
    ::IceInternal::ProxyHandle<trackControl> ice_context(const ::Ice::Context& __context) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_context(__context).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_adapterId(const ::std::string& __id) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_locatorCacheTimeout(int __timeout) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_connectionCached(bool __cached) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_secure(bool __secure) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_preferSecure(bool __preferSecure) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_router(const ::Ice::RouterPrx& __router) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_router(__router).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_locator(const ::Ice::LocatorPrx& __locator) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_collocationOptimized(bool __co) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_invocationTimeout(int __timeout) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_invocationTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_twoway() const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_twoway().get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_oneway() const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_oneway().get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_batchOneway() const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_batchOneway().get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_datagram() const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_datagram().get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_batchDatagram() const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_compress(bool __compress) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_timeout(int __timeout) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_connectionId(const ::std::string& __id) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<trackControl> ice_encodingVersion(const ::Ice::EncodingVersion& __v) const
    {
        return dynamic_cast<trackControl*>(::IceProxy::Ice::Object::ice_encodingVersion(__v).get());
    }
    
    static const ::std::string& ice_staticId();

private: 
    virtual ::IceProxy::Ice::Object* __newInstance() const;
};

class calibrationControl : virtual public ::IceProxy::Ice::Object
{
public:

    ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return setupCalibration(__p_dictNonSci, __p_strSetup, 0);
    }
    ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx);
    }
#ifdef ICE_CPP11
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, ::Ice::newCallback(__completed, __sent), 0);
    }
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception = ::IceInternal::Function<void (const ::Ice::Exception&)>(), const ::IceInternal::Function<void (bool)>& __sent = ::IceInternal::Function<void (bool)>())
    {
        return __begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, __response, __exception, __sent);
    }
    ::Ice::AsyncResultPtr
    begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __completed, const ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>& __sent = ::IceInternal::Function<void (const ::Ice::AsyncResultPtr&)>())
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, ::Ice::newCallback(__completed, __sent));
    }
    
private:

    ::Ice::AsyncResultPtr __begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context* __ctx, const ::IceInternal::Function<void (::Ice::Int)>& __response, const ::IceInternal::Function<void (const ::Ice::Exception&)>& __exception, const ::IceInternal::Function<void (bool)>& __sent);
    
public:
#endif

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, ::IceInternal::__dummyCallback, 0);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::Ice::CallbackPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::sharknir::obsControl::Callback_calibrationControl_setupCalibrationPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, 0, __del, __cookie);
    }

    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly& __p_dictNonSci, const ::std::string& __p_strSetup, const ::Ice::Context& __ctx, const ::sharknir::obsControl::Callback_calibrationControl_setupCalibrationPtr& __del, const ::Ice::LocalObjectPtr& __cookie = 0)
    {
        return begin_setupCalibration(__p_dictNonSci, __p_strSetup, &__ctx, __del, __cookie);
    }

    ::Ice::Int end_setupCalibration(const ::Ice::AsyncResultPtr&);
    
private:

    ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*);
    ::Ice::AsyncResultPtr begin_setupCalibration(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Context*, const ::IceInternal::CallbackBasePtr&, const ::Ice::LocalObjectPtr& __cookie = 0);
    
public:
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_context(const ::Ice::Context& __context) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_context(__context).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_adapterId(const ::std::string& __id) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_adapterId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_endpoints(const ::Ice::EndpointSeq& __endpoints) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_endpoints(__endpoints).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_locatorCacheTimeout(int __timeout) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_locatorCacheTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_connectionCached(bool __cached) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_connectionCached(__cached).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_endpointSelection(::Ice::EndpointSelectionType __est) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_endpointSelection(__est).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_secure(bool __secure) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_secure(__secure).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_preferSecure(bool __preferSecure) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_preferSecure(__preferSecure).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_router(const ::Ice::RouterPrx& __router) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_router(__router).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_locator(const ::Ice::LocatorPrx& __locator) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_locator(__locator).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_collocationOptimized(bool __co) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_collocationOptimized(__co).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_invocationTimeout(int __timeout) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_invocationTimeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_twoway() const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_twoway().get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_oneway() const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_oneway().get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_batchOneway() const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_batchOneway().get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_datagram() const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_datagram().get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_batchDatagram() const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_batchDatagram().get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_compress(bool __compress) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_compress(__compress).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_timeout(int __timeout) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_timeout(__timeout).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_connectionId(const ::std::string& __id) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_connectionId(__id).get());
    }
    
    ::IceInternal::ProxyHandle<calibrationControl> ice_encodingVersion(const ::Ice::EncodingVersion& __v) const
    {
        return dynamic_cast<calibrationControl*>(::IceProxy::Ice::Object::ice_encodingVersion(__v).get());
    }
    
    static const ::std::string& ice_staticId();

private: 
    virtual ::IceProxy::Ice::Object* __newInstance() const;
};

}

}

}

namespace sharknir
{

namespace obsControl
{

class Sequencer : virtual public ::Ice::Object
{
public:

    typedef SequencerPrx ProxyType;
    typedef SequencerPtr PointerType;

    virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
    virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
    virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
    static const ::std::string& ice_staticId();

    virtual ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupMotion(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::Int setupMotionDict(const ::sharknir::dictSetup&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupMotionDict(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::Int setupTracking(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupTracking(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupCalibration(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);

protected:
    virtual void __writeImpl(::IceInternal::BasicStream*) const;
    virtual void __readImpl(::IceInternal::BasicStream*);
    using ::Ice::Object::__writeImpl;
    using ::Ice::Object::__readImpl;
};

inline bool operator==(const Sequencer& l, const Sequencer& r)
{
    return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
}

inline bool operator<(const Sequencer& l, const Sequencer& r)
{
    return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
}

class motionControl : virtual public ::Ice::Object
{
public:

    typedef motionControlPrx ProxyType;
    typedef motionControlPtr PointerType;

    virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
    virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
    virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
    static const ::std::string& ice_staticId();

    virtual ::Ice::Int setupMotion(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupMotion(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);

protected:
    virtual void __writeImpl(::IceInternal::BasicStream*) const;
    virtual void __readImpl(::IceInternal::BasicStream*);
    using ::Ice::Object::__writeImpl;
    using ::Ice::Object::__readImpl;
};

inline bool operator==(const motionControl& l, const motionControl& r)
{
    return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
}

inline bool operator<(const motionControl& l, const motionControl& r)
{
    return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
}

class trackControl : virtual public ::Ice::Object
{
public:

    typedef trackControlPrx ProxyType;
    typedef trackControlPtr PointerType;

    virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
    virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
    virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
    static const ::std::string& ice_staticId();

    virtual ::Ice::Int setupTracking(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupTracking(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);

protected:
    virtual void __writeImpl(::IceInternal::BasicStream*) const;
    virtual void __readImpl(::IceInternal::BasicStream*);
    using ::Ice::Object::__writeImpl;
    using ::Ice::Object::__readImpl;
};

inline bool operator==(const trackControl& l, const trackControl& r)
{
    return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
}

inline bool operator<(const trackControl& l, const trackControl& r)
{
    return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
}

class calibrationControl : virtual public ::Ice::Object
{
public:

    typedef calibrationControlPrx ProxyType;
    typedef calibrationControlPtr PointerType;

    virtual bool ice_isA(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;
    virtual ::std::vector< ::std::string> ice_ids(const ::Ice::Current& = ::Ice::Current()) const;
    virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;
    static const ::std::string& ice_staticId();

    virtual ::Ice::Int setupCalibration(const ::sharknir::dictNonSciAssembly&, const ::std::string&, const ::Ice::Current& = ::Ice::Current()) = 0;
    ::Ice::DispatchStatus ___setupCalibration(::IceInternal::Incoming&, const ::Ice::Current&);

    virtual ::Ice::DispatchStatus __dispatch(::IceInternal::Incoming&, const ::Ice::Current&);

protected:
    virtual void __writeImpl(::IceInternal::BasicStream*) const;
    virtual void __readImpl(::IceInternal::BasicStream*);
    using ::Ice::Object::__writeImpl;
    using ::Ice::Object::__readImpl;
};

inline bool operator==(const calibrationControl& l, const calibrationControl& r)
{
    return static_cast<const ::Ice::Object&>(l) == static_cast<const ::Ice::Object&>(r);
}

inline bool operator<(const calibrationControl& l, const calibrationControl& r)
{
    return static_cast<const ::Ice::Object&>(l) < static_cast<const ::Ice::Object&>(r);
}

}

}

namespace sharknir
{

namespace obsControl
{

template<class T>
class CallbackNC_Sequencer_setupMotion : public Callback_Sequencer_setupMotion_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)(::Ice::Int);

    CallbackNC_Sequencer_setupMotion(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupMotion(__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_Sequencer_setupMotionPtr
newCallback_Sequencer_setupMotion(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupMotion<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_Sequencer_setupMotionPtr
newCallback_Sequencer_setupMotion(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupMotion<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_Sequencer_setupMotion : public Callback_Sequencer_setupMotion_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)(::Ice::Int, const CT&);

    Callback_Sequencer_setupMotion(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupMotion(__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_Sequencer_setupMotionPtr
newCallback_Sequencer_setupMotion(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupMotion<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_Sequencer_setupMotionPtr
newCallback_Sequencer_setupMotion(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupMotion<T, CT>(instance, cb, excb, sentcb);
}

template<class T>
class CallbackNC_Sequencer_setupMotionDict : public Callback_Sequencer_setupMotionDict_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)(::Ice::Int);

    CallbackNC_Sequencer_setupMotionDict(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupMotionDict(__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_Sequencer_setupMotionDictPtr
newCallback_Sequencer_setupMotionDict(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupMotionDict<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_Sequencer_setupMotionDictPtr
newCallback_Sequencer_setupMotionDict(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupMotionDict<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_Sequencer_setupMotionDict : public Callback_Sequencer_setupMotionDict_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)(::Ice::Int, const CT&);

    Callback_Sequencer_setupMotionDict(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupMotionDict(__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_Sequencer_setupMotionDictPtr
newCallback_Sequencer_setupMotionDict(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupMotionDict<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_Sequencer_setupMotionDictPtr
newCallback_Sequencer_setupMotionDict(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupMotionDict<T, CT>(instance, cb, excb, sentcb);
}

template<class T>
class CallbackNC_Sequencer_setupTracking : public Callback_Sequencer_setupTracking_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)(::Ice::Int);

    CallbackNC_Sequencer_setupTracking(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupTracking(__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_Sequencer_setupTrackingPtr
newCallback_Sequencer_setupTracking(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupTracking<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_Sequencer_setupTrackingPtr
newCallback_Sequencer_setupTracking(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupTracking<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_Sequencer_setupTracking : public Callback_Sequencer_setupTracking_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)(::Ice::Int, const CT&);

    Callback_Sequencer_setupTracking(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupTracking(__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_Sequencer_setupTrackingPtr
newCallback_Sequencer_setupTracking(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupTracking<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_Sequencer_setupTrackingPtr
newCallback_Sequencer_setupTracking(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupTracking<T, CT>(instance, cb, excb, sentcb);
}

template<class T>
class CallbackNC_Sequencer_setupCalibration : public Callback_Sequencer_setupCalibration_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)(::Ice::Int);

    CallbackNC_Sequencer_setupCalibration(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupCalibration(__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_Sequencer_setupCalibrationPtr
newCallback_Sequencer_setupCalibration(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupCalibration<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_Sequencer_setupCalibrationPtr
newCallback_Sequencer_setupCalibration(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_Sequencer_setupCalibration<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_Sequencer_setupCalibration : public Callback_Sequencer_setupCalibration_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)(::Ice::Int, const CT&);

    Callback_Sequencer_setupCalibration(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
    {
        ::sharknir::obsControl::SequencerPrx __proxy = ::sharknir::obsControl::SequencerPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupCalibration(__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_Sequencer_setupCalibrationPtr
newCallback_Sequencer_setupCalibration(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupCalibration<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_Sequencer_setupCalibrationPtr
newCallback_Sequencer_setupCalibration(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_Sequencer_setupCalibration<T, CT>(instance, cb, excb, sentcb);
}

template<class T>
class CallbackNC_motionControl_setupMotion : public Callback_motionControl_setupMotion_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)(::Ice::Int);

    CallbackNC_motionControl_setupMotion(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
    {
        ::sharknir::obsControl::motionControlPrx __proxy = ::sharknir::obsControl::motionControlPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupMotion(__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_motionControl_setupMotionPtr
newCallback_motionControl_setupMotion(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_motionControl_setupMotion<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_motionControl_setupMotionPtr
newCallback_motionControl_setupMotion(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_motionControl_setupMotion<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_motionControl_setupMotion : public Callback_motionControl_setupMotion_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)(::Ice::Int, const CT&);

    Callback_motionControl_setupMotion(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
    {
        ::sharknir::obsControl::motionControlPrx __proxy = ::sharknir::obsControl::motionControlPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupMotion(__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_motionControl_setupMotionPtr
newCallback_motionControl_setupMotion(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_motionControl_setupMotion<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_motionControl_setupMotionPtr
newCallback_motionControl_setupMotion(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_motionControl_setupMotion<T, CT>(instance, cb, excb, sentcb);
}

template<class T>
class CallbackNC_trackControl_setupTracking : public Callback_trackControl_setupTracking_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)(::Ice::Int);

    CallbackNC_trackControl_setupTracking(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
    {
        ::sharknir::obsControl::trackControlPrx __proxy = ::sharknir::obsControl::trackControlPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupTracking(__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_trackControl_setupTrackingPtr
newCallback_trackControl_setupTracking(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_trackControl_setupTracking<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_trackControl_setupTrackingPtr
newCallback_trackControl_setupTracking(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_trackControl_setupTracking<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_trackControl_setupTracking : public Callback_trackControl_setupTracking_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)(::Ice::Int, const CT&);

    Callback_trackControl_setupTracking(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
    {
        ::sharknir::obsControl::trackControlPrx __proxy = ::sharknir::obsControl::trackControlPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupTracking(__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_trackControl_setupTrackingPtr
newCallback_trackControl_setupTracking(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_trackControl_setupTracking<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_trackControl_setupTrackingPtr
newCallback_trackControl_setupTracking(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_trackControl_setupTracking<T, CT>(instance, cb, excb, sentcb);
}

template<class T>
class CallbackNC_calibrationControl_setupCalibration : public Callback_calibrationControl_setupCalibration_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)(::Ice::Int);

    CallbackNC_calibrationControl_setupCalibration(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
    {
        ::sharknir::obsControl::calibrationControlPrx __proxy = ::sharknir::obsControl::calibrationControlPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupCalibration(__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_calibrationControl_setupCalibrationPtr
newCallback_calibrationControl_setupCalibration(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_calibrationControl_setupCalibration<T>(instance, cb, excb, sentcb);
}

template<class T> Callback_calibrationControl_setupCalibrationPtr
newCallback_calibrationControl_setupCalibration(T* instance, void (T::*cb)(::Ice::Int), void (T::*excb)(const ::Ice::Exception&), void (T::*sentcb)(bool) = 0)
{
    return new CallbackNC_calibrationControl_setupCalibration<T>(instance, cb, excb, sentcb);
}

template<class T, typename CT>
class Callback_calibrationControl_setupCalibration : public Callback_calibrationControl_setupCalibration_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)(::Ice::Int, const CT&);

    Callback_calibrationControl_setupCalibration(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
    {
        ::sharknir::obsControl::calibrationControlPrx __proxy = ::sharknir::obsControl::calibrationControlPrx::uncheckedCast(__result->getProxy());
        ::Ice::Int __ret;
        try
        {
            __ret = __proxy->end_setupCalibration(__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_calibrationControl_setupCalibrationPtr
newCallback_calibrationControl_setupCalibration(const IceUtil::Handle<T>& instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_calibrationControl_setupCalibration<T, CT>(instance, cb, excb, sentcb);
}

template<class T, typename CT> Callback_calibrationControl_setupCalibrationPtr
newCallback_calibrationControl_setupCalibration(T* instance, void (T::*cb)(::Ice::Int, const CT&), void (T::*excb)(const ::Ice::Exception&, const CT&), void (T::*sentcb)(bool, const CT&) = 0)
{
    return new Callback_calibrationControl_setupCalibration<T, CT>(instance, cb, excb, sentcb);
}

}

}

#include <IceUtil/PopDisableWarnings.h>
#endif
