Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUIDataPoolResource.h
Go to the documentation of this file.
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_DATAPOOL_RESOURCE__H_
11#define GUI_DATAPOOL_RESOURCE__H_
12#include "eC_Types.h"
13#include <limits.h>
14
16//
17// DO NOT EDIT THIS FILE!!! Add your own IDS within UserXXXResource.h files!
18// DO NOT EDIT THIS FILE!!! Add your own IDS within UserXXXResource.h files!
19// DO NOT EDIT THIS FILE!!! Add your own IDS within UserXXXResource.h files!
20//
21
22// -----------------------------------------------------------------------------------------
24
25#define DATAPOOL_TABLE
26// There are no default datapool resources
27//ENTRY(XXX)
28
29#ifndef GUILIANI_GUILIANILIB
30 #include "UserDataPoolResource.h"
31#endif
32
35{
36 DATAPOOL_START_TAG=-1,
37#define ENTRY_ENUM(a) a,
38#define ENTRY(a) a,
40 DUMMY_DATAPOOLRESOURCE = 0,
41#ifndef GUILIANI_GUILIANILIB
42 USER_DATAPOOL_TABLE
43#endif
44#undef ENTRY
45#undef ENTRY_ENUM
46 NOF_DATAPOOLRESOURCES,
47
48 GUILIANI_INTERNAL_DATAPOOLRESOURCE = INT_MAX // Do not touch this. Required for ensuring consistent enum type size across libraries.
49};
50
52#define MAP_DATAPOOLID_TO_ARRAY(DATAPOOL_ID) static_cast<eC_UInt>(DATAPOOL_ID-DATAPOOL_START_TAG-1)
54#define UNMAP_DATAPOOLENTRY_TO_ARRAY(DATAPOOL_ENTRY) static_cast<DataPoolResource_t>(DATAPOOL_ENTRY+DATAPOOL_START_TAG+1)
55// Amount of resources.
56extern const eC_UInt cuiNOFDataPoolResources;
57
58#endif
const eC_UInt cuiNOFDataPoolResources
Used to contain the highest index cuiNOFXXXClasses = MAP_PROPID_TO_ARRAY(NOF_XXXCLASSES);.
DataPoolResource_t
List of data pool resource ids.
Definition: GUIDataPoolResource.h:35
#define DATAPOOL_TABLE
Data Pool resources.
Definition: GUIDataPoolResource.h:25