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

Displays the amount of disk space left in the current data directory. More...

#include <ControlPanel.h>

List of all members.

Public Member Functions

 DiskSpaceMeter ()
 ~DiskSpaceMeter ()
void updateDiskSpace (float percent)
 Updates the free disk space displayed by the DiskSpaceMeter.
void paint (Graphics &g)
 Draws the DiskSpaceMeter.

Detailed Description

Displays the amount of disk space left in the current data directory.

The DiskSpaceMeter is located in the ControlPanel. When the GUI is launched (or the data directory is changed), a built-in JUCE method is used to find the amount of free space.

Note that the DiskSpaceMeter currently displays only relative, not absolute disk space.

See also:
ControlPanel

Constructor & Destructor Documentation

DiskSpaceMeter::DiskSpaceMeter ( )
DiskSpaceMeter::~DiskSpaceMeter ( )

Member Function Documentation

void DiskSpaceMeter::updateDiskSpace ( float  percent)

Updates the free disk space displayed by the DiskSpaceMeter.

Called by the ControlPanel.

void DiskSpaceMeter::paint ( Graphics &  g)

Draws the DiskSpaceMeter.


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