![]() |
XII Release 0.1.0
|
#include <GraphEvents.h>
Public Types | |
| enum class | Type { VertexAdded , BeforeVertexRemoved , VertexRemoved , EdgeAdded , BeforeEdgeRemoved , EdgeRemoved , EdgeReconnected , BeforeReset , Reset } |
Public Member Functions | |
| XII_DECLARE_POD_TYPE () | |
Public Attributes | |
| Type | m_Type |
| const xiiGraph * | m_pGraph = nullptr |
| xiiGraphVertexHandle | m_hVertex |
| xiiGraphEdgeHandle | m_hEdge |
| xiiGraphVertexHandle | m_hSource |
| xiiGraphVertexHandle | m_hTarget |
| const xiiGraphHandleMap * | m_pMapping = nullptr |
| Valid only during the synchronous reset notification. Enables property maps to follow compaction. | |
Handlers observe consistent topology. Before-removal handles are valid; after-removal handles are stale. Mutating the emitting graph from a handler or validator is rejected.