15 #ifndef DETECTORGRAPH_TEST_UTIL_SPLITTERDETECTOR_HPP_ 16 #define DETECTORGRAPH_TEST_UTIL_SPLITTERDETECTOR_HPP_ 45 template <
class OutA,
class OutB>
57 template<
class OutA,
class OutB>
66 Subscribe< TestSplitterTrigger<OutA, OutB> >(
this);
67 SetupPublishing<OutA>(
this);
68 SetupPublishing<OutB>(
this);
80 #endif // DETECTORGRAPH_TEST_UTIL_SPLITTERDETECTOR_HPP_ Implements a graph of Topics & Detectors with Input/Output APIs.
virtual void Evaluate(const TestSplitterTrigger< OutA, OutB > &pair)
Pure-virtual method that should Evaluate a piece of input data.
TestSplitterDetector(Graph *graph)
void Publish(const T &data)
Publish a new version of T to a Topic.
TestSplitterTrigger(const OutA &a, const OutB &b)
Base struct for topic data types.
Base class that implements a Publisher behavior.
A unit of logic in a DetectorGraph.
A Pure interface that declares the Subscriber behavior.