toast/python/callback.hpp File Reference


Detailed Description

This file contains the toast::python::signal_connect function.

#include <iostream>
#include <boost/python.hpp>
#include <boost/type_traits.hpp>
#include <boost/python/raw_function.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/function.hpp>
#include <boost/functional.hpp>

Go to the source code of this file.

Namespaces

namespace  toast
namespace  toast::python
namespace  toast::python::detail

Classes

struct  toast::python::detail::callpyobj0< T_return >
struct  toast::python::detail::callpyobj0< void >
struct  toast::python::detail::callpyobj1< T_return, T_arg1 >
struct  toast::python::detail::callpyobj1< void, T_arg1 >
struct  toast::python::detail::callpyobj2< T_return, T_arg1, T_arg2 >
struct  toast::python::detail::callpyobj2< void, T_arg1, T_arg2 >
struct  toast::python::detail::callpyobj3< T_return, T_arg1, T_arg2, T_arg3 >
struct  toast::python::detail::callpyobj3< void, T_arg1, T_arg2, T_arg3 >
struct  toast::python::detail::callpyobj4< T_return, T_arg1, T_arg2, T_arg3, T_arg4 >
struct  toast::python::detail::callpyobj4< void, T_arg1, T_arg2, T_arg3, T_arg4 >
struct  toast::python::detail::callpyobj5< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5 >
struct  toast::python::detail::callpyobj5< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5 >
struct  toast::python::detail::callpyobj6< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6 >
struct  toast::python::detail::callpyobj6< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6 >
struct  toast::python::detail::callpyobj7< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >
struct  toast::python::detail::callpyobj7< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >
struct  toast::python::detail::connector< 0, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 1, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 2, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 3, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 4, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 5, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 6, Signature, Connection, T, Slot >
struct  toast::python::detail::connector< 7, Signature, Connection, T, Slot >

Functions

template<typename ArgType>
boost::python::object toast::python::detail::getobjhelper (ArgType a, boost::mpl::bool_< false > const &, boost::mpl::bool_< false > const &)
template<typename ArgType>
boost::python::object toast::python::detail::getobjhelper (ArgType a, boost::mpl::bool_< true > const &, boost::mpl::bool_< false > const &)
template<typename ArgType>
boost::python::object toast::python::detail::getobjhelper (ArgType a, boost::mpl::bool_< false > const &, boost::mpl::bool_< true > const &)
template<typename ArgType>
boost::python::object toast::python::detail::getobject (ArgType a)
PyObject * toast::python::detail::pyobject_call (boost::python::object &o, boost::python::tuple &args, boost::python::dict &kw)
PyObject * toast::python::detail::pyobject_call (boost::python::object &o, boost::python::list &args, boost::python::dict &kw)
template<typename Signature, typename Connection, typename T, typename Slot>
boost::python::object toast::python::signal_connect (Connection(T::*f)(Slot))
 Wraps a signal/slot style connect function to be used with Boost.Python.


SourceForge.net Logo