class MetadataLockClassState
Defined at line 53 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
A derivative of LockClassState that stores basic metadata about the lock
class, such as the name and lock flags. This type is used when metadata
only mode is selected at compile time.
Public Methods
void MetadataLockClassState (const fxt::InternedString & name, LockFlags flags)
Constructs an instance of MetadataLockClassState.
Defined at line 56 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
void MetadataLockClassState (const MetadataLockClassState & )
Disable copy construction / assignment.
Defined at line 60 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
MetadataLockClassState & operator= (const MetadataLockClassState & )
Defined at line 61 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
MetadataLockClassState * Get (LockClassId id)
Returns the MetadataLockClassState instance for the given lock class id.
The id must be a valid lock class id. This method intentionally shadows
LockClassState::Get.
Defined at line 66 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
const char * GetName (LockClassId id)
Returns the type name of the lock class for the given lock class id.
Defined at line 72 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
const char * name ()
Returns the name of this lock class.
Defined at line 75 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h
const fxt::InternedString & interned_name ()
Defined at line 76 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class_state.h