Automatically creates an interactive editor for selecting channels. More...
#include <ChannelSelector.h>
Public Member Functions | |
ChannelSelector (bool createButtons, Font &titleFont) | |
constructor | |
~ChannelSelector () | |
destructor | |
void | buttonClicked (Button *button) |
button callback | |
Array< int > | getActiveChannels () |
Return an array of selected channels. | |
void | setActiveChannels (Array< int >) |
Set the selected channels. | |
void | setNumChannels (int) |
Set the total number of channels. | |
bool | getRecordStatus (int chan) |
Return whether a particular channel should be recording. | |
bool | getAudioStatus (int chan) |
Return whether a particular channel should be monitored. | |
int | getDesiredWidth () |
Return component's desired width. | |
void | startAcquisition () |
void | stopAcquisition () |
void | inactivateButtons () |
void | activateButtons () |
void | setRadioStatus (bool) |
void | paramButtonsToggledByDefault (bool t) |
![]() | |
AccessClass () | |
~AccessClass () | |
void | setUIComponent (UIComponent *) |
Sets the object's UIComponent and copies all the necessary pointers from the UIComponent. | |
virtual void | updateChildComponents () |
Called within setUIComponent() to enable subclasses to update their members' pointers. | |
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. |
Public Attributes | |
bool | eventsOnly |
Automatically creates an interactive editor for selecting channels.
ChannelSelector::ChannelSelector | ( | bool | createButtons, |
Font & | titleFont | ||
) |
constructor
ChannelSelector::~ChannelSelector | ( | ) |
destructor
void ChannelSelector::buttonClicked | ( | Button * | button | ) |
button callback
Array<int> ChannelSelector::getActiveChannels | ( | ) |
Return an array of selected channels.
void ChannelSelector::setActiveChannels | ( | Array< int > | ) |
Set the selected channels.
void ChannelSelector::setNumChannels | ( | int | ) |
Set the total number of channels.
bool ChannelSelector::getRecordStatus | ( | int | chan | ) |
Return whether a particular channel should be recording.
bool ChannelSelector::getAudioStatus | ( | int | chan | ) |
Return whether a particular channel should be monitored.
int ChannelSelector::getDesiredWidth | ( | ) |
Return component's desired width.
void ChannelSelector::startAcquisition | ( | ) |
void ChannelSelector::stopAcquisition | ( | ) |
void ChannelSelector::inactivateButtons | ( | ) |
void ChannelSelector::activateButtons | ( | ) |
void ChannelSelector::setRadioStatus | ( | bool | ) |
void ChannelSelector::paramButtonsToggledByDefault | ( | bool | t | ) |
bool ChannelSelector::eventsOnly |