SST/macro
|
A base type and default (empty) implementation of a handle to block and unblock processes. More...
#include <key.h>
Classes | |
class | category |
Public Types | |
typedef std::set< thread_data_t > | blocking_t |
Global identifier for all keys of a given type. More... | |
Public Member Functions | |
virtual std::string | to_string () const |
std::string | name () const |
int | event_typeid () const |
virtual | ~key () |
void * | operator new (size_t size) |
void | operator delete (void *ptr) |
void | block_thread (thread_data_t t) |
bool | still_blocked () |
bool | timed_out () const |
void | set_timed_out () |
void | clear () |
Static Public Member Functions | |
static key * | construct () |
static key * | construct (const category &name) |
static std::string | name (int keyname_id) |
static int | allocate_category_id (const std::string &name) |
static int | event_typeid (const std::string &event_name) |
static int | num_categories () |
static void | delete_statics () |
Static Public Attributes | |
static category | general |
Private Member Functions | |
key () | |
key (const category &name) | |
Private Attributes | |
thread_data_t | blocked_thread_ |
bool | timed_out_ |
int | keyname_id_ |
Static Private Attributes | |
static spkt_unordered_map< std::string, int > * | category_name_to_id_ |
static spkt_unordered_map< int, std::string > * | category_id_to_name_ |
static uint64_t | key_storage_size_ |
Friends | |
class | operating_system |
A base type and default (empty) implementation of a handle to block and unblock processes.
typedef std::set<thread_data_t> sstmac::sw::key::blocking_t |
|
virtual |
Referenced by event_typeid().
|
private |
|
private |
|
static |
Referenced by name().
|
inline |
Definition at line 115 of file key.h.
References blocked_thread_.
|
inline |
Definition at line 135 of file key.h.
References blocked_thread_, and delete_statics().
|
static |
Referenced by to_string().
|
static |
Referenced by clear().
|
static |
|
inline |
Definition at line 102 of file key.h.
References keyname_id_, and ~key().
Referenced by name().
|
inlinestatic |
Definition at line 81 of file key.h.
References allocate_category_id(), category_id_to_name_, and event_typeid().
|
inline |
Definition at line 97 of file key.h.
References keyname_id_, and sstmac::sw::key::category::name().
Referenced by sstmac::sw::key::category::name().
|
inlinestatic |
Definition at line 92 of file key.h.
References category_name_to_id_.
void sstmac::sw::key::operator delete | ( | void * | ptr | ) |
void* sstmac::sw::key::operator new | ( | size_t | size | ) |
|
inline |
Definition at line 130 of file key.h.
References timed_out_.
|
inline |
Definition at line 120 of file key.h.
References blocked_thread_.
|
inline |
Definition at line 125 of file key.h.
References timed_out_.
|
inlinevirtual |
Definition at line 70 of file key.h.
References construct(), and sstmac::sw::key::category::name().
|
friend |
|
private |
Definition at line 155 of file key.h.
Referenced by block_thread(), clear(), and still_blocked().
|
staticprivate |
|
staticprivate |
Definition at line 151 of file key.h.
Referenced by num_categories().
|
static |
Definition at line 66 of file key.h.
Referenced by sstmac::sw::blocking_library::blocking_library(), and sstmac::sw::operating_system::static_os_thread_context().
|
private |
Definition at line 157 of file key.h.
Referenced by event_typeid(), and name().
|
private |
Definition at line 156 of file key.h.
Referenced by set_timed_out(), and timed_out().