kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Kokkos::utils::callbacks::EventTypeMatcher< MatcherType, EventTypes > Struct Template Reference

Restrict the event types that can be matched by matcher to the subset EventTypes. More...

#include <EventTypeMatcher.hpp>

Public Member Functions

template<EventOneOf< EventTypes... > EventType>
requires MatcherFor<MatcherType, EventType>
bool operator() (const EventType &event)
 

Public Attributes

MatcherType matcher
 

Detailed Description

template<Matcher MatcherType, Event... EventTypes>
requires MatcherFor<MatcherType, EventTypes...>
struct Kokkos::utils::callbacks::EventTypeMatcher< MatcherType, EventTypes >

Restrict the event types that can be matched by matcher to the subset EventTypes.

Note
The EventTypes are expected to be valid event types for MatcherType.

Definition at line 16 of file EventTypeMatcher.hpp.

Member Function Documentation

◆ operator()()

template<Matcher MatcherType, Event... EventTypes>
template<EventOneOf< EventTypes... > EventType>
requires MatcherFor<MatcherType, EventType>
bool Kokkos::utils::callbacks::EventTypeMatcher< MatcherType, EventTypes >::operator() ( const EventType & event)
inline

Definition at line 19 of file EventTypeMatcher.hpp.

Member Data Documentation

◆ matcher

template<Matcher MatcherType, Event... EventTypes>
MatcherType Kokkos::utils::callbacks::EventTypeMatcher< MatcherType, EventTypes >::matcher

Definition at line 23 of file EventTypeMatcher.hpp.


The documentation for this struct was generated from the following file: