14#include "GUIColorPropertyObserver.h"
17#include "GUICommonEnums.h"
41 const eC_Value& vX,
const eC_Value& vY,
42 const eC_Value& vWidth,
const eC_Value& vHeight,
62 virtual void DoAnimate(
const eC_Value& vTimes = eC_FromInt(1));
86 void AddData(
const eC_UInt& uiIndex,
const eC_Float& fValue);
106 void SetRefresh(
const eC_Bool& bAutomaticRefresh,
const eC_UInt& uiRefreshInterval);
112 void GetRefresh(eC_Bool& bAutomaticRefresh, eC_UInt& uiRefreshInterval)
const;
141 void SetScaling(
const eC_Value& vScalingX,
const eC_Value& vScalingY);
147 void GetScaling(eC_Value& vScalingX, eC_Value& vScalingY)
const;
165 void SetPadding(
const eC_Value& vPaddingX,
const eC_Value& vPaddingY);
171 void GetPadding(eC_Value& vPaddingX, eC_Value& vPaddingY)
const;
256#if defined(GUILIANI_STREAM_GUI)
264#if defined(GUILIANI_WRITE_GUI)
276 const eC_Value& vDeltaX,
277 const eC_Value& vDeltaY,
278 const eC_Value& vAbsX,
279 const eC_Value& vAbsY);
282 const eC_Value& vAbsX,
283 const eC_Value& vAbsY);
292 void DrawData(
const eC_UInt& uiDataIndex);
298 static const eC_UInt INDEX_AXISCOLOR;
299 static const eC_UInt INDEX_LINECOLOR;
300 static const eC_UByte MAX_NUMBER_OF_DECIMALS;
302 eC_TArray<eC_TArray<eC_Float> > m_kData;
303 eC_UInt m_uiBufferSize;
304 eC_UInt m_uiReadLength;
305 eC_UInt m_uiReadIndex;
306 eC_UInt m_uiWriteIndex;
308 eC_Bool m_bAutomaticRefresh;
309 eC_UInt m_uiRefreshInterval;
310 eC_Bool m_bRetainValues;
312 eC_Value m_vScalingX;
313 eC_Value m_vScalingY;
315 eC_Value m_vPaddingX;
316 eC_Value m_vPaddingY;
317 eC_UInt m_uiLabelSpacingY;
320 eC_UInt m_uiAxisColor;
321 eC_Value m_vAxisLineWidth;
322 eC_UInt m_uiLineColor;
323 eC_Value m_vDrawLineWidth;
325 eC_UInt m_uiNumberOfDataSources;
326 eC_UInt m_uiNumberLineColors;
328 eC_Bool m_bInteractive;
330 eC_Bool m_bFloatForAxis;
331 eC_UByte m_ubDecimals;
Helper Macros in Guiliani
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
GlobalProperty_t
List of property resource ids.
Definition: GUIPropertyResource.h:67
This observer provides the base-interface for controls when using color-properties.
Definition: GUIColorPropertyObserver.h:23
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
this control can be used to display continuous data over time. It supports automatic and manual refre...
Definition: GUIPlot.h:29
virtual void ReadFromStream()
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
void SetRefresh(const eC_Bool &bAutomaticRefresh, const eC_UInt &uiRefreshInterval)
virtual void DoAnimate(const eC_Value &vTimes=eC_FromInt(1))
void AddData(const eC_UInt &uiIndex, const eC_Float &fValue)
CGUIPlot(const CGUIPlot &kToBeCopied)
void SetPadding(const eC_Value &vPaddingX, const eC_Value &vPaddingY)
virtual ~CGUIPlot()
Destructor.
void GetScaling(eC_Value &vScalingX, eC_Value &vScalingY) const
eC_UInt GetBufferSize() const
void SetLineWidth(const eC_Value &vLineWidth)
eC_Value GetOffset() const
void SetLineColor(const eC_UInt &uiIndex, const eC_UInt &uiLineColor)
void SetOffset(const eC_Value &vOffset)
virtual void SetHeight(const eC_Value &vY)
eC_UInt GetLineColor(const eC_UInt &uiIndex) const
CGUIPlot & operator=(const CGUIPlot &kSource)
FontResource_t GetFontID() const
void SetScaling(const eC_Value &vScalingX, const eC_Value &vScalingY)
eC_Value GetAxisLineWidth() const
void SetAxisColor(const GlobalProperty_t &eAxisColor)
CGUIPlot(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const ObjectHandle_t &eID=NO_HANDLE)
eC_UInt GetAxisColor() const
void SetLabelSpacingY(const eC_UInt &uiLabelSpacingY)
void SetRetainValues(const eC_Bool &bRetainValues)
void SetBufferSize(const eC_UInt &uiBuffersize)
void SetAxisColor(const eC_UInt &uiAxisColor)
void SetAxisLineWidth(const eC_Value &vAxisLineWidth)
void SetInteractive(const eC_Bool &bInteractive)
eC_Bool GetInteractive() const
eC_UInt GetNumberOfDataSources() const
virtual eC_Bool DoDoubleClick(const eC_Value &vAbsX, const eC_Value &vAbsY)
void SetLineColor(const eC_UInt &uiIndex, const GlobalProperty_t &eLineColor)
eC_Bool GetRetainValues() const
virtual void SetWidth(const eC_Value &vX)
virtual eC_Bool IsHighlightable() const
Definition: GUIPlot.h:285
eC_UInt GetLabelSpacingY() const
void GetRefresh(eC_Bool &bAutomaticRefresh, eC_UInt &uiRefreshInterval) const
void SetFontID(const FontResource_t &eFontID)
virtual eC_Bool DoDrag(const eC_Value &vDeltaX, const eC_Value &vDeltaY, const eC_Value &vAbsX, const eC_Value &vAbsY)
void SetNumberOfDataSources(const eC_UInt &uiNumberOfDataSources)
eC_Value GetLineWidth() const
CGUIPlot()
Default constructor.
void GetPadding(eC_Value &vPaddingX, eC_Value &vPaddingY) const