gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
Debug::CompoundFlag Class Reference

#include <debug.hh>

Inheritance diagram for Debug::CompoundFlag:
Debug::Flag

Public Member Functions

template<typename... Args>
 CompoundFlag (const char *name, const char *desc, std::initializer_list< Flag * > flags)
 
const std::vector< Flag * > & kids () const
 
void enable () override
 
void disable () override
 
bool status () const override
 
- Public Member Functions inherited from Debug::Flag
 Flag (const char *name, const char *desc)
 
virtual ~Flag ()
 
std::string name () const
 
std::string desc () const
 
 operator bool () const
 
bool operator! () const
 

Protected Attributes

std::vector< Flag * > _kids
 
- Protected Attributes inherited from Debug::Flag
const char * _name
 
const char * _desc
 

Additional Inherited Members

- Static Public Member Functions inherited from Debug::Flag
static void globalEnable ()
 
static void globalDisable ()
 
- Protected Member Functions inherited from Debug::Flag
virtual void sync ()
 
- Static Protected Attributes inherited from Debug::Flag
static bool _globalEnable = false
 

Detailed Description

Definition at line 101 of file debug.hh.

Constructor & Destructor Documentation

◆ CompoundFlag()

template<typename... Args>
Debug::CompoundFlag::CompoundFlag ( const char *  name,
const char *  desc,
std::initializer_list< Flag * >  flags 
)
inline

Definition at line 108 of file debug.hh.

Member Function Documentation

◆ disable()

void Debug::CompoundFlag::disable ( )
overridevirtual

Implements Debug::Flag.

Definition at line 134 of file debug.cc.

References _kids, and MipsISA::k.

◆ enable()

void Debug::CompoundFlag::enable ( )
overridevirtual

Implements Debug::Flag.

Definition at line 127 of file debug.cc.

References _kids, and MipsISA::k.

◆ kids()

const std::vector<Flag *>& Debug::CompoundFlag::kids ( ) const
inline

Definition at line 115 of file debug.hh.

References _kids.

Referenced by pybind_init_debug().

◆ status()

bool Debug::CompoundFlag::status ( ) const
overridevirtual

Implements Debug::Flag.

Definition at line 141 of file debug.cc.

References _kids, and MipsISA::k.

Member Data Documentation

◆ _kids

std::vector<Flag *> Debug::CompoundFlag::_kids
protected

Definition at line 104 of file debug.hh.

Referenced by disable(), enable(), kids(), and status().


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

Generated on Wed Sep 30 2020 14:02:39 for gem5 by doxygen 1.8.17