9#include <boost/python/class.hpp>
10#include <boost/python/reference_existing_object.hpp>
11#include <boost/python/return_value_policy.hpp>
22 class_<PreviewManagerImpl, boost::noncopyable>(
"PreviewManager", no_init)
24 "Get the preview by the facility, technique and the name.", return_value_policy<reference_existing_object>())
26 "Get the names of the previews available for the facility and "
28 .def(
"Instance", instance,
"Return a reference to the singleton instance",
29 return_value_policy<reference_existing_object>())
30 .staticmethod(
"Instance");
void export_PreviewManager()
PreviewManager : Manages the raw data previews.
std::vector< std::string > getPreviews(const std::string &facility, const std::string &technique="") const
const IPreview & getPreview(const std::string &facility, const std::string &technique, const std::string &preview) const
Manage the lifetime of a class intended to be a singleton.