class libfwbuilder::SyncFlag

This class represents boolean value, access to which is guarded by mutex

Inheritance:


Public Methods

[more] SyncFlag(bool v=false)
[more]bool peek() const
Checks value without locking.
[more]void modify(bool v)
Changes value without locking.
[more]bool get() const
[more]void set(bool v)
[more] operator bool() const
[more]SyncFlag& operator=(const SyncFlag &o)
[more]SyncFlag& operator=(bool v)


Inherited from Mutex:

Public Methods

ovoid lock() const
ovoid unlock() const

Protected Fields

oGMutex* mutex


Documentation

This class represents boolean value, access to which is guarded by mutex
o SyncFlag(bool v=false)

obool peek() const
Checks value without locking. Use with lock/unlock()

ovoid modify(bool v)
Changes value without locking. Use with lock/unlock()

obool get() const

ovoid set(bool v)

o operator bool() const

oSyncFlag& operator=(const SyncFlag &o)

oSyncFlag& operator=(bool v)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.