19 #include <tbb/queuing_rw_mutex.h>
20 #include <tbb/recursive_mutex.h>
22 #include <boost/ptr_container/ptr_map.hpp>
30 namespace MAKVRinTerra
32 class DtSharedMemoryFeaturesDebugDrawer;
34 template <
typename FS>
35 class DtPagingFeatureSet;
38 :
public boost::enable_shared_from_this<DtFeaturesDebugger>
42 typedef boost::shared_ptr<DtFeaturesDebugger>
Ptr;
56 virtual bool executeCommands(
const std::string&);
64 typedef boost::shared_ptr<Record>
Ptr;
75 virtual std::string name()
const;
79 virtual bool executeCommand(
const std::string&, std::ostream&);
81 virtual void executeListCommand(std::ostream&);
85 virtual void executeInfoCommand(std::ostream&);
86 virtual bool executeInfoCommand(
const std::string&, std::ostream&);
90 virtual bool executeDrawCommand(
const std::string&, std::ostream&);
95 virtual Record& setDrawing(
bool enable);
97 Record& command(
const std::string&);
98 Record& command(
const std::string&, std::ostream&);
99 Record& drawCommand(
const std::string&);
100 Record& drawCommand(
const std::string&, std::ostream&);
102 virtual Record& addDrawingFeatureSet(
104 const std::string& name,
105 bool enable =
false);
107 template <
typename F>
110 const std::string& name,
135 boost::shared_ptr<DtSharedMemoryFeaturesDebugDrawer>
drawer;
148 template <
typename F>
166 typedef tbb::queuing_rw_mutex
Mutex;