Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
IOGraph Class Reference
Inheritance diagram for IOGraph:
Graph

Public Slots

void recalcGraphData (capture_file *cap_file)
 
void captureEvent (const CaptureEvent &e)
 
void reloadValueUnitField ()
 

Signals

void requestReplot ()
 
void requestRecalc ()
 
void requestRetap ()
 

Public Member Functions

 IOGraph (QCustomPlot *parent)
 
QString configError () const
 
void setAOT (bool asAOT)
 
bool getAOT () const
 
QString filter () const
 
bool setFilter (const QString &filter)
 
void setVisible (bool visible)
 
bool needRetap () const
 
void setNeedRetap (bool retap)
 
void setPlotStyle (PlotStyles style)
 
QString valueUnitLabel () const
 
format_size_units_e formatUnits () const
 
io_graph_item_unit_t valueUnits () const
 
void setValueUnits (int val_units)
 
QString valueUnitField () const
 
void setValueUnitField (const QString &vu_field)
 
nstime_t startTime () const
 
unsigned int movingAveragePeriod () const
 
void setInterval (int interval)
 
int packetFromTime (double ts) const
 
bool hasItemToShow (int idx, double value) const
 
double getItemValue (int idx, const capture_file *cap_file) const
 
int maxInterval () const
 
void clearAllData ()
 
- Public Member Functions inherited from Graph
 Graph (QCustomPlot *parent, QCPAxis *keyAxis=nullptr, QCPAxis *valueAxis=nullptr)
 
QString name () const
 
void setName (const QString &name)
 
QRgb color () const
 
void setColor (const QRgb color)
 
bool visible () const
 
void setVisible (bool visible)
 
unsigned int yAxisFactor () const
 
void setYAxisFactor (unsigned int y_axis_factor)
 
QCPGraph * graph () const
 
QCPBars * bars () const
 
bool addToLegend ()
 
bool setPlotStyle (PlotStyles style)
 

Public Attributes

unsigned int moving_avg_period_
 
- Public Attributes inherited from Graph
const qreal graph_line_width_ = 1.0
 

Additional Inherited Members

- Public Types inherited from Graph
enum  PlotStyles {
  psLine , psDotLine , psStepLine , psDotStepLine ,
  psImpulse , psBar , psStackedBar , psDot ,
  psSquare , psDiamond , psCross , psPlus ,
  psCircle
}
 
- Static Public Attributes inherited from Graph
static const int default_y_axis_factor_ = 1
 
- Protected Member Functions inherited from Graph
void applyCurrentColor ()
 
bool removeFromLegend ()
 
void clearAllData ()
 
- Protected Attributes inherited from Graph
QCustomPlot * parent_
 
QCPGraph * graph_
 
QCPBars * bars_
 
QString name_
 
QBrush color_
 
bool visible_
 
unsigned int y_axis_factor_
 

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