Open Ephys GUI
 All Classes Functions Variables
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)
 ~ChannelSelector ()
void buttonClicked (Button *button)
Array< int > getActiveChannels ()
void setActiveChannels (Array< int >)
void setNumChannels (int)
bool getRecordStatus (int chan)
bool getAudioStatus (int chan)
int getDesiredWidth ()
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

Constructor & Destructor Documentation

ChannelSelector::ChannelSelector ( bool  createButtons,
Font &  titleFont 
)

constructor

ChannelSelector::~ChannelSelector ( )

destructor


Member Function Documentation

void ChannelSelector::buttonClicked ( Button *  button)

button callback

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: