1 #ifndef WIRECELL_ISINKNODE 2 #define WIRECELL_ISINKNODE 6 #include <boost/any.hpp> 16 typedef std::shared_ptr<ISinkNodeBase>
pointer;
24 virtual bool operator()(
const boost::any& in) = 0;
27 template <
typename InputType>
37 const input_pointer& in = boost::any_cast<
const input_pointer&>(anyin);
42 virtual bool operator()(
const input_pointer& in) = 0;
46 return std::vector<std::string>{
typeid(input_type).
name()};
virtual std::vector< std::string > input_types()
virtual bool operator()(const boost::any &anyin)
std::shared_ptr< ISinkNodeBase > pointer
virtual bool operator()(const boost::any &in)=0
virtual NodeCategory category()
Return the behavior category type.
std::shared_ptr< const InputType > input_pointer