Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIDelayCmd.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_DELAY_CMD_H
11#define GUI_DELAY_CMD_H
12
13#include "GUICommand.h"
14
19{
20public:
23
28 CGUIDelayCmd(eC_UInt uiDuration);
29
30#if defined(GUILIANI_STREAM_GUI)
31 virtual void ReadFromStream();
32#endif
33
34#if defined(GUILIANI_WRITE_GUI)
35 virtual void WriteToStream(const eC_Bool bWriteClassID = false);
36#endif
37
38protected:
39 ~CGUIDelayCmd() {}
40 virtual void Do();
41
42private:
43 eC_UInt m_uiDuration;
44 eC_Bool m_bTimerStarted;
45};
46
47#endif
Command object base class.
Definition: GUICommand.h:127
This command can be used to execute other commands after a specific period of time.
Definition: GUIDelayCmd.h:19
virtual void Do()
CGUIDelayCmd(eC_UInt uiDuration)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
CGUIDelayCmd()
default constructor
virtual void ReadFromStream()