#include <displaypipe.h>
Inheritance diagram for simthlib::Displaypipe:
Public Types | |
enum | Interface_Mode { FIRST, SECOND, BOTH } |
enum | View_Mode { COMPLEX, PHASE, COMPLEX_EQUALIZE, PHASE_EQUALIZE, PHASE_POLAR, CYLINDRICAL, CYLINDRICAL_ANIMATED, NO_DISPLAY, ABS, RE, IM, AMPL } |
Public Member Functions | |
Displaypipe (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl) | |
~Displaypipe () | |
virtual void | updateInputLengths () |
virtual void | updateOutputLengths () |
virtual void | endOfSimulation () |
void | print (std::ostream &os) const |
Static Public Member Functions | |
static void | init (const std::string &filename, simth::Device **dev, simth::DeviceSystemIntf *sysPtr, int ID, const std::string ®ionQualifier="") |
static void | init (simth::DeviceFactory ®istration) |
Protected Member Functions | |
std::string | filename () const |
bool | saveData () const |
void | writeToGnuplot (const std::string &piped_text) |
void | writeToGnuplot (const std::ostringstream &ostr) |
std::string | writeLabelUsing (const std::string &ylabel, const std::string &usingstr, const std::string &name) |
std::string | writeLabelUsing (const std::string &ylabel, const std::string &usingstr, const std::vector< std::string > &names) |
Protected Attributes | |
FILE * | gnuplotProcess |
bool | suppressMonitor |
Related Functions | |
(Note that these are not member functions.) | |
propertylist_Displaypipe (not_a_function) | |
Classes | |
struct | Range |
This class has a whole lot of different parameters.
The file names for the temporary files that hold the data are chosen according to the "output_file:" parameter with some suffixed numbers. Note: If you are running simthetic from some network file system, you should make sure to specify some local file name here, because otherwise the network file system will cause quite a bunch of flickering.
This class is an abstract class since the pure virtual function process() of its parent class (simth::Device) is not implemented. To make an instance of a display pipe with a distinct input sequence type use the derived template class DisplayPipeSeqT<class T>.
Recently added are:
linestyle (string): Useful values are "points" (default), "linespoints", "lines", but "impulses", "dots", "steps" and many others exist as well.
linewidth: The line width relative to the default width. Note: This parameter is only allowed to be greater than one when the actual linestyle uses lines. I.e. for "linespoints" this is allowed, but for "points" it is not.
pointsize: The point size relative to the default pointsize. Note: This parameter is only allowed to be greater than one when the actual linestyle uses points. I.e. for "linespoints" this is allowed, but for "lines" it is not.
|
|
|
|
|
Constructor that can take, beside the device ID and and the system pointer, a string that specifies a file the display data is stored. For the default value, that is an empty string, the data is only stored in a file existing temporarily. |
|
|
|
Reimplemented from simth::Device. |
|
|
|
|
|
|
|
Reimplemented from simth::Device. Reimplemented in simthlib::DisplaypipeSeqT< seqT >. |
|
|
|
Implements simth::Device. |
|
Implements simth::Device. |
|
|
|
|
|
|
|
|
|
These are the properties of class Displaypipe . This list is auto-generated from the XML-Devicelist of this device by means of an XSLT transformation script. Description of this device in the XML file: Base class for an online display of a sequence, i.e. a continuously updated picture of that sequence. Note that this class also has the Properties of its base classes. The direct base class is simth::Device ; direct link to its propertylist should be propertylist_Device(). The list below usually includes the properties that have been inherited from the base classes; the properties which belong only to this class can be found at the end of this list.
|
|
|
|
|