Loading...
Searching...
No Matches
VdfNetwork::EditMonitor Class Referenceabstract

An abstract class to monitor network edit operations. More...

#include <network.h>

Public Member Functions

virtual void WillClear ()=0
 Will be called before a network is to be cleared out.
 
virtual void DidConnect (const VdfConnection *connection)=0
 Will be called after a connection has been made.
 
virtual void DidAddNode (const VdfNode *node)=0
 Will be called after a node has been added to the network.
 
virtual void WillDelete (const VdfNode *node)=0
 Will be called before node is deleted.
 
virtual void WillDelete (const VdfConnection *connection)=0
 Will be called before a connection is deleted.
 

Detailed Description

An abstract class to monitor network edit operations.

Note that "will" notification is sent before any edits are made. "Did" notification is sent after the edit operation is completed.

Definition at line 138 of file network.h.

Member Function Documentation

◆ DidAddNode()

virtual void DidAddNode ( const VdfNode node)
pure virtual

Will be called after a node has been added to the network.

◆ DidConnect()

virtual void DidConnect ( const VdfConnection connection)
pure virtual

Will be called after a connection has been made.

◆ WillClear()

virtual void WillClear ( )
pure virtual

Will be called before a network is to be cleared out.

When clearing out a network all nodes and connections will be deleted. Note that we don't sent notices for them during the clear operation.

◆ WillDelete() [1/2]

virtual void WillDelete ( const VdfConnection connection)
pure virtual

Will be called before a connection is deleted.

◆ WillDelete() [2/2]

virtual void WillDelete ( const VdfNode node)
pure virtual

Will be called before node is deleted.


The documentation for this class was generated from the following file: