gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected 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

 CompoundFlag (const char *name, const char *desc, Flag *f00=nullptr, Flag *f01=nullptr, Flag *f02=nullptr, Flag *f03=nullptr, Flag *f04=nullptr, Flag *f05=nullptr, Flag *f06=nullptr, Flag *f07=nullptr, Flag *f08=nullptr, Flag *f09=nullptr, Flag *f10=nullptr, Flag *f11=nullptr, Flag *f12=nullptr, Flag *f13=nullptr, Flag *f14=nullptr, Flag *f15=nullptr, Flag *f16=nullptr, Flag *f17=nullptr, Flag *f18=nullptr, Flag *f19=nullptr)
 
std::vector< Flag * > kids ()
 
void enable ()
 
void disable ()
 
- Public Member Functions inherited from Debug::Flag
 Flag (const char *name, const char *desc)
 
virtual ~Flag ()
 
std::string name () const
 
std::string desc () const
 
virtual void sync ()
 

Protected Member Functions

void addFlag (Flag *f)
 

Protected Attributes

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

Detailed Description

Definition at line 87 of file debug.hh.

Constructor & Destructor Documentation

Debug::CompoundFlag::CompoundFlag ( const char *  name,
const char *  desc,
Flag f00 = nullptr,
Flag f01 = nullptr,
Flag f02 = nullptr,
Flag f03 = nullptr,
Flag f04 = nullptr,
Flag f05 = nullptr,
Flag f06 = nullptr,
Flag f07 = nullptr,
Flag f08 = nullptr,
Flag f09 = nullptr,
Flag f10 = nullptr,
Flag f11 = nullptr,
Flag f12 = nullptr,
Flag f13 = nullptr,
Flag f14 = nullptr,
Flag f15 = nullptr,
Flag f16 = nullptr,
Flag f17 = nullptr,
Flag f18 = nullptr,
Flag f19 = nullptr 
)
inline

Definition at line 100 of file debug.hh.

References addFlag().

Member Function Documentation

void Debug::CompoundFlag::addFlag ( Flag f)
inlineprotected

Definition at line 93 of file debug.hh.

References _kids.

Referenced by CompoundFlag().

void Debug::CompoundFlag::disable ( )
virtual

Implements Debug::Flag.

Definition at line 124 of file debug.cc.

References _kids, and MipsISA::k.

void Debug::CompoundFlag::enable ( )
virtual

Implements Debug::Flag.

Definition at line 117 of file debug.cc.

References _kids, and MipsISA::k.

std::vector<Flag *> Debug::CompoundFlag::kids ( )
inlinevirtual

Reimplemented from Debug::Flag.

Definition at line 119 of file debug.hh.

References _kids.

Member Data Documentation

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

Definition at line 90 of file debug.hh.

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


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