The event data class.
More...
|
enum | EventType {
NEW_NODES,
MOVED_NODE,
DELETED_NODE,
UPDATED_NODE,
UPDATED_META,
UPDATED_KEYS,
LOGOUT,
FULL_RELOAD,
ACCOUNT_READY,
CONNECTIVITY,
ACCOUNT_INFO,
LAST
} |
| The event type enum. More...
|
|
◆ EventType
The event type enum.
Enumerator |
---|
NEW_NODES | |
MOVED_NODE | |
DELETED_NODE | |
UPDATED_NODE | |
UPDATED_META | |
UPDATED_KEYS | |
LOGOUT | |
FULL_RELOAD | |
ACCOUNT_READY | |
CONNECTIVITY | |
ACCOUNT_INFO | |
LAST | |
◆ ~EventData()
virtual iberbox::EventData::~EventData |
( |
| ) |
|
|
virtual |
◆ getAccountInfo()
AccountInfo iberbox::EventData::getAccountInfo |
( |
| ) |
const |
Gets the account info after the event occurred.
- Todo:
- Returns
- The account info after the event occurred.
Referenced by getTypeNameString().
◆ getClientId()
uint64_t iberbox::EventData::getClientId |
( |
| ) |
const |
◆ getCloudState()
const char* iberbox::EventData::getCloudState |
( |
| ) |
const |
◆ getName()
const char* iberbox::EventData::getName |
( |
| ) |
const |
◆ getNameString()
const std::string iberbox::EventData::getNameString |
( |
| ) |
const |
◆ getNode()
Node iberbox::EventData::getNode |
( |
| ) |
const |
◆ getNodeId()
uint64_t iberbox::EventData::getNodeId |
( |
| ) |
const |
◆ getNodeList()
NodeList iberbox::EventData::getNodeList |
( |
| ) |
const |
◆ getNumber()
int iberbox::EventData::getNumber |
( |
| ) |
const |
◆ getPath()
const char* iberbox::EventData::getPath |
( |
| ) |
const |
◆ getPathString()
const std::string iberbox::EventData::getPathString |
( |
| ) |
const |
◆ getPreviousNode()
Node iberbox::EventData::getPreviousNode |
( |
| ) |
const |
◆ getType()
int iberbox::EventData::getType |
( |
| ) |
const |
◆ getTypeName()
static const char* iberbox::EventData::getTypeName |
( |
unsigned |
type | ) |
|
|
inlinestatic |
Gets the event type name.
type
valid values are described in EventType enum
- Parameters
-
- Returns
- The event type name as a char array.
References LAST.
Referenced by getTypeNameString().
◆ getTypeNameString()
static const std::string iberbox::EventData::getTypeNameString |
( |
unsigned |
type | ) |
|
|
inlinestatic |
Gets the event type name.
type
valid values are described in EventType enum
- Parameters
-
- Returns
- The event type as a std::string.
References getAccountInfo(), getClientId(), getCloudState(), getName(), getNameString(), getNode(), getNodeId(), getNodeList(), getNumber(), getPath(), getPathString(), getPreviousNode(), getType(), getTypeName(), isExternal(), and ~EventData().
◆ isExternal()
bool iberbox::EventData::isExternal |
( |
| ) |
const |
The documentation for this class was generated from the following file: