23#include "utility/event/hand_thumb_rest_event.hpp"
25namespace utility::event
28 HandThumbRestEvent::Factory::~Factory(
void) =
default;
32 return std::make_unique<HandThumbRestEvent>();
35 std::shared_ptr<HandThumbRestEvent>
38 return std::make_unique<HandThumbRestEvent>();
43 HandThumbRestEvent::~HandThumbRestEvent(
void) =
default;
60 _isProximity = proximity;
std::shared_ptr< HandThumbRestEvent > createTyped(void) const
Create a strongly-typed HandThumbRestEvent.
std::shared_ptr< Event > create(void) const override
Create a HandThumbRestEvent as base Event pointer.
HandThumbRestEvent & setProximity(const bool proximity) noexcept
Set proximity state.
bool isProximity(void) const noexcept
Get proximity state.
HandThumbRestEvent(void)
Default constructor.
HandThumbRestEvent & setTouched(const bool touched) noexcept
Set touched state.
bool isTouched(void) const noexcept
Get touched state.