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

#include <debug.hh>

Inheritance diagram for gem5::debug::CompoundFlag:
gem5::debug::Flag gem5::debug::AllFlagsFlag

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
 
- Public Member Functions inherited from gem5::debug::Flag
 Flag (const char *name, const char *desc)
 
virtual ~Flag ()
 
std::string name () const
 
std::string desc () const
 
bool tracing () const
 
 operator bool () const
 

Protected Attributes

std::vector< Flag * > _kids
 
- Protected Attributes inherited from gem5::debug::Flag
bool _tracing = false
 
const char * _name
 
const char * _desc
 

Additional Inherited Members

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

Detailed Description

Definition at line 117 of file debug.hh.

Constructor & Destructor Documentation

◆ CompoundFlag()

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

Definition at line 124 of file debug.hh.

Member Function Documentation

◆ disable()

void gem5::debug::CompoundFlag::disable ( )
overridevirtual

Implements gem5::debug::Flag.

Definition at line 149 of file debug.cc.

References _kids, and gem5::MipsISA::k.

◆ enable()

void gem5::debug::CompoundFlag::enable ( )
overridevirtual

Implements gem5::debug::Flag.

Definition at line 142 of file debug.cc.

References _kids, and gem5::MipsISA::k.

◆ kids()

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

Definition at line 131 of file debug.hh.

References _kids.

Referenced by gem5::pybind_init_debug().

Member Data Documentation

◆ _kids

std::vector<Flag *> gem5::debug::CompoundFlag::_kids
protected

Definition at line 120 of file debug.hh.

Referenced by gem5::debug::AllFlagsFlag::add(), disable(), enable(), and kids().


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

Generated on Wed Dec 21 2022 10:23:40 for gem5 by doxygen 1.9.1