Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUICallAPICmd.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_CALLAPI_CMD_H
11#define GUI_CALLAPI_CMD_H
12
13#include "GUICommand.h"
14#include "eC_String.h"
15
20{
21public:
24
28 CGUICallAPICmd(const eC_String& kAPI, const eC_String& kParam);
29
30#if defined(GUILIANI_STREAM_GUI)
35 virtual void ReadFromStream();
36#endif
37
38#if defined(GUILIANI_WRITE_GUI)
44 virtual void WriteToStream(const eC_Bool bWriteClassID = false);
45#endif
46
47protected:
49 void Do();
50
52 eC_String m_kAPI;
53
55 eC_String m_kParam;
56};
57
58#endif // CALLAPPLICATIONAPICMD_H
This command can be used to execute specific code inside the application.
Definition: GUICallAPICmd.h:20
CGUICallAPICmd(const eC_String &kAPI, const eC_String &kParam)
CGUICallAPICmd()
Default constructor used by streaming factory.
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
virtual void ReadFromStream()
void Do()
Implements the actual command functionality.
eC_String m_kParam
Parameter which is used.
Definition: GUICallAPICmd.h:55
eC_String m_kAPI
API which is called.
Definition: GUICallAPICmd.h:52
Command object base class.
Definition: GUICommand.h:127