Overview     Modules     Class Hierarchy     Classes     Members  

tlp::Controller Class Reference

#include <Controller.h>

Inherited by tlp::ControllerViewsManager.

Inheritance diagram for tlp::Controller:

Inheritance graph
[legend]
Collaboration diagram for tlp::Controller:

Collaboration graph
[legend]
List of all members.

Detailed Description

Tulip controller interface class.

Tulip controller interface class If you want to create a new Controller : implement setData and getData and extend attachMainWindow (see attachMainWindow description)

Signals

Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

virtual tlp::Controller::~Controller  )  [inline, virtual]
 


Member Function Documentation

virtual void tlp::Controller::attachMainWindow MainWindowFacade  facade  )  [virtual]
 

Attach the main window to this controller Extend this function in your controller because attachMainWindow must construct the GUI

Warning:
In new attachMainWindow function call Controller::attachMainWindow(MainWindowFacade) At default when tulip start with only one controller this controller is autoload and attachMainWindow function is call

Reimplemented in tlp::ControllerViewsManager, and tlp::MainController.

virtual void tlp::Controller::getData Graph **  graph,
DataSet *  data
[pure virtual]
 

Get the graph and the dataSet of this controller

Returns:
the graph and the dataSet who will be store in tlp file

Implemented in tlp::MainController.

virtual Graph* tlp::Controller::getGraph  )  [pure virtual]
 

Get the graph of this controller

Returns:
the graph

Implemented in tlp::ControllerViewsManager.

MainWindowFacade* tlp::Controller::getMainWindowFacade  )  [inline]
 

Return MainWindowFacade use with this controller

virtual void tlp::Controller::setData Graph *  graph = 0,
DataSet  dataSet = DataSet()
[pure virtual]
 

Set data of controller graph and dataSet may be empty

Implemented in tlp::MainController.

void tlp::Controller::willBeClosed  )  [signal]
 


Member Data Documentation

MainWindowFacade tlp::Controller::mainWindowFacade [protected]
 



Tulip Software by LaBRI Visualization Team    2001 - 2010