15using out_t = std::tuple<float, float>;
22 :
is2ff_merger_base( name, pSvcLocator, {
"InputInts", {
"firstInt",
"secondInt" } },
23 { KeyValue{
"O1",
"firstFloat" }, KeyValue{
"O2",
"secondFloat" } } ) {}
29 info() <<
"i: " << i <<
" ";
43 { KeyValue{
"O1",
"firstFloat" }, KeyValue{
"O2",
"secondFloat" } } ) {}
49 info() <<
"i: " << i <<
" ";
54 auto filter_passed = f1 > 10;
55 info() <<
"Filter " << ( filter_passed ?
"passed" :
"failed" ) <<
endmsg;
56 return { filter_passed, f1, f2 };
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define DECLARE_COMPONENT(type)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
filter_out_t operator()(ints const &is) const override
is2ff_merger_filter(std::string const &name, ISvcLocator *pSvcLocator)
out_t operator()(ints const &is) const override
is2ff_merger(std::string const &name, ISvcLocator *pSvcLocator)