Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUISetDataPoolCmd.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUI_SETDATAPOOL_CMD_H
11#define GUI_SETDATAPOOL_CMD_H
12
13#include "GUICommand.h"
14
15#include "GUIDataPool.h"
16
21{
22public:
25
33 const DataPoolResource_t& eDataPoolID,
34 const CGUIValue& kValue,
35 const eC_UInt& uiX,
36 const eC_UInt& uiY);
37
38#if defined(GUILIANI_STREAM_GUI)
43 virtual void ReadFromStream();
44#endif
45
46#if defined(GUILIANI_WRITE_GUI)
52 virtual void WriteToStream(const eC_Bool bWriteClassID = false);
53#endif
54
55protected:
57 void Do();
58
60
62
63 eC_UInt m_uiX;
64 eC_UInt m_uiY;
65};
66
67#endif
DataPoolResource_t
List of data pool resource ids.
Definition: GUIDataPoolResource.h:35
Command object base class.
Definition: GUICommand.h:127
This command can be used to execute specific code inside the application.
Definition: GUISetDataPoolCmd.h:21
eC_UInt m_uiY
y-coordinate
Definition: GUISetDataPoolCmd.h:64
CGUISetDataPoolCmd()
Default constructor used by streaming factory.
CGUISetDataPoolCmd(const DataPoolResource_t &eDataPoolID, const CGUIValue &kValue, const eC_UInt &uiX, const eC_UInt &uiY)
void Do()
Implements the actual command functionality.
virtual void ReadFromStream()
DataPoolResource_t m_eDataPoolID
id of datapool-resource
Definition: GUISetDataPoolCmd.h:59
eC_UInt m_uiX
x-coordinate
Definition: GUISetDataPoolCmd.h:63
CGUIValue m_kValue
value
Definition: GUISetDataPoolCmd.h:61
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
CGUIValue stores a single value in one specific type.
Definition: GUIValue.h:25