MNE-CPP  beta 1.0
Public Member Functions | List of all members
NeuromagPlugin::CollectorSocket Class Reference

The CollectorSocket class provides .... More...

#include <collectorsocket.h>

Inheritance diagram for NeuromagPlugin::CollectorSocket:

Public Member Functions

 CollectorSocket (QObject *parent=0)
 
bool open ()
 
bool isMeasuring ()
 
int getMaxBuflen ()
 
int setMaxBuflen (int maxbuflen)
 
bool server_command (const QString &p_sCommand)
 
bool server_login (const QString &p_sCollectorPass, const QString &p_sMyName)
 
bool server_send (QString &p_sDataSend, QByteArray &p_dataOut, int p_iInputFlag=DACQ_DRAIN_INPUT)
 
bool server_start ()
 
bool server_stop ()
 

Detailed Description

The CollectorSocket class provides ....

DECLARE CLASS CollectorSocket

Definition at line 70 of file collectorsocket.h.

Constructor & Destructor Documentation

CollectorSocket::CollectorSocket ( QObject *  parent = 0)

Constructs a acquisition Server.

Definition at line 65 of file collectorsocket.cpp.

Member Function Documentation

int CollectorSocket::getMaxBuflen ( )

Query the current buffer length of the Elekta acquisition system

Returns

Definition at line 122 of file collectorsocket.cpp.

bool NeuromagPlugin::CollectorSocket::isMeasuring ( )
inline

Close the collector connection

Returns

Definition at line 99 of file collectorsocket.h.

bool CollectorSocket::open ( )

Open the collector control connection

Returns

Definition at line 75 of file collectorsocket.cpp.

bool CollectorSocket::server_command ( const QString &  p_sCommand)
Returns

Definition at line 182 of file collectorsocket.cpp.

bool CollectorSocket::server_login ( const QString &  p_sCollectorPass,
const QString &  p_sMyName 
)
Returns

Definition at line 207 of file collectorsocket.cpp.

bool CollectorSocket::server_send ( QString &  p_sDataSend,
QByteArray &  p_dataOut,
int  p_iInputFlag = DACQ_DRAIN_INPUT 
)
Returns

Definition at line 225 of file collectorsocket.cpp.

bool CollectorSocket::server_start ( )
Returns

Definition at line 254 of file collectorsocket.cpp.

bool CollectorSocket::server_stop ( )
Returns

Definition at line 272 of file collectorsocket.cpp.

int CollectorSocket::setMaxBuflen ( int  maxbuflen)

Set the desired maximum buffer length

Returns

Definition at line 164 of file collectorsocket.cpp.


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