14#ifndef HMICORE_TOUCH_GVA_H_
15#define HMICORE_TOUCH_GVA_H_
47 :
RenderBase(x, y, width, height), group_id_(groupId), binding_(binding) {}
143 std::vector<Hotspot> hotspots_;
Class defining the render base.
Definition touch_gva.h:25
uint32_t GetBinding() const
Get the Binding attribute.
Definition touch_gva.h:61
Hotspot(GvaFunctionGroupEnum groupId, uint32_t x, uint32_t y)
Construct a new Hotspot object.
Definition touch_gva.h:34
Hotspot(GvaFunctionGroupEnum groupId, uint32_t binding, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
Construct a new Hotspot object.
Definition touch_gva.h:46
GvaFunctionGroupEnum GetGroupId() const
Get the Group Id attribute.
Definition touch_gva.h:54
Class defining the base renderer.
Definition renderer_base.h:23
Class defining the touch screen events.
Definition touch_gva.h:71
void SetResolution(uint32_t x, uint32_t y)
Set the Resolution attribute.
Definition touch_gva.cc:37
void Reset()
Reset all the hotspots.
Definition touch_gva.cc:42
GvaStatusTypes AddAbsolute(GvaFunctionGroupEnum groupId, uint32_t binding, uint32_t x, uint32_t y, uint32_t xx, uint32_t yy)
Construct a new Touch Gva object.
Definition touch_gva.cc:31
GvaStatusTypes Add(GvaFunctionGroupEnum groupId, uint32_t x, uint32_t y)
Construct a new Touch Gva object.
Definition touch_gva.cc:20
bool Check(GvaFunctionGroupEnum groupId, uint32_t *binding, uint32_t x, uint32_t y) const
Check if a touch event is within a hotspot.
Definition touch_gva.cc:44
GvaStatusTypes
HMI erro types, can be extended if needed.
Definition gva.h:186
GvaFunctionGroupEnum
These are the functional groups.
Definition gva.h:232
The base of and renderer class.