SMACC
Loading...
Searching...
No Matches
smacc_signal.h
Go to the documentation of this file.
1/*****************************************************************************************************************
2 * ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
3 * Authors: Pablo Inigo Blasco, Brett Aldrich
4 *
5 ******************************************************************************************************************/
6
7#pragma once
8
9#include <boost/signals2/signal.hpp>
10#include <boost/any.hpp>
11
12namespace smacc
13{
14using namespace boost;
15using namespace boost::signals2;
16using namespace boost::signals2::detail;
17
18template <typename Signature,
19 typename Combiner = optional_last_value<typename boost::function_traits<Signature>::result_type>,
20 typename Group = int,
21 typename GroupCompare = std::less<Group>,
22 typename SlotFunction = function<Signature>,
23 typename ExtendedSlotFunction = typename extended_signature<function_traits<Signature>::arity, Signature>::function_type,
24 typename Mutex = boost::signals2::mutex>
25class SmaccSignal : public boost::signals2::signal<Signature, Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>
26{
27};
28} // namespace smacc