Lines Matching defs:DCmdFactory
217 // the DCmdFactory::getFactory() method.
319 // Each diagnostic command class has its own factory. The DCmdFactory class also
320 // manages the status of the diagnostic command (hidden, enabled). A DCmdFactory
323 class DCmdFactory: public CHeapObj<mtInternal> {
328 DCmdFactory* _next;
337 static DCmdFactory* _DCmdFactoryList;
339 DCmdFactory(int num_arguments, bool enabled, bool hidden) {
350 DCmdFactory* next() { return _next; }
357 // Register a DCmdFactory to make a diagnostic command available.
361 static int register_DCmdFactory(DCmdFactory* factory);
362 static DCmdFactory* factory(const char* cmd, size_t len);
373 // Template to easily create DCmdFactory instances. See management.cpp
375 template <class DCmdClass> class DCmdFactoryImpl : public DCmdFactory {
378 DCmdFactory(DCmdClass::num_arguments(), enabled, hidden) { }