The GUI to control a BaseExperiment subclass. More...

Public Member Functions | |
BaseExperimentGUI (BaseExperiment *experiment, QWidget *parent=NULL, Qt::WindowFlags flags=0) | |
Constructor. | |
virtual | ~BaseExperimentGUI () |
Destructor. | |
virtual bool | event (QEvent *e) |
Receives events. | |
![]() | |
DataUploaderDownloader (unsigned int uploadQueueSize, FullQueueBehavior fullQueueBehavior, NewDatumAvailableBehavior newDatumAvailableBehavior, DataUploaderDownloader< DownloadedData, UploadedData > *other=NULL) | |
DataUploaderDownloader (unsigned int uploadQueueSize, FullQueueBehavior fullQueueBehavior, QObject *o, DataUploaderDownloader< DownloadedData, UploadedData > *other=NULL) | |
DataUploaderDownloader (unsigned int uploadQueueSize, FullQueueBehavior fullQueueBehavior, NewDatumNotifiable< DownloadedData > *o, DataUploaderDownloader< DownloadedData, UploadedData > *other=NULL) | |
bool | associationBeforeUploadChecked () const |
void | checkAssociationBeforeUpload (bool v) |
DataType * | createDatum () |
DataDownloader (NewDatumAvailableBehavior b, DataUploader< DataType > *uploader=NULL) | |
DataDownloader (QObject *o, DataUploader< DataType > *uploader=NULL) | |
DataDownloader (NewDatumNotifiable< DataType > *o, DataUploader< DataType > *uploader=NULL) | |
DataUploader (unsigned int queueSize, FullQueueBehavior b, DataDownloader< DataType > *downloader=NULL) | |
bool | datumCreatedNotUploaded () const |
const DataType * | downloadDatum () |
unsigned int | getAvailableSpace () const |
const DataDownloader< DataType > * | getDownloader () const |
FullQueueBehavior | getFullQueueBehavior () const |
NewDatumAvailableBehavior | getNewDatumAvailableBehavior () const |
unsigned int | getNumAvailableData () const |
unsigned int | getNumDataInQueue () const |
unsigned int | getQueueSize () const |
const DataUploader< DataType > * | getUploader () const |
void | uploadDatum () |
![]() | |
DataUploader (unsigned int queueSize, FullQueueBehavior b, DataDownloader< DataType > *downloader=NULL) |
Additional Inherited Members | |
![]() | |
typedef UploadedData_t | DataType |
typedef DownloadedData_t | DataType |
typedef farsa::DatumToUpload < DataType > | DatumToUpload |
typedef DownloadedData_t | DownloadedData |
enum | FullQueueBehavior |
typedef DataUploader < UploadedData > ::FullQueueBehavior | FullQueueBehavior |
typedef DataDownloader < DownloadedData > ::NewDatumAvailableBehavior | NewDatumAvailableBehavior |
enum | NewDatumAvailableBehavior |
typedef UploadedData_t | UploadedData |
![]() | |
BlockUploader | |
IncreaseQueueSize | |
OverrideOlder | |
SignalUploader | |
![]() | |
Callback | |
NoNotification | |
NoNotificationBlocking | |
QtEvent |
Detailed Description
The GUI to control a BaseExperiment subclass.
This is a GUI to control a BaseExperiment subclass. It lists all the actions (those also present by default in the Actions menu), gives some information on them (whether they are immediate operations, threaded or threaded steppable), allows to start/stop them and gives control over steppable threaded operations (pause, step, delay between steps)
Definition at line 47 of file baseexperimentgui.h.
Constructor & Destructor Documentation
BaseExperimentGUI | ( | BaseExperiment * | experiment, |
QWidget * | parent = NULL , |
||
Qt::WindowFlags | flags = 0 |
||
) |
Constructor.
- Parameters
-
experiment the experiment parent the parent widget flags window flags
Definition at line 30 of file baseexperimentgui.cpp.
References BaseExperiment::currentInterval().
|
virtual |
Destructor.
Definition at line 139 of file baseexperimentgui.cpp.
Member Function Documentation
|
virtual |
Receives events.
This only processes the NewProductEvent<__BaseExperiment_internal::OperationStatus>
- Parameters
-
e the event to processes
- Returns
- true if the event has been recognized and processed
Definition at line 144 of file baseexperimentgui.cpp.
References OperationStatus::delay, DataUploaderDownloader< __BaseExperiment_internal::OperationControl, __BaseExperiment_internal::OperationStatus >::downloadDatum(), OperationStatus::NewOperation, OperationStatus::OperationEnded, OperationStatus::operationID, OperationStatus::OperationPaused, OperationStatus::OperationResumed, OperationStatus::OperationStarted, OperationStatus::OperationStepDelayChanged, and OperationStatus::status.
The documentation for this class was generated from the following files:
- experiments/include/baseexperimentgui.h
- experiments/src/baseexperimentgui.cpp