gem5
v20.1.0.0
|
#include <system.hh>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = ThreadContext * |
using | difference_type = int |
using | pointer = const value_type * |
using | reference = const value_type & |
Public Member Functions | |
const_iterator (const const_iterator &)=default | |
const_iterator & | operator= (const const_iterator &)=default |
const_iterator & | operator++ () |
const_iterator | operator++ (int) |
reference | operator* () |
pointer | operator-> () |
bool | operator== (const const_iterator &other) const |
bool | operator!= (const const_iterator &other) const |
Private Member Functions | |
const_iterator (const Threads &_threads, int _pos) | |
Private Attributes | |
const Threads & | threads |
int | pos |
Friends | |
class | Threads |
using System::Threads::const_iterator::difference_type = int |
using System::Threads::const_iterator::iterator_category = std::forward_iterator_tag |
using System::Threads::const_iterator::pointer = const value_type * |
using System::Threads::const_iterator::reference = const value_type & |
|
inlineprivate |
Definition at line 151 of file system.hh.
Referenced by operator++().
|
default |
|
inline |
|
inline |
Definition at line 178 of file system.hh.
References System::Threads::Thread::context, pos, System::Threads::thread(), and threads.
|
inline |
|
inline |
Definition at line 173 of file system.hh.
References const_iterator(), pos, and threads.
|
inline |
Definition at line 179 of file system.hh.
References System::Threads::Thread::context, pos, System::Threads::thread(), and threads.
|
default |
|
inline |
|
private |
Definition at line 147 of file system.hh.
Referenced by operator*(), operator++(), operator->(), and operator==().
|
private |
Definition at line 146 of file system.hh.
Referenced by operator*(), operator++(), operator->(), and operator==().