MNE-CPP  beta 1.0
plugininputconnector.h
1 //=============================================================================================================
35 #ifndef PLUGININPUTCONNECTOR_H
36 #define PLUGININPUTCONNECTOR_H
37 
38 //*************************************************************************************************************
39 //=============================================================================================================
40 // INCLUDES
41 //=============================================================================================================
42 
43 #include "../mne_x_global.h"
44 
45 #include "pluginconnector.h"
46 
47 #include <xMeas/newmeasurement.h>
48 
49 
50 //*************************************************************************************************************
51 //=============================================================================================================
52 // Qt INCLUDES
53 //=============================================================================================================
54 
55 #include <QSharedPointer>
56 
57 
58 //*************************************************************************************************************
59 //=============================================================================================================
60 // DEFINE NAMESPACE MNEX
61 //=============================================================================================================
62 
63 namespace MNEX
64 {
65 
66 //=============================================================================================================
73 {
74  Q_OBJECT
75 public:
76  typedef QSharedPointer<PluginInputConnector> SPtr;
77  typedef QSharedPointer<const PluginInputConnector> ConstSPtr;
79  //=========================================================================================================
87  PluginInputConnector(IPlugin *parent, const QString &name, const QString &descr);
88 
89  //=========================================================================================================
94 
95  //=========================================================================================================
101  virtual bool isInputConnector() const;
102 
103  //=========================================================================================================
109  virtual bool isOutputConnector() const;
110 
111 
112 signals:
113  void notify(XMEASLIB::NewMeasurement::SPtr pMeasurement);
114 
115 public slots:
116  void update(XMEASLIB::NewMeasurement::SPtr pMeasurement);
117 
118 
119 
120 };
121 
122 } // NAMESPACE
123 
124 #endif // PLUGININPUTCONNECTOR_H
Contains the declaration of the NewMeasurement class.
The IPlugin class is the base interface class of all plugins.
Definition: IPlugin.h:92
#define MNE_X_SHARED_EXPORT
Definition: mne_x_global.h:55
QSharedPointer< const PluginInputConnector > ConstSPtr
The PluginConnector class provides the base to connect plug-in data.
Definition: arrow.h:75
QSharedPointer< NewMeasurement > SPtr
QSharedPointer< PluginInputConnector > SPtr
Contains the declaration of the PluginConnector class.
The PluginConnector class provides the base to connect plug-in data.