MeVisLab Toolbox Reference
Signal.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3
4#pragma once
5
6#ifdef _MSC_VER
7#pragma warning(disable: 4503)
8#pragma warning(disable: 4996)
9#endif
10
11#include <FMEThirdPartyWarningsDisable.h>
12#include <boost/signals2/signal.hpp>
13#include <boost/signals2/connection.hpp>
14#include <boost/signals2/shared_connection_block.hpp>
15#include <FMEThirdPartyWarningsRestore.h>
16
17
18namespace asio {
19
20 template<typename... Signature>
21 using Signal = boost::signals2::signal<Signature...>;
22
23 using SignalConnection = boost::signals2::connection;
24
25 using ScopedSignalConnection = boost::signals2::scoped_connection;
26
27 using SharedSignalConnectionBlock = boost::signals2::shared_connection_block;
28
29}
boost::signals2::connection SignalConnection
Definition Signal.h:23
boost::signals2::signal< Signature... > Signal
Definition Signal.h:21
boost::signals2::shared_connection_block SharedSignalConnectionBlock
Definition Signal.h:27
boost::signals2::scoped_connection ScopedSignalConnection
Definition Signal.h:25