A fixed copy of state from a StateCatalog.
More...
#include <StateCatalog.h>
|
I32 | m_serial |
|
I32 | m_flushCount |
|
sp< Catalog > | m_spSnapshotCatalog |
|
sp< Catalog > | m_spUpdateCatalog |
|
|
static String | reportTracker (void) |
|
static U32 | trackerCount (void) |
|
int | releaseInternal (void) |
| Decrement the reference count. More...
|
|
void | suppressReport (void) |
|
A fixed copy of state from a StateCatalog.
The state of a snapshot is frozen and can not be changed. Unlike the Atomic, a Snapshot does not lock the StateCatalog.
◆ dump()
void fe::StateCatalog::Snapshot::dump |
( |
void |
| ) |
const |
|
inline |
Print all the values in the snapshot.
◆ dumpUpdates()
void fe::StateCatalog::Snapshot::dumpUpdates |
( |
void |
| ) |
const |
|
inline |
Print new state changes since the snapshot.
◆ flushCount()
I32 fe::StateCatalog::Snapshot::flushCount |
( |
void |
| ) |
const |
|
inline |
Get the count of incoming updates from when the snapshot was made.
An increment of the flushCount corresponds to one flush() call at the sender. Multiple states can be updated on one flush.
◆ getState() [1/2]
template<class T >
Result fe::StateCatalog::Snapshot::getState |
( |
String |
a_name, |
|
|
T & |
a_rValue |
|
) |
| const |
|
inline |
Get historical state without any need for locking.
◆ getState() [2/2]
template<class T >
Result fe::StateCatalog::Snapshot::getState |
( |
String |
a_name, |
|
|
String |
a_property, |
|
|
T & |
a_rValue |
|
) |
| const |
|
inline |
Get historical state without any need for locking.
◆ getTypeName() [1/2]
Result fe::StateCatalog::Snapshot::getTypeName |
( |
String |
a_name, |
|
|
String & |
a_rTypeName |
|
) |
| const |
|
inline |
Get state without any need for locking (default property)
◆ getTypeName() [2/2]
Get state without any need for locking.
◆ serial()
I32 fe::StateCatalog::Snapshot::serial |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: