30 if (classname ==
"stream::RunModule")
33 if (classname ==
"stream::TdcCalibrationModule")
36 if (classname ==
"stream::RecalibrateModule")
49 if (!portref.
IsOutput() || (url.GetProtocol()!=
"stream"))
52 cmd.
SetBool(
"use_autotdc",
true);
53 cmd.
SetStr(
"fileurl", typ);
bool AddObject(const std::string &kind, const std::string &name)
Adds object into application list List used when objects must be destroyed or application start/stop ...
Represents command with its arguments.
bool SetStr(const std::string &name, const char *value)
bool SetBool(const std::string &name, bool v)
Small helper class to correctly instantiate user-specific factories.
virtual Module * CreateTransport(const Reference &port, const std::string &typ, Command cmd)
Factory method to create transport.
virtual Module * CreateModule(const std::string &classname, const std::string &modulename, Command cmd)
Factory method to create module.
Base for dabc::ModuleSync and dabc::ModuleAsync classes.
Reference on the dabc::Port class
bool IsOutput() const
Returns true if it is output port.
Reference on the arbitrary object
Uniform Resource Locator interpreter.
Factory for HADAQ classes
virtual dabc::Module * CreateModule(const std::string &classname, const std::string &modulename, dabc::Command cmd)
Factory method to create module.
virtual dabc::Module * CreateTransport(const dabc::Reference &port, const std::string &typ, dabc::Command cmd)
Factory method to create transport.
Runs code of stream framework.
Runs code of stream framework.
Perform calibration of FPGA TDC data.
dabc::FactoryPlugin streamfactory(new stream::Factory("stream"))