Open Ephys GUI
 All Classes Functions Variables Pages
Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes
ChannelSelector Class Reference
Inheritance diagram for ChannelSelector:
AccessClass

List of all members.

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 inactivateButtons ()
void activateButtons ()
void setRadioStatus (bool)
void paramButtonsToggledByDefault (bool t)
- Public Member Functions inherited from AccessClass
void setUIComponent (UIComponent *)
virtual void updateChildComponents ()
EditorViewportgetEditorViewport ()
DataViewportgetDataViewport ()
ProcessorListgetProcessorList ()
ProcessorGraphgetProcessorGraph ()
ControlPanelgetControlPanel ()
MessageCentergetMessageCenter ()
UIComponentgetUIComponent ()
AudioComponentgetAudioComponent ()

Public Attributes

bool eventsOnly

Private Types

enum  { AUDIO, RECORD, PARAMETER }

Private Member Functions

void resized ()
void addButton ()
void removeButton ()
void refreshButtonBoundaries ()
void timerCallback ()
void paint (Graphics &g)

Private Attributes

EditorButtonaudioButton
EditorButtonrecordButton
EditorButtonparamsButton
EditorButtonallButton
EditorButtonnoneButton
Array< ChannelSelectorButton * > parameterButtons
Array< ChannelSelectorButton * > audioButtons
Array< ChannelSelectorButton * > recordButtons
bool paramsToggled
bool paramsActive
bool radioStatus
bool isNotSink
bool moveRight
bool moveLeft
int offsetLR
int offsetUD
int parameterOffset
int audioOffset
int recordOffset
int desiredOffset
Font & titleFont

Member Function Documentation

Array<int> ChannelSelector::getActiveChannels ( )

Return an array of selected channels.

bool ChannelSelector::getAudioStatus ( int  chan)

Return whether a particular channel should be monitored.

int ChannelSelector::getDesiredWidth ( )

Return component's desired width.

bool ChannelSelector::getRecordStatus ( int  chan)

Return whether a particular channel should be recording.

void ChannelSelector::setActiveChannels ( Array< int >  )

Set the selected channels.

void ChannelSelector::setNumChannels ( int  )

Set the total number of channels.


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