Overview | Modules | Class Hierarchy | Classes | Members

# View.h File Reference

`#include <QtGui/QWidget>`
`#include <QtGui/QMainWindow>`
`#include <tulip/Plugin.h>`
`#include <tulip/TulipRelease.h>`
`#include <tulip/TemplateFactory.h>`
`#include <tulip/ObservableGraph.h>`
`#include <tulip/Vector.h>`

Include dependency graph for View.h:

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

## Namespaces

- namespace tlp

## Classes

- class tlp::View
    Tulip view interface class. More...
- class tlp::ViewContext
- class tlp::ViewFactory

## Defines

- #define VIEWPLUGINFACTORY(T, C, N, A, D, I, R, G)
- #define VIEWPLUGINOFGROUP(C, N, A, D, I, R, G) VIEWPLUGINFACTORY(View,C,N,A,D,I,R,G)
- #define VIEWPLUGIN(C, N, A, D, I, R) VIEWPLUGINOFGROUP(C,N,A,D,I,R,"")

## Define Documentation

#define VIEWPLUGIN | ( | C,
|  | N,
|  | A,
|  | D,
|  | I,
|  | R |  | ) | VIEWPLUGINOFGROUP(C,N,A,D,I,R,"")

#define VIEWPLUGINFACTORY | ( | 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);           \
      }                                  \
      std::string getName() const { return std::string(N);}     \
      std::string getGroup() const { return std::string(G);}     \
      std::string getAuthor() const {return std::string(A);}     \
      std::string getDate() const {return std::string(D);}       \
      std::string getInfo() const {return std::string(I);}       \
      std::string getRelease() const {return std::string(R);}\
      std::string getTulipRelease() const {return std::string(TULIP_RELEASE);}    \
      tlp::T * createPluginObject(tlp::ViewContext *)                 \
      {                                  \
          C *tmp = new C();                    \
        return ((tlp::T *) tmp);               \
      }                                  \
    };                                               \
    extern "C" {                                            \
      C##T##Factory C##T##FactoryInitializer;               \
    }

#define VIEWPLUGINOFGROUP | ( | C,
|  | N,
|  | A,
|  | D,
|  | I,
|  | R,
|  | G |  | ) | VIEWPLUGINFACTORY(View,C,N,A,D,I,R,G)

Tulip Software by LaBRI Visualization Team 2001 - 2010