---
name: "GWInteractor.h"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/GWInteractor.h"
---

# GWInteractor.h(3tulip)

## NAME

GWInteractor.h -

## SYNOPSIS

`#include <QtCore/qobject.h>`\
 `#include <QtGui/QIcon>`\
 `#include <tulip/Plugin.h>`\
 `#include <tulip/TulipRelease.h>`\
 `#include <tulip/TemplateFactory.h>`\

### Classes

class **tlp::Interactor**\
 *Tulip interactor main class.*  class **tlp::InteractorContext**\
 class **tlp::InteractorFactory**\

### Namespaces

namespace **tlp**\

### Defines

\#define **INTERACTORPLUGINFACTORY**(T, C, N, A, D, I, R, G)\
 \#define **INTERACTORPLUGINOFGROUP**(C, N, A, D, I, R, G)   INTERACTORPLUGINFACTORY(Interactor,C,N,A,D,I,R,G)\
 \#define **INTERACTORPLUGIN**(C, N, A, D, I, R)   INTERACTORPLUGINOFGROUP(C,N,A,D,I,R,'')\

## Define Documentation

### #define INTERACTORPLUGIN(C, N, A, D, I, R) INTERACTORPLUGINOFGROUP(C,N,A,D,I,R,'')

### #define INTERACTORPLUGINFACTORY(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(InteractorContext *ic)           {                                      C *tmp = new C();                          return ((tlp::T *) tmp);                 }                                  };                                               extern 'C' {                                              C##T##Factory C##T##FactoryInitializer;               }
```

### #define INTERACTORPLUGINOFGROUP(C, N, A, D, I, R, G) INTERACTORPLUGINFACTORY(Interactor,C,N,A,D,I,R,G)

## Author

Generated automatically by Doxygen for Tulip QT Library from the source code.
