 |
Belle II Software
release-05-02-19
|
14 #include <boost/python/list.hpp>
15 #include <boost/python/dict.hpp>
17 #include <framework/core/Module.h>
18 #include <framework/core/Path.h>
154 static std::string
findFile(
const std::string& filename,
const std::string& type,
bool ignore_errors =
false);
static boost::python::list getRegisteredModulesPython()
Returns a list of all registered modules.
static void setStreamingObjects(const boost::python::list &streamingObjects)
Function to set streaming objects for Tx module.
static void setNumberProcesses(int numProcesses)
Function to set number of worker processes for parallel processing.
static void exposePythonAPI()
Exposes methods of the Framework class to Python.
static std::string findFile(const std::string &filename, const std::string &type, bool ignore_errors=false)
Find a file.
virtual ~Framework()
Destructor.
static boost::python::list getModuleSearchPathsPython()
Returns a list of all module search paths known to the framework.
static int getNumberProcesses()
Function to get number of worker processes for parallel processing.
static std::string getPicklePath()
Function to get the path to the file where the pickled path is stored.
static void setPicklePath(const std::string &path)
Function to set the path to the file where the pickled path is stored.
Abstract base class for different kinds of events.
static boost::python::dict getAvailableModulesPython()
Returns a dictionary containing the found modules and the filenames of the shared libraries in which ...
static void process(PathPtr startPath, long maxEvent=0)
Processes up to maxEvent events by starting with the first module in the specified path.
std::shared_ptr< Path > PathPtr
Defines a pointer to a path object as a boost shared pointer.
std::shared_ptr< Module > ModulePtr
Defines a pointer to a module object as a boost shared pointer.
static void setExternalsPath(const std::string &path)
Sets the path in which the externals of the framework are located.
static void addModuleSearchPath(const std::string &path)
Adds a new filepath to the list of filepaths which are searched for modules.
static ModulePtr registerModule(const std::string &moduleName)
Registers a new module to the framework and returns a shared pointer.