MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Showcase::NodeEvent Class Reference

NodeEvent is an event which is generated by GraphGenerator. More...

#include <Events.hpp>

Public Attributes

GraphNode node
 Target node of the event. More...
 
EdgeId edge
 Edge that led to this node. More...
 
NodeEventType type
 Type of the event. More...
 

Detailed Description

NodeEvent is an event which is generated by GraphGenerator.

The graph topology is defined by NodeEvents for the nodes of the graph.

Member Data Documentation

EdgeId Showcase::NodeEvent::edge

Edge that led to this node.

Undefined in the case of PENDING event. It always holds edge.second == node.id

GraphNode Showcase::NodeEvent::node

Target node of the event.

Undefined in the case of PENDGING event.

NodeEventType Showcase::NodeEvent::type

Type of the event.

See NodeEventType