MNE-CPP  beta 1.0
Signals | Public Member Functions | Protected Member Functions | Friends | List of all members
TriggerControlPlugin::TriggerControl Class Reference

The TriggerControl is a MNE-X plugin which contains an intuitive terminal for manual configurations of output channels and an automated processing of connected signal channels. More...

#include <triggercontrol.h>

Inheritance diagram for TriggerControlPlugin::TriggerControl:
MNEX::IAlgorithm MNEX::IPlugin

Signals

void sendByte (int value, int channel)
 

Public Member Functions

 TriggerControl ()
 
 ~TriggerControl ()
 
virtual void init ()
 
virtual void unload ()
 
virtual QSharedPointer< IPluginclone () const
 
virtual bool start ()
 
virtual bool stop ()
 
virtual IPlugin::PluginType getType () const
 
virtual QString getName () const
 
virtual QWidget * setupWidget ()
 
void updateSingleChannel (XMEASLIB::NewMeasurement::SPtr pMeasurement)
 
void update (XMEASLIB::NewMeasurement::SPtr pMeasurement)
 
void byteReceived ()
 
- Public Member Functions inherited from MNEX::IAlgorithm
virtual ~IAlgorithm ()
 
virtual bool multiInstanceAllowed () const
 
- Public Member Functions inherited from MNEX::IPlugin
virtual ~IPlugin ()
 
QList< QAction * > getPluginActions ()
 
InputConnectorListgetInputConnectors ()
 
OutputConnectorListgetOutputConnectors ()
 

Protected Member Functions

virtual void run ()
 
void sendByteTo (int value, int channel)
 
- Protected Member Functions inherited from MNEX::IPlugin
void addPluginAction (QAction *pAction)
 

Friends

class SettingsWidget
 

Additional Inherited Members

- Public Types inherited from MNEX::IAlgorithm
typedef QSharedPointer< IAlgorithmSPtr
 
typedef QSharedPointer< const IAlgorithmConstSPtr
 
- Public Types inherited from MNEX::IPlugin
enum  PluginType { _ISensor, _IAlgorithm, _IIO, _PluginSet }
 
typedef QSharedPointer< IPluginSPtr
 
typedef QSharedPointer< const IPluginConstSPtr
 
typedef QVector< QSharedPointer< PluginInputConnector > > InputConnectorList
 
typedef QVector< QSharedPointer< PluginOutputConnector > > OutputConnectorList
 
- Protected Attributes inherited from MNEX::IPlugin
InputConnectorList m_inputConnectors
 
OutputConnectorList m_outputConnectors
 

Detailed Description

The TriggerControl is a MNE-X plugin which contains an intuitive terminal for manual configurations of output channels and an automated processing of connected signal channels.

DECLARE CLASS TriggerControl

Definition at line 101 of file triggercontrol.h.

Constructor & Destructor Documentation

TriggerControl::TriggerControl ( )

Constructs a TriggerControl.

Definition at line 86 of file triggercontrol.cpp.

TriggerControl::~TriggerControl ( )

Destroys the TriggerControl.

Definition at line 116 of file triggercontrol.cpp.

Member Function Documentation

void TriggerControl::byteReceived ( )

Initialise input and output connectors.

Definition at line 704 of file triggercontrol.cpp.

QSharedPointer< IPlugin > TriggerControl::clone ( ) const
virtual

Clone the plugin

Implements MNEX::IAlgorithm.

Definition at line 125 of file triggercontrol.cpp.

QString TriggerControl::getName ( ) const
virtual

[...]

Implements MNEX::IAlgorithm.

Definition at line 296 of file triggercontrol.cpp.

IPlugin::PluginType TriggerControl::getType ( ) const
virtual

[...]

Implements MNEX::IAlgorithm.

Definition at line 288 of file triggercontrol.cpp.

void TriggerControl::init ( )
virtual

Initialise input and output connectors.

Implements MNEX::IAlgorithm.

Definition at line 137 of file triggercontrol.cpp.

void TriggerControl::run ( )
protectedvirtual

Runs the run method

Implements MNEX::IAlgorithm.

Definition at line 366 of file triggercontrol.cpp.

void TriggerControl::sendByteTo ( int  value,
int  channel 
)
protected

Sets or Unsets the HardWired channel from the terminal function (see manual)

Definition at line 684 of file triggercontrol.cpp.

QWidget * TriggerControl::setupWidget ( )
virtual

[...]

Implements MNEX::IAlgorithm.

Definition at line 304 of file triggercontrol.cpp.

bool TriggerControl::start ( )
virtual

Starts the TriggerControl by starting the triggercontrol's thread.

Implements MNEX::IAlgorithm.

Definition at line 175 of file triggercontrol.cpp.

bool TriggerControl::stop ( )
virtual

Stops the TriggerControl by starting the triggercontrol's thread.

Implements MNEX::IAlgorithm.

Definition at line 234 of file triggercontrol.cpp.

void TriggerControl::unload ( )
virtual

Is called when plugin is detached of the stage. Can be used to safe settings.

Implements MNEX::IAlgorithm.

Definition at line 167 of file triggercontrol.cpp.

void TriggerControl::update ( XMEASLIB::NewMeasurement::SPtr  pMeasurement)

[...]

  • Beginn Zeitmessung

Definition at line 331 of file triggercontrol.cpp.

void TriggerControl::updateSingleChannel ( XMEASLIB::NewMeasurement::SPtr  pMeasurement)

[...]

Definition at line 315 of file triggercontrol.cpp.


The documentation for this class was generated from the following files: