Hedgehog  0.0.0
A library to generate hybrid pipeline workflow systems
helper.h
1 // NIST-developed software is provided by NIST as a public service. You may use, copy and distribute copies of the
2 // software in any medium, provided that you keep intact this entire notice. You may improve, modify and create
3 // derivative works of the software or any portion of the software, and you may copy and distribute such modifications
4 // or works. Modified works should carry a notice stating that you changed the software and should note the date and
5 // nature of any such change. Please explicitly acknowledge the National Institute of Standards and Technology as the
6 // source of the software. NIST-developed software is expressly provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND,
7 // EXPRESS, IMPLIED, IN FACT OR ARISING BY OPERATION OF LAW, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
8 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND DATA ACCURACY. NIST NEITHER REPRESENTS NOR
9 // WARRANTS THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT ANY DEFECTS WILL BE
10 // CORRECTED. NIST DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF THE SOFTWARE OR THE RESULTS
11 // THEREOF, INCLUDING BUT NOT LIMITED TO THE CORRECTNESS, ACCURACY, RELIABILITY, OR USEFULNESS OF THE SOFTWARE. You
12 // are solely responsible for determining the appropriateness of using and distributing the software and you assume
13 // all risks associated with its use, including but not limited to the risks and costs of program errors, compliance
14 // with applicable laws, damage to or loss of data, programs or equipment, and the unavailability or interruption of
15 // operation. This software is not intended to be used in any situation where a failure could cause risk of injury or
16 // damage to property. The software developed by NIST employees is not subject to copyright protection within the
17 // United States.
18 
19 
20 #ifndef HEDGEHOG_HELPER_H
21 #define HEDGEHOG_HELPER_H
22 
23 #include <tuple>
24 #include "../core/io/base/receiver/core_multi_receivers.h"
25 
27 namespace hh {
28 
30 namespace behavior {
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 template<class ...Inputs>
35 class MultiReceivers;
36 
39 template<class Output>
40 class Sender;
41 #endif // DOXYGEN_SHOULD_SKIP_THIS
42 }
43 
45 namespace helper {
46 
49 template<class Inputs>
51 
54 template<class ...Inputs>
55 struct HelperMultiReceiversType<std::tuple<Inputs...>> {
56  using type = behavior::MultiReceivers<Inputs...>;
57 };
58 
61 template<class Inputs>
63 
66 template<class ...Inputs>
67 struct HelperCoreMultiReceiversType<std::tuple<Inputs...>> {
68  using type = core::CoreMultiReceivers<Inputs...>;
69 };
70 
71 }
72 }
73 #endif //HEDGEHOG_HELPER_H
Hedgehog main namespace.
Multi receiver interface, gather multiple CoreReceiver.
MultiReceivers Behavior definition, node has a list of input types.
STL namespace.
Base definition of HelperMultiReceiversType.
Definition: helper.h:50
Base definition of HelperCoreMultiReceiversType.
Definition: helper.h:62