17 #include <tbb/queuing_rw_mutex.h>
18 #include <tbb/recursive_mutex.h>
20 #include <boost/ptr_container/ptr_map.hpp>
28 namespace MAKVRinTerra
30 template <
typename FS>
34 :
public boost::enable_shared_from_this<DtFeaturesDebugger>
38 typedef boost::shared_ptr<DtFeaturesDebugger>
Ptr;
52 virtual bool executeCommands(
const std::string&);
60 typedef boost::shared_ptr<Record>
Ptr;
71 virtual std::string name()
const;
75 virtual bool executeCommand(
const std::string&, std::ostream&);
77 virtual void executeListCommand(std::ostream&);
81 virtual void executeInfoCommand(std::ostream&);
82 virtual bool executeInfoCommand(
const std::string&, std::ostream&);
86 Record& command(
const std::string&);
87 Record& command(
const std::string&, std::ostream&);
90 typedef tbb::recursive_mutex
Mutex;
103 template <
typename F>
121 typedef tbb::queuing_rw_mutex
Mutex;
Represents a set of DtFeature objects or others which conform to the DtFeature concept.
Definition: featureSet.h:101
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
std::map< std::string, Ptr > SubDebuggers
Definition: featuresDebugger.h:127
static FeatureSet * Wrap(FS *fs)
Wrap a compatible feature set type in the interface of this feature set type. The Wrap functions are ...
Definition: featureSet.h:186
boost::shared_ptr< Record > Ptr
Definition: featuresDebugger.h:60
boost::scoped_ptr< DtFeatureSet > myFeatureSet
Definition: featuresDebugger.h:93
This is a class which maintains a list of string command names and the callback functions that are to...
Definition: consoleCommandManager.h:56
RecordVector myFeatureSets
Definition: featuresDebugger.h:124
Entry for a feature set in the debugger.
Definition: featuresDebugger.h:55
std::vector< std::string > CommandSequence
Definition: featuresDebugger.h:62
DtConsoleCommandOwner myCommandOwner
Definition: featuresDebugger.h:125
SubDebuggers mySubDebuggers
Definition: featuresDebugger.h:128
tbb::queuing_rw_mutex Mutex
Definition: featuresDebugger.h:121
tbb::recursive_mutex Mutex
Definition: featuresDebugger.h:90
Features pagetable class. This class is just the shell around a set of related classes. The general idea is a hierarchy of subsets/tiles from an arbitrary 2D coordsys. It uses weak pointers to manage its contained feature sets while returning feature sets which have shared pointers. This way feature sets will automatically be destroyed when users are done with them. The unused tile tracker can provide an owner for these feature sets and pages them out according to it's own policy.
Definition: featuresDebugger.h:31
CommandSequence::const_iterator CommandIterator
Definition: featuresDebugger.h:63
Mutex myMutex
Definition: featuresDebugger.h:122
A utility class for use with DtConsoleCommandManager. This class takes ownership of an arbitrary numb...
Definition: consoleCommandManager.h:166
std::vector< Record::Ptr > RecordVector
Definition: featuresDebugger.h:116
A specialized version of DtConsoleCommandManager which handles a set of sub commands from another con...
Definition: consoleCommandManager.h:135
Definition: featuresDebugger.h:33
Mutex mutex
Definition: featuresDebugger.h:91
Record & add(DtFeatureSetTemplate< F > *fs, bool enable=true)
Add a feature set to be debugged.
Definition: featuresDebugger.h:104
int myListIndex
Definition: featuresDebugger.h:96
boost::shared_ptr< DtFeaturesDebugger > Ptr
Definition: featuresDebugger.h:38