Open Ephys GUI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions
ControlPanel Class Reference

Provides general application controls along the top of the MainWindow. More...

#include <ControlPanel.h>

Inheritance diagram for ControlPanel:
AccessClass

List of all members.

Public Member Functions

 ControlPanel (ProcessorGraph *graph, AudioComponent *audio)
 ~ControlPanel ()
void disableCallbacks ()
 Disables the callbacks of the ProcessorGraph (used to drive data acquisition).
AccessClassgetAudioEditor ()
 Returns a pointer to the AudioEditor.
void openState (bool isOpen)
 Sets whether or not the FilenameComponent is visible.
void toggleState ()
 Toggles the visibility of the FilenameComponent.
void setRecordState (bool isRecording)
 Used to manually turn recording on and off.
bool isOpen ()
 Returns a boolean that indicates whether or not the FilenameComponet is visible.
- Public Member Functions inherited from AccessClass
 AccessClass ()
 ~AccessClass ()
void setUIComponent (UIComponent *)
 Sets the object's UIComponent and copies all the necessary pointers from the UIComponent.
EditorViewportgetEditorViewport ()
 Returns a pointer to the application's EditorViewport.
DataViewportgetDataViewport ()
 Returns a pointer to the application's DataViewport.
ProcessorListgetProcessorList ()
 Returns a pointer to the application's ProcessorList.
ProcessorGraphgetProcessorGraph ()
 Returns a pointer to the application's ProcessorGraph.
ControlPanelgetControlPanel ()
 Returns a pointer to the application's DataViewport.
MessageCentergetMessageCenter ()
 Returns a pointer to the application's MessageCenter.
UIComponentgetUIComponent ()
 Returns a pointer to the application's UIComponent.
AudioComponentgetAudioComponent ()
 Returns a pointer to the application's AudioComponent.

Detailed Description

Provides general application controls along the top of the MainWindow.

Displays useful information and provides buttons to control acquistion and recording.

The ControlPanel contains the PlayButton, the RecordButton, the CPUMeter, the DiskSpaceMeter, the Clock, the AudioEditor, and a FilenameComponent for switching the current data directory.

See also:
UIComponent

Constructor & Destructor Documentation

ControlPanel::ControlPanel ( ProcessorGraph graph,
AudioComponent audio 
)
ControlPanel::~ControlPanel ( )

Member Function Documentation

void ControlPanel::disableCallbacks ( )

Disables the callbacks of the ProcessorGraph (used to drive data acquisition).

AccessClass* ControlPanel::getAudioEditor ( )

Returns a pointer to the AudioEditor.

void ControlPanel::openState ( bool  isOpen)

Sets whether or not the FilenameComponent is visible.

void ControlPanel::toggleState ( )

Toggles the visibility of the FilenameComponent.

void ControlPanel::setRecordState ( bool  isRecording)

Used to manually turn recording on and off.

bool ControlPanel::isOpen ( )

Returns a boolean that indicates whether or not the FilenameComponet is visible.


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