- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
signal.hxx File Reference
`#include <qi/trackable.hpp>`
`#include <qi/type/detail/manageable.hpp>`
`#include <boost/bind.hpp>`
`#include <qi/type/detail/functionsignature.hxx>`

Go to the source code of this file.

## Classes
class | qi::detail::BounceToSignalBase< T >

## Namespaces
| qi
| Deprecated in 2.5. Use int8_t from <cstdint>.
| qi::detail

## Macros
#define | _QITYPE_DETAIL_SIGNAL_HXX_
#define | pushArg(z, n, _) args.push_back(AutoAnyReference(p ##n));
#define | makeBounce(n, argstypedecl, argstype, argsdecl, argsues, comma)

## Macro Definition Documentation

#define _QITYPE_DETAIL_SIGNAL_HXX_

Definition at line 8 of file signal.hxx.

#define makeBounce | ( |  | n,
|  |  | argstypedecl,
|  |  | argstype,
|  |  | argsdecl,
|  |  | argsues,
|  |  | comma
| ) |  |

Value:
template<typename R comma argstypedecl> \
class BounceToSignalBase<R(argstype)> { \
public: \
BounceToSignalBase(SignalBase& signalBase) : signalBase(signalBase) {} \
R operator()(argsdecl) { \
AnyReferenceVector args; \
BOOST_PP_REPEAT(n, pushArg, _); \
signalBase.trigger(args); \
} \
private: \
SignalBase& signalBase; \
};
pushArg
#define pushArg(z, n, _)
Definition: signal.hxx:128
qi::AnyReferenceVector
std::vector< AnyReference > AnyReferenceVector
Definition: anyreference.hpp:26

Definition at line 130 of file signal.hxx.

#define pushArg | ( |  | z,
|  |  | n,
|  |  | _
| ) |  | args.push_back(AutoAnyReference(p ##n));

Definition at line 128 of file signal.hxx.