MNE-CPP  beta 1.0
pluginoutputconnector.h
Go to the documentation of this file.
1 //=============================================================================================================
35 #ifndef PLUGINOUTPUTCONNECTOR_H
36 #define PLUGINOUTPUTCONNECTOR_H
37 
38 //*************************************************************************************************************
39 //=============================================================================================================
40 // INCLUDES
41 //=============================================================================================================
42 
43 #include "../mne_x_global.h"
44 
45 #include "pluginconnector.h"
46 #include <xMeas/newmeasurement.h>
47 
48 
49 //*************************************************************************************************************
50 //=============================================================================================================
51 // DEFINE NAMESPACE MNEX
52 //=============================================================================================================
53 
54 namespace MNEX
55 {
56 
57 //=============================================================================================================
64 {
65  Q_OBJECT
66 public:
67  typedef QSharedPointer<PluginOutputConnector> SPtr;
68  typedef QSharedPointer<const PluginOutputConnector> ConstSPtr;
70  //=========================================================================================================
78  PluginOutputConnector(IPlugin *parent, const QString &name, const QString &descr);
79 
80  //=========================================================================================================
85 
86  //=========================================================================================================
92  virtual bool isInputConnector() const;
93 
94  //=========================================================================================================
100  virtual bool isOutputConnector() const;
101 
102 signals:
103  void notify(XMEASLIB::NewMeasurement::SPtr);
104 
105 };
106 
107 } // NAMESPACE
108 
109 #endif // PLUGINOUTPUTCONNECTOR_H
Contains the declaration of the NewMeasurement class.
The IPlugin class is the base interface class of all plugins.
Definition: IPlugin.h:92
The PluginConnector class provides the base to connect plug-in data.
QSharedPointer< PluginOutputConnector > SPtr
QSharedPointer< const PluginOutputConnector > ConstSPtr
#define MNE_X_SHARED_EXPORT
Definition: mne_x_global.h:55
Definition: arrow.h:75
QSharedPointer< NewMeasurement > SPtr
Contains the declaration of the PluginConnector class.
The PluginConnector class provides the base to connect plug-in data.