#ifndef hpp_core_idl__path__projectors_hxx__
#define hpp_core_idl__path__projectors_hxx__

//
// Implemention of IDL interfaces in file /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-9.0.2/idl/hpp/core_idl/path_projectors.idl
//

#include <hpp/core_idl/path_projectors-fwd.hh>

#include <sstream>

#include <hpp/corbaserver/fwd.hh>
#include <hpp/corbaserver/conversions.hh>
#include "hpp/corbaserver/servant-base.hh"



//
// Implementational code for IDL interface hpp::core_idl::PathProjector
//
namespace hpp {

namespace core_impl {
template <typename _Base, typename _Storage>
PathProjectorServant<_Base, _Storage>::PathProjectorServant(::hpp::corbaServer::Server* server,
                                                  const _Storage& s)
  : hpp::corbaServer::ServantBase<hpp::core::PathProjector, _Storage> (server, s)
{
  // add extra constructor code here
}
template <typename _Base, typename _Storage>
PathProjectorServant<_Base, _Storage>::~PathProjectorServant()
{
  // add extra destructor code here
}

//   Methods corresponding to IDL attributes and operations

template <typename _Base, typename _Storage>
void PathProjectorServant<_Base, _Storage>::deleteThis ()
{
  try {
    // automatically generated code.
    _ServantBase::deleteThis();
  } catch (const std::exception& e) {
    throw ::hpp::Error (e.what());
  }
}

template <typename _Base, typename _Storage>
::CORBA::Boolean PathProjectorServant<_Base, _Storage>::deleteIfExpired ()
{
  try {
    // automatically generated code.
    return _ServantBase::deleteIfExpired();
  } catch (const std::exception& e) {
    throw ::hpp::Error (e.what());
  }
}

template <typename _Base, typename _Storage>
void PathProjectorServant<_Base, _Storage>::persistantStorage (::CORBA::Boolean persistant)
{
  try {
    // automatically generated code.
    _ServantBase::persistantStorage(persistant);
  } catch (const std::exception& e) {
    throw ::hpp::Error (e.what());
  }
}

template <typename _Base, typename _Storage>
hpp::core_idl::Path_ptr PathProjectorServant<_Base, _Storage>::apply (hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success)
{
  try {
    // generated from /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-9.0.2/idl/hpp/core_idl/path_projectors.idl:21
    hpp::core::PathPtr_t _input =
    ::hpp::corbaServer::reference_to_object<hpp::core::Path>
    (server_, input);
    hpp::core::PathPtr_t __return__;
    success = getT()->apply (_input, __return__);
    return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,
        hpp::core_impl::Path>(server_, __return__)._retn();

  } catch (const std::exception& e) {
    throw ::hpp::Error (e.what());
  }
}

// End of implementational code
} // namespace core_impl

} // namespace hpp





#endif // hpp_core_idl__path__projectors_hxx__

