17#ifndef IOX_POSH_POPO_ENUM_TRIGGER_TYPE_HPP
18#define IOX_POSH_POPO_ENUM_TRIGGER_TYPE_HPP
20#include "iceoryx_hoofs/cxx/type_traits.hpp"
29using StateEnumIdentifier = uint64_t;
31using EventEnumIdentifier = int64_t;
35constexpr bool IS_EVENT_ENUM =
36 std::is_enum<T>::value&& std::is_same<std::underlying_type_t<T>, EventEnumIdentifier>::value;
40constexpr bool IS_STATE_ENUM =
41 std::is_enum<T>::value&& std::is_same<std::underlying_type_t<T>, StateEnumIdentifier>::value;