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

Automatically creates an interactive editor for selecting channels. More...

#include <ChannelSelector.h>

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 startAcquisition ()
 Called prior to the start of data acquisition.
void stopAcquisition ()
 Called immediately after data acquisition ends.
void inactivateButtons ()
 Inactivates all the ChannelSelectorButtons under the "param" tab.
void activateButtons ()
 Activates all the ChannelSelectorButtons under the "param" tab.
void setRadioStatus (bool)
 
Controls the behavior of ChannelSelectorButtons; they can either behave

like radio buttons (only one selected at a time) or like toggle buttons (an arbitrary number can be selected at once).

void paramButtonsToggledByDefault (bool t)
- 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.
virtual void updateChildComponents ()
 Called within setUIComponent() to enable subclasses to update their members' pointers.
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.

Public Attributes

bool eventsOnly

Detailed Description

Automatically creates an interactive editor for selecting channels.

Contains tabs for "Params", "Audio", and "Record", which allow channels to be selected for different purposes.

See also:
GenericEditor

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.

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 ( )

Called prior to the start of data acquisition.

void ChannelSelector::stopAcquisition ( )

Called immediately after data acquisition ends.

void ChannelSelector::inactivateButtons ( )

Inactivates all the ChannelSelectorButtons under the "param" tab.

void ChannelSelector::activateButtons ( )

Activates all the ChannelSelectorButtons under the "param" tab.

void ChannelSelector::setRadioStatus ( bool  )

Controls the behavior of ChannelSelectorButtons; they can either behave

like radio buttons (only one selected at a time) or like toggle buttons (an arbitrary number can be selected at once).

void ChannelSelector::paramButtonsToggledByDefault ( bool  t)

Member Data Documentation

bool ChannelSelector::eventsOnly

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