Overview | Modules | Class Hierarchy | Classes | Members

# Controller.h File Reference

`#include <QtCore/QObject>`
`#include <QtGui/QDockWidget>`
`#include <QtGui/QMainWindow>`
`#include <tulip/Plugin.h>`
`#include <tulip/TulipRelease.h>`
`#include <tulip/TemplateFactory.h>`
`#include <tulip/Vector.h>`
`#include "Interactor.h"`

Include dependency graph for Controller.h:

This graph shows which files directly or indirectly include this file:

## Namespaces

- namespace tlp

## Classes

- class tlp::MainWindowFacade
    Facade of QMainWindow. More...
- class tlp::Controller
    Tulip controller interface class. More...
- class tlp::ControllerContext
- class tlp::ControllerFactory

## Defines

- #define CONTROLLERPLUGINFACTORY(T, C, N, A, D, I, R, G)
- #define CONTROLLERPLUGINOFGROUP(C, N, A, D, I, R, G) CONTROLLERPLUGINFACTORY(Controller,C,N,A,D,I,R,G)
- #define CONTROLLERPLUGIN(C, N, A, D, I, R) CONTROLLERPLUGINOFGROUP(C,N,A,D,I,R,"")

## Define Documentation

#define CONTROLLERPLUGIN | ( | C,
|  | N,
|  | A,
|  | D,
|  | I,
|  | R |  | ) | CONTROLLERPLUGINOFGROUP(C,N,A,D,I,R,"")

#define CONTROLLERPLUGINFACTORY | ( | T,
|  | C,
|  | N,
|  | A,
|  | D,
|  | I,
|  | R,
|  | G |  | ) |

Value:

    class C##T##Factory:public tlp::T##Factory       \
    {                                                \
    public:                                          \
      C##T##Factory(){                         \
        initFactory();                           \
        factory->registerPlugin(this);           \
      }                                  \
      string getName() const { return string(N);}    \
      string getGroup() const { return string(G);}   \
      string getAuthor() const {return string(A);}   \
      string getDate() const {return string(D);}     \
      string getInfo() const {return string(I);}     \
      string getRelease() const {return string(R);}\
      string getTulipRelease() const {return string(TULIP_RELEASE);} \
      tlp::T * createPluginObject(ControllerContext *ic)         \
      {                                  \
        C *tmp = new C();                      \
        return ((tlp::T *) tmp);               \
      }                                  \
    };                                               \
    extern "C" {                                            \
      C##T##Factory C##T##FactoryInitializer;               \
    }

#define CONTROLLERPLUGINOFGROUP | ( | C,
|  | N,
|  | A,
|  | D,
|  | I,
|  | R,
|  | G |  | ) | CONTROLLERPLUGINFACTORY(Controller,C,N,A,D,I,R,G)

Tulip Software by LaBRI Visualization Team 2001 - 2010