Provides general application controls along the top of the MainWindow. More...
#include <ControlPanel.h>
Public Member Functions | |
ControlPanel (ProcessorGraph *graph, AudioComponent *audio) | |
~ControlPanel () | |
void | disableCallbacks () |
Disables the callbacks of the ProcessorGraph (used to drive data acquisition). | |
AccessClass * | getAudioEditor () |
Returns a pointer to the AudioEditor. | |
void | openState (bool) |
Sets whether or not the FilenameComponent is visible. | |
void | toggleState () |
Toggles the visibility of the FilenameComponent. | |
void | setRecordState (bool t) |
Used to manually turn recording on and off. | |
bool | isOpen () |
Returns a boolean that indicates whether or not the FilenameComponet is visible. | |
![]() | |
AccessClass () | |
~AccessClass () | |
void | setUIComponent (UIComponent *) |
Sets the object's UIComponent and copies all the necessary pointers from the UIComponent. | |
EditorViewport * | getEditorViewport () |
Returns a pointer to the application's EditorViewport. | |
DataViewport * | getDataViewport () |
Returns a pointer to the application's DataViewport. | |
ProcessorList * | getProcessorList () |
Returns a pointer to the application's ProcessorList. | |
ProcessorGraph * | getProcessorGraph () |
Returns a pointer to the application's ProcessorGraph. | |
ControlPanel * | getControlPanel () |
Returns a pointer to the application's DataViewport. | |
MessageCenter * | getMessageCenter () |
Returns a pointer to the application's MessageCenter. | |
UIComponent * | getUIComponent () |
Returns a pointer to the application's UIComponent. | |
AudioComponent * | getAudioComponent () |
Returns a pointer to the application's AudioComponent. |
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.
ControlPanel::ControlPanel | ( | ProcessorGraph * | graph, |
AudioComponent * | audio | ||
) |
ControlPanel::~ControlPanel | ( | ) |
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 | ) |
Sets whether or not the FilenameComponent is visible.
void ControlPanel::toggleState | ( | ) |
Toggles the visibility of the FilenameComponent.
void ControlPanel::setRecordState | ( | bool | t | ) |
Used to manually turn recording on and off.
bool ControlPanel::isOpen | ( | ) |
Returns a boolean that indicates whether or not the FilenameComponet is visible.