graph_analysis
Signals | Public Member Functions | List of all members
graph_analysis::gui::QBaseGraph Class Reference

This class converts the callback based interface to the base graph into a Qt signal It implements a virtual interface class BaseGraphObserver and registers it to a given or created BaseGraph NOTE: It might be beneficial to add slots which map to the underlying BaseGraph interface. More...

#include <QBaseGraph.hpp>

Inheritance diagram for graph_analysis::gui::QBaseGraph:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::gui::QBaseGraph:
Collaboration graph
[legend]

Signals

void graphChanged ()
 

Public Member Functions

 QBaseGraph (QObject *parent=NULL)
 
 QBaseGraph (graph_analysis::BaseGraph::Ptr graph, QObject *parent=NULL)
 
 ~QBaseGraph ()
 
virtual QString getClassName () const
 
graph_analysis::BaseGraph::Ptr getBaseGraph () const
 
- Public Member Functions inherited from graph_analysis::BaseGraphObserver
virtual ~BaseGraphObserver ()
 
virtual void notify (const TransactionType &event, const GraphId &origin)
 

Additional Inherited Members

- Public Types inherited from graph_analysis::BaseGraphObserver
typedef shared_ptr< BaseGraphObserver > Ptr
 

Detailed Description

This class converts the callback based interface to the base graph into a Qt signal It implements a virtual interface class BaseGraphObserver and registers it to a given or created BaseGraph NOTE: It might be beneficial to add slots which map to the underlying BaseGraph interface.

Constructor & Destructor Documentation

◆ QBaseGraph() [1/2]

graph_analysis::gui::QBaseGraph::QBaseGraph ( QObject *  parent = NULL)

◆ QBaseGraph() [2/2]

graph_analysis::gui::QBaseGraph::QBaseGraph ( graph_analysis::BaseGraph::Ptr  graph,
QObject *  parent = NULL 
)

◆ ~QBaseGraph()

graph_analysis::gui::QBaseGraph::~QBaseGraph ( )

Member Function Documentation

◆ getBaseGraph()

graph_analysis::BaseGraph::Ptr graph_analysis::gui::QBaseGraph::getBaseGraph ( ) const
inline

◆ getClassName()

virtual QString graph_analysis::gui::QBaseGraph::getClassName ( ) const
inlinevirtual

◆ graphChanged

void graph_analysis::gui::QBaseGraph::graphChanged ( )
signal

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