#ifndef ELDBUS_MODEL_METHOD_EO_HH
#define ELDBUS_MODEL_METHOD_EO_HH
#include <Eo.h>

extern "C" {
#include "efl_model.eo.h"
#include "efl_object.eo.h"
#include "eldbus_model.eo.h"
#include "eldbus_model_arguments.eo.h"
#include "eldbus_model_method.eo.h"
}
#include <Eina.hh>
#include <Eo.hh>
#include "efl_model.eo.hh"
#include "efl_object.eo.hh"
#include "eldbus_model.eo.hh"
#include "eldbus_model_arguments.eo.hh"
#ifndef ELDBUS_MODEL_METHOD_FWD_GUARD
#define ELDBUS_MODEL_METHOD_FWD_GUARD
namespace eldbus { namespace model { 
struct Method;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Method> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Method&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Method const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Method const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_MODEL_FWD_GUARD
#define EFL_MODEL_FWD_GUARD
namespace efl { 
struct Model;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Model> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Model&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Model const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Model const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_OBJECT_FWD_GUARD
#define EFL_OBJECT_FWD_GUARD
namespace efl { 
struct Object;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
#endif
#ifndef ELDBUS_MODEL_FWD_GUARD
#define ELDBUS_MODEL_FWD_GUARD
namespace eldbus { 
struct Model;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::Model> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::Model&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::Model const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::Model const&> : ::std::true_type {}; } }
#endif
#ifndef ELDBUS_MODEL_ARGUMENTS_FWD_GUARD
#define ELDBUS_MODEL_ARGUMENTS_FWD_GUARD
namespace eldbus { namespace model { 
struct Arguments;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Arguments> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Arguments&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Arguments const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::eldbus::model::Arguments const&> : ::std::true_type {}; } }
#endif

namespace eo_cxx {
namespace eldbus { namespace model { 
struct Method {
   ::efl::eolian::return_traits<void>::type proxy_set( ::efl::eolian::in_traits<Eldbus_Proxy const&>::type proxy) const;
   ::efl::eolian::return_traits<void>::type method_set( ::efl::eolian::in_traits<Eldbus_Introspection_Method const&>::type method) const;
   ::efl::eolian::return_traits<void>::type call() const;
   static Efl_Class const* _eo_class()
   {
      return ELDBUS_MODEL_METHOD_CLASS;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Method *>(this))); }
   operator ::eldbus::model::Method() const;
   operator ::eldbus::model::Method&();
   operator ::eldbus::model::Method const&() const;
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Method,  ::efl::Model,  ::efl::Object,  ::eldbus::Model,  ::eldbus::model::Arguments> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Method const ,  ::efl::Model const ,  ::efl::Object const ,  ::eldbus::Model const ,  ::eldbus::model::Arguments const > operator&() const { return {this}; }
   /// @endcond
};
} } 
}
namespace eldbus { namespace model { 
struct Method : private ::efl::eo::concrete
   , EO_CXX_INHERIT(::efl::Model)
   , EO_CXX_INHERIT(::efl::Object)
   , EO_CXX_INHERIT(::eldbus::Model)
   , EO_CXX_INHERIT(::eldbus::model::Arguments)
{
   explicit Method( ::Eo* eo)
      : ::efl::eo::concrete(eo) {}
   Method(std::nullptr_t)
      : ::efl::eo::concrete(nullptr) {}
   explicit Method() = default;
   Method(Method const&) = default;
   Method(Method&&) = default;
   Method& operator=(Method const&) = default;
   Method& operator=(Method&&) = default;
   template <typename Derived>
   Method(Derived&& derived
      , typename std::enable_if<
         ::efl::eo::is_eolian_object<Derived>::value
          && std::is_base_of< Method, Derived>::value>::type* = 0)
         : ::efl::eo::concrete(derived._eo_ptr()) {}

   Method( ::efl::eo::instantiate_t)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
   }
   template <typename T>
   explicit Method( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
   }
   template <typename F> Method( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Method >::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
   }
   template <typename T, typename F> Method(  ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Method >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
   }

   ::efl::eolian::return_traits<void>::type proxy_set( ::efl::eolian::in_traits<Eldbus_Proxy const&>::type proxy) const;
   ::efl::eolian::return_traits<void>::type method_set( ::efl::eolian::in_traits<Eldbus_Introspection_Method const&>::type method) const;
   ::efl::eolian::return_traits<void>::type call() const;
   static Efl_Class const* _eo_class()
   {
      return ELDBUS_MODEL_METHOD_CLASS;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Method *>(this))); }
   static struct successful_call_event
   {
      static Efl_Event_Description const* description()
      { return ELDBUS_MODEL_METHOD_EVENT_SUCCESSFUL_CALL; }
      typedef void parameter_type;
   } const successful_call_event;
#ifdef EFL_CXXPERIMENTAL
   template <typename F>
   typename std::enable_if<std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
   successful_call_event_cb_add(F function)
   {
      return ::efl::eolian::event_add(successful_call_event, *this, function);
   }
   template <typename F>
   typename std::enable_if<!std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
   successful_call_event_cb_add(F function)
   {
      return ::efl::eolian::event_add(successful_call_event, *this, std::bind(function));
   }
#endif
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Method,  ::efl::Model,  ::efl::Object,  ::eldbus::Model,  ::eldbus::model::Arguments> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Method const ,  ::efl::Model const ,  ::efl::Object const ,  ::eldbus::Model const ,  ::eldbus::model::Arguments const > operator&() const { return {this}; }
   /// @endcond
   ::efl::eo::wref<Method> _get_wref() const { return ::efl::eo::wref<Method>(*this); }
   ::efl::eo::concrete const& _get_concrete() const { return *this; }
   ::efl::eo::concrete& _get_concrete() { return *this; }
   using ::efl::eo::concrete::_eo_ptr;
   using ::efl::eo::concrete::_release;
   using ::efl::eo::concrete::_reset;
   using ::efl::eo::concrete::_delete;
   using ::efl::eo::concrete::operator bool;
#ifdef EFL_CXXPERIMENTAL
   const Method* operator->() const { return this; }
   Method* operator->() { return this; }
   operator Eo*() const { return _eo_ptr(); }
#endif 
   friend bool operator==(Method const& lhs, Method const& rhs)
   { return lhs._get_concrete() == rhs._get_concrete(); }
   friend bool operator!=(Method const& lhs, Method const& rhs)
   { return !(lhs == rhs); }
};
static_assert(sizeof(Method) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<Method>::value, "");
} } 
#endif
