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

Holds a list of processors that can be used to build the signal chain. More...

#include <ProcessorList.h>

Inheritance diagram for ProcessorList:
OpenGLCanvas AccessClass

List of all members.

Public Member Functions

 ProcessorList ()
 ~ProcessorList ()
void newOpenGLContextCreated ()
 Initializes an OpenGL context for drawing.
void renderOpenGL ()
 Draws the ProcessorList.
void toggleState ()
 Switches the open/closed state of the ProcessorList.
void changeListenerCallback (ChangeBroadcaster *source)
 Called when the user requests a colour change using a ColourSelector.
bool isOpen ()
 Returns the open/closed state of the ProcessorList.
- Public Member Functions inherited from OpenGLCanvas
 OpenGLCanvas ()
 ~OpenGLCanvas ()
void setUp2DCanvas ()
void activateAntiAliasing ()
virtual void refreshState ()
void resized ()
virtual void canvasWasResized ()
void mouseDown (const MouseEvent &e)
void mouseDrag (const MouseEvent &e)
void mouseMove (const MouseEvent &e)
void mouseUp (const MouseEvent &e)
void mouseWheelMove (const MouseEvent &, float, float)
virtual void mouseMoveInCanvas (const MouseEvent &e)
virtual void mouseUpInCanvas (const MouseEvent &e)
virtual void mouseWheelMoveInCanvas (const MouseEvent &, float, float)
void startCallbacks ()
void stopCallbacks ()
int getScrollAmount ()
int getScrollBarWidth ()
void drawScrollBars ()
void drawRoundedRect (float x, float y, float w, float h, float r, int n)
FTGLPixmapFont * getFont (int fontCode)
virtual int getHeaderHeight ()
virtual int getFooterHeight ()
void setClearColor (int colorCode)
- 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.

Additional Inherited Members

- Public Types inherited from OpenGLCanvas
enum  colorCodes { white, black, lightgrey, darkgrey }
enum  fontCodes {
  miso_regular = 0, miso_bold = 1, miso_light = 2, bebas_neue = 3,
  ostrich = 4, cpmono_extra_light = 5, cpmono_light = 6, cpmono_plain = 7,
  cpmono_bold = 8, nordic = 9, silkscreen = 10
}
- Protected Member Functions inherited from OpenGLCanvas
void showScrollBars ()
- Protected Attributes inherited from OpenGLCanvas
int scrollPix
bool animationIsActive
int refreshMs

Detailed Description

Holds a list of processors that can be used to build the signal chain.

The signal chain is created by dragging names of processors from the ProcessorList and dropping them in the appropriate order on the EditorViewport.

The ProcessorList be manually updated every time a new processor is created, and the names must match those recognized by the ProcessorGraph.

The ProcessorList is rendered using OpenGL and the FTGL font library.

See also:
EditorViewport, ProcessorGraph

Constructor & Destructor Documentation

ProcessorList::ProcessorList ( )
ProcessorList::~ProcessorList ( )

Member Function Documentation

void ProcessorList::newOpenGLContextCreated ( )

Initializes an OpenGL context for drawing.

void ProcessorList::renderOpenGL ( )

Draws the ProcessorList.

void ProcessorList::toggleState ( )

Switches the open/closed state of the ProcessorList.

void ProcessorList::changeListenerCallback ( ChangeBroadcaster *  source)

Called when the user requests a colour change using a ColourSelector.

bool ProcessorList::isOpen ( )

Returns the open/closed state of the ProcessorList.


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