YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::StaticSharedEvent< Event, SharedCount > Struct Template Reference

#include <shared_event.hpp>

Inheritance diagram for yaclib::detail::StaticSharedEvent< Event, SharedCount >:
[legend]
Collaboration diagram for yaclib::detail::StaticSharedEvent< Event, SharedCount >:
[legend]

Public Member Functions

 StaticSharedEvent (size_t total_count)
 

Public Attributes

std::array< EventHelperCallback< Event >, SharedCountcallbacks
 

Static Public Attributes

static constexpr bool kShared = true
 

Detailed Description

template<typename Event, size_t SharedCount>
struct yaclib::detail::StaticSharedEvent< Event, SharedCount >

Definition at line 42 of file shared_event.hpp.

Constructor & Destructor Documentation

◆ StaticSharedEvent()

template<typename Event , size_t SharedCount>
yaclib::detail::StaticSharedEvent< Event, SharedCount >::StaticSharedEvent ( size_t  total_count)
inlineexplicit

Member Data Documentation

◆ callbacks

◆ kShared

template<typename Event , size_t SharedCount>
constexpr bool yaclib::detail::StaticSharedEvent< Event, SharedCount >::kShared = true
staticconstexpr

Definition at line 43 of file shared_event.hpp.


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