RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Oscilloscope::Panel Class Reference

#include <oscilloscope.h>

Inheritance diagram for Oscilloscope::Panel:
RT::ThreadSettings::ObjectEvent::HandlerRT::List< T >::Node

Public Slots

void timeoutEvent (void)
 
void togglePause (void)
 

Public Member Functions

 Panel (QWidget *=NULL)
 
virtual ~Panel (void)
 
void execute (void)
 
bool setInactiveSync (void)
 
void flushFifo (void)
 
void adjustDataSize (void)
 
void doDeferred (const Settings::Object::State &)
 
void doLoad (const Settings::Object::State &)
 
void doSave (Settings::Object::State &) const
 
void receiveEvent (const ::Event::Object *)
 
- Public Member Functions inherited from RT::Thread
 Thread (Priority p=DefaultPriority)
 
virtual ~Thread (void)
 
Priority getPriority (void) const
 
bool getActive (void) const
 
void setActive (bool)
 
- Public Member Functions inherited from RT::List< T >::Node
 Node (void)
 
virtual ~Node (void)
 
bool operator== (const Node &x) const
 
- Public Member Functions inherited from Settings::Object
 Object (void)
 
virtual ~Object (void)
 
ID getID (void) const
 
State save (void) const
 
void load (const State &)
 
void deferred (const State &)
 
- Public Member Functions inherited from Event::Handler
 Handler (void)
 
virtual ~Handler (void)
 
virtual void receiveEvent (const Object *event)
 

Private Slots

void showChannelTab (void)
 
void showDisplayTab (void)
 
void buildChannelList (void)
 
void screenshot (void)
 
void apply (void)
 
void showTab (int)
 
void activateChannel (bool)
 

Private Member Functions

void applyChannelTab (void)
 
void applyDisplayTab (void)
 
QWidget * createChannelTab (QWidget *parent)
 
QWidget * createDisplayTab (QWidget *parent)
 

Private Attributes

QMdiSubWindow * subWindow
 
QTabWidget * tabWidget
 
ScopescopeWindow
 
QwtPlotCurve * curve
 
QVBoxLayout * layout
 
QWidget * scopeGroup
 
QGroupBox * setBttnGroup
 
QSpinBox * ratesSpin
 
QLineEdit * sizesEdit
 
QButtonGroup * trigsGroup
 
QComboBox * timesList
 
QComboBox * trigsChanList
 
QComboBox * trigsThreshList
 
QSpinBox * refreshsSpin
 
QLineEdit * trigsThreshEdit
 
QLineEdit * trigWindowEdit
 
QComboBox * trigWindowList
 
QComboBox * blocksList
 
QComboBox * typesList
 
QComboBox * channelsList
 
QComboBox * colorsList
 
QComboBox * offsetsList
 
QComboBox * scalesList
 
QComboBox * stylesList
 
QComboBox * widthsList
 
QLineEdit * offsetsEdit
 
QPushButton * pauseButton
 
QPushButton * settingsButton
 
QPushButton * applyButton
 
QPushButton * activateButton
 
Fifo fifo
 
std::vector< IO::Block * > blocks
 
size_t counter
 
size_t downsample_rate
 

Friends

class Scope
 

Additional Inherited Members

- Public Types inherited from RT::Thread
typedef unsigned long Priority
 
- Public Types inherited from Settings::Object
typedef unsigned long ID
 
- Static Public Attributes inherited from RT::Thread
static const Priority MinimumPriority = 0
 
static const Priority MaximumPriority = 100
 
static const Priority DefaultPriority = MaximumPriority/2
 
- Static Public Attributes inherited from Settings::Object
static const ID INVALID = 0
 

Detailed Description

Definition at line 81 of file oscilloscope.h.

Constructor & Destructor Documentation

Oscilloscope::Panel::Panel(QWidget * parent = NULL)

Definition at line 1003 of file oscilloscope.cpp.

Oscilloscope::Panel::~Panel(void )
virtual

Definition at line 1101 of file oscilloscope.cpp.

Member Function Documentation

void Oscilloscope::Panel::activateChannel(bool active)
privateslot

Definition at line 195 of file oscilloscope.cpp.

void Oscilloscope::Panel::adjustDataSize(void )

Definition at line 1197 of file oscilloscope.cpp.

void Oscilloscope::Panel::apply(void )
privateslot

Definition at line 206 of file oscilloscope.cpp.

void Oscilloscope::Panel::applyChannelTab(void )
private

Definition at line 273 of file oscilloscope.cpp.

void Oscilloscope::Panel::applyDisplayTab(void )
private

Definition at line 429 of file oscilloscope.cpp.

void Oscilloscope::Panel::buildChannelList(void )
privateslot

Definition at line 221 of file oscilloscope.cpp.

QWidget * Oscilloscope::Panel::createChannelTab(QWidget * parent)
private

Definition at line 488 of file oscilloscope.cpp.

QWidget * Oscilloscope::Panel::createDisplayTab(QWidget * parent)
private

Definition at line 702 of file oscilloscope.cpp.

void Oscilloscope::Panel::doDeferred(const Settings::Object::States)
virtual

Reimplemented from Settings::Object.

Definition at line 1216 of file oscilloscope.cpp.

void Oscilloscope::Panel::doLoad(const Settings::Object::States)
virtual

Reimplemented from Settings::Object.

Definition at line 1251 of file oscilloscope.cpp.

void Oscilloscope::Panel::doSave(Settings::Object::States)const
virtual

Reimplemented from Settings::Object.

Definition at line 1270 of file oscilloscope.cpp.

void Oscilloscope::Panel::execute(void )
virtual

Function called periodically by the realtime task.

See also
RT::System

Reimplemented from RT::Thread.

Definition at line 1109 of file oscilloscope.cpp.

void Oscilloscope::Panel::flushFifo(void )

Definition at line 1190 of file oscilloscope.cpp.

void Oscilloscope::Panel::receiveEvent(const ::Event::Objectevent)

Definition at line 115 of file oscilloscope.cpp.

void Oscilloscope::Panel::screenshot(void )
privateslot

Definition at line 1170 of file oscilloscope.cpp.

bool Oscilloscope::Panel::setInactiveSync(void )

Definition at line 1181 of file oscilloscope.cpp.

void Oscilloscope::Panel::showChannelTab(void )
privateslot

Definition at line 833 of file oscilloscope.cpp.

void Oscilloscope::Panel::showDisplayTab(void )
privateslot

Definition at line 968 of file oscilloscope.cpp.

void Oscilloscope::Panel::showTab(int index)
privateslot

Definition at line 258 of file oscilloscope.cpp.

void Oscilloscope::Panel::timeoutEvent(void )
slot

Definition at line 1205 of file oscilloscope.cpp.

void Oscilloscope::Panel::togglePause(void )
slot

Definition at line 1176 of file oscilloscope.cpp.

Friends And Related Function Documentation

friend class Scope
friend

Definition at line 86 of file oscilloscope.h.

Member Data Documentation

QPushButton* Oscilloscope::Panel::activateButton
private

Definition at line 166 of file oscilloscope.h.

QPushButton* Oscilloscope::Panel::applyButton
private

Definition at line 165 of file oscilloscope.h.

std::vector<IO::Block *> Oscilloscope::Panel::blocks
private

Definition at line 169 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::blocksList
private

Definition at line 152 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::channelsList
private

Definition at line 154 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::colorsList
private

Definition at line 155 of file oscilloscope.h.

size_t Oscilloscope::Panel::counter
private

Definition at line 170 of file oscilloscope.h.

QwtPlotCurve* Oscilloscope::Panel::curve
private

Definition at line 125 of file oscilloscope.h.

size_t Oscilloscope::Panel::downsample_rate
private

Definition at line 171 of file oscilloscope.h.

Fifo Oscilloscope::Panel::fifo
private

Definition at line 168 of file oscilloscope.h.

QVBoxLayout* Oscilloscope::Panel::layout
private

Definition at line 135 of file oscilloscope.h.

QLineEdit* Oscilloscope::Panel::offsetsEdit
private

Definition at line 160 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::offsetsList
private

Definition at line 156 of file oscilloscope.h.

QPushButton* Oscilloscope::Panel::pauseButton
private

Definition at line 163 of file oscilloscope.h.

QSpinBox* Oscilloscope::Panel::ratesSpin
private

Definition at line 140 of file oscilloscope.h.

QSpinBox* Oscilloscope::Panel::refreshsSpin
private

Definition at line 146 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::scalesList
private

Definition at line 157 of file oscilloscope.h.

QWidget* Oscilloscope::Panel::scopeGroup
private

Definition at line 136 of file oscilloscope.h.

Scope* Oscilloscope::Panel::scopeWindow
private

Definition at line 122 of file oscilloscope.h.

QGroupBox* Oscilloscope::Panel::setBttnGroup
private

Definition at line 137 of file oscilloscope.h.

QPushButton* Oscilloscope::Panel::settingsButton
private

Definition at line 164 of file oscilloscope.h.

QLineEdit* Oscilloscope::Panel::sizesEdit
private

Definition at line 141 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::stylesList
private

Definition at line 158 of file oscilloscope.h.

QMdiSubWindow* Oscilloscope::Panel::subWindow
private

Definition at line 116 of file oscilloscope.h.

QTabWidget* Oscilloscope::Panel::tabWidget
private

Definition at line 119 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::timesList
private

Definition at line 143 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::trigsChanList
private

Definition at line 144 of file oscilloscope.h.

QButtonGroup* Oscilloscope::Panel::trigsGroup
private

Definition at line 142 of file oscilloscope.h.

QLineEdit* Oscilloscope::Panel::trigsThreshEdit
private

Definition at line 147 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::trigsThreshList
private

Definition at line 145 of file oscilloscope.h.

QLineEdit* Oscilloscope::Panel::trigWindowEdit
private

Definition at line 148 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::trigWindowList
private

Definition at line 149 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::typesList
private

Definition at line 153 of file oscilloscope.h.

QComboBox* Oscilloscope::Panel::widthsList
private

Definition at line 159 of file oscilloscope.h.


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