RTXI  2.4
The Real-Time eXperiment Interface Documentation
Data Structures | Public Types | Public Member Functions | Data Fields | Protected Member Functions | Friends
Scope Class Reference

#include <scope.h>

Inheritance diagram for Scope:
Inheritance graph
Collaboration diagram for Scope:
Collaboration graph

Data Structures

class  Canvas
 
class  Channel
 
class  LegendItem
 

Public Types

enum  trig_t { NONE, POS, NEG }
 

Public Member Functions

 Scope (QWidget *=NULL)
 
virtual ~Scope (void)
 
bool paused (void) const
 
std::list< Channel >::iterator insertChannel (QString, double, double, const QPen &, QwtPlotCurve *, void *)
 
void * removeChannel (std::list< Channel >::iterator)
 
size_t getChannelCount (void) const
 
std::list< Channel >::iterator getChannelsBegin (void)
 
std::list< Channel >::iterator getChannelsEnd (void)
 
std::list< Channel >::const_iterator getChannelsBegin (void) const
 
std::list< Channel >::const_iterator getChannelsEnd (void) const
 
void clearData (void)
 
void setData (double *, size_t)
 
size_t getDataSize (void) const
 
void setDataSize (size_t)
 
trig_t getTriggerDirection (void)
 
double getTriggerThreshold (void)
 
double getTriggerWindow (void)
 
std::list< Channel >::iterator getTriggerChannel (void)
 
void setTrigger (trig_t, double, std::list< Channel >::iterator, double)
 
double getDivT (void) const
 
void setDivT (double)
 
void setPeriod (double)
 
size_t getDivX (void) const
 
size_t getDivY (void) const
 
size_t getRefresh (void) const
 
void setRefresh (size_t)
 
void setChannelScale (std::list< Channel >::iterator, double)
 
void setChannelOffset (std::list< Channel >::iterator, double)
 
void setChannelPen (std::list< Channel >::iterator, const QPen &)
 
void setChannelLabel (std::list< Channel >::iterator, const QString &)
 

Data Fields

bool isPaused
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 

Friends

class Panel
 

Detailed Description

Definition at line 52 of file scope.h.

Member Enumeration Documentation

◆ trig_t

Enumerator
NONE 
POS 
NEG 

Definition at line 136 of file scope.h.

Constructor & Destructor Documentation

◆ Scope()

Scope::Scope(QWidget * parent = NULL)

Definition at line 74 of file scope.cpp.

◆ ~Scope()

Scope::~Scope(void )
virtual

Definition at line 158 of file scope.cpp.

Member Function Documentation

◆ clearData()

void Scope::clearData(void )

Definition at line 242 of file scope.cpp.

◆ getChannelCount()

size_t Scope::getChannelCount(void )const

Definition at line 212 of file scope.cpp.

◆ getChannelsBegin() [1/2]

std::list< Scope::Channel >::iterator Scope::getChannelsBegin(void )

Definition at line 218 of file scope.cpp.

◆ getChannelsBegin() [2/2]

std::list< Scope::Channel >::const_iterator Scope::getChannelsBegin(void )const

Definition at line 230 of file scope.cpp.

◆ getChannelsEnd() [1/2]

std::list< Scope::Channel >::iterator Scope::getChannelsEnd(void )

Definition at line 224 of file scope.cpp.

◆ getChannelsEnd() [2/2]

std::list< Scope::Channel >::const_iterator Scope::getChannelsEnd(void )const

Definition at line 236 of file scope.cpp.

◆ getDataSize()

size_t Scope::getDataSize(void )const

Definition at line 286 of file scope.cpp.

◆ getDivT()

double Scope::getDivT(void )const

Definition at line 347 of file scope.cpp.

◆ getDivX()

size_t Scope::getDivX(void )const

Definition at line 373 of file scope.cpp.

◆ getDivY()

size_t Scope::getDivY(void )const

Definition at line 379 of file scope.cpp.

◆ getRefresh()

size_t Scope::getRefresh(void )const

Definition at line 385 of file scope.cpp.

◆ getTriggerChannel()

std::list< Scope::Channel >::iterator Scope::getTriggerChannel(void )

Definition at line 315 of file scope.cpp.

◆ getTriggerDirection()

Scope::trig_t Scope::getTriggerDirection(void )

Definition at line 300 of file scope.cpp.

◆ getTriggerThreshold()

double Scope::getTriggerThreshold(void )

Definition at line 305 of file scope.cpp.

◆ getTriggerWindow()

double Scope::getTriggerWindow(void )

Definition at line 310 of file scope.cpp.

◆ insertChannel()

std::list< Scope::Channel >::iterator Scope::insertChannel(QString label,
double scale,
double offset,
const QPen & pen,
QwtPlotCurve * curve,
void * info 
)

Definition at line 177 of file scope.cpp.

◆ paused()

bool Scope::paused(void )const

Definition at line 164 of file scope.cpp.

◆ removeChannel()

void * Scope::removeChannel(std::list< Channel >::iterator channel)

Definition at line 195 of file scope.cpp.

◆ resizeEvent()

void Scope::resizeEvent(QResizeEvent * event)
protected

Definition at line 205 of file scope.cpp.

◆ setChannelLabel()

void Scope::setChannelLabel(std::list< Channel >::iterator channel,
const QString & label 
)

Definition at line 416 of file scope.cpp.

◆ setChannelOffset()

void Scope::setChannelOffset(std::list< Channel >::iterator channel,
double offset 
)

Definition at line 404 of file scope.cpp.

◆ setChannelPen()

void Scope::setChannelPen(std::list< Channel >::iterator channel,
const QPen & pen 
)

Definition at line 410 of file scope.cpp.

◆ setChannelScale()

void Scope::setChannelScale(std::list< Channel >::iterator channel,
double scale 
)

Definition at line 398 of file scope.cpp.

◆ setData()

void Scope::setData(double * ,
size_t  
)

Definition at line 251 of file scope.cpp.

Here is the call graph for this function:

◆ setDataSize()

void Scope::setDataSize(size_t size)

Definition at line 291 of file scope.cpp.

◆ setDivT()

void Scope::setDivT(double divT)

Definition at line 353 of file scope.cpp.

◆ setPeriod()

void Scope::setPeriod(double p)

Definition at line 367 of file scope.cpp.

◆ setRefresh()

void Scope::setRefresh(size_t r)

Definition at line 391 of file scope.cpp.

◆ setTrigger()

void Scope::setTrigger(trig_t direction,
double threshold,
std::list< Channel >::iterator channel,
double window 
)

Definition at line 320 of file scope.cpp.

Friends And Related Function Documentation

◆ Panel

friend class Panel
friend

Definition at line 57 of file scope.h.

Field Documentation

◆ isPaused

bool Scope::isPaused

Definition at line 177 of file scope.h.


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