gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
Debug::Flag Class Referenceabstract

#include <debug.hh>

Inheritance diagram for Debug::Flag:
Debug::AllFlags Debug::CompoundFlag Debug::SimpleFlag

Public Member Functions

 Flag (const char *name, const char *desc)
 
virtual ~Flag ()
 
std::string name () const
 
std::string desc () const
 
virtual std::vector< Flag * > kids ()
 
virtual void enable ()=0
 
virtual void disable ()=0
 
virtual void sync ()
 

Protected Attributes

const char * _name
 
const char * _desc
 

Detailed Description

Definition at line 43 of file debug.hh.

Constructor & Destructor Documentation

Debug::Flag::Flag ( const char *  name,
const char *  desc 
)

Definition at line 83 of file debug.cc.

References Debug::allFlags(), Debug::allFlagsVersion, and panic.

Debug::Flag::~Flag ( )
virtual

Definition at line 95 of file debug.cc.

Member Function Documentation

std::string Debug::Flag::desc ( ) const
inline

Definition at line 54 of file debug.hh.

References _desc.

Referenced by pybind_init_debug().

virtual void Debug::Flag::disable ( )
pure virtual
virtual void Debug::Flag::enable ( )
pure virtual
virtual std::vector<Flag *> Debug::Flag::kids ( )
inlinevirtual

Reimplemented in Debug::CompoundFlag.

Definition at line 55 of file debug.hh.

Referenced by pybind_init_debug().

std::string Debug::Flag::name ( ) const
inline

Definition at line 53 of file debug.hh.

References _name.

Referenced by dumpDebugFlags(), and pybind_init_debug().

virtual void Debug::Flag::sync ( )
inlinevirtual

Reimplemented in Debug::SimpleFlag.

Definition at line 59 of file debug.hh.

Referenced by pybind_init_debug().

Member Data Documentation

const char* Debug::Flag::_desc
protected

Definition at line 47 of file debug.hh.

Referenced by desc().

const char* Debug::Flag::_name
protected

Definition at line 46 of file debug.hh.

Referenced by name().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:30 for gem5 by doxygen 1.8.6