gem5  v21.1.0.2
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

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 119 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 126 of file debug.hh.

Member Function Documentation

◆ disable()

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

Implements gem5::debug::Flag.

Definition at line 138 of file debug.cc.

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

◆ enable()

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

Implements gem5::debug::Flag.

Definition at line 131 of file debug.cc.

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

◆ kids()

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

Definition at line 133 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 122 of file debug.hh.

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


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

Generated on Tue Sep 21 2021 12:28:59 for gem5 by doxygen 1.8.17