DDC 0.0.0

a discrete domain computation library

ddc::PdiEvent Class Reference

Public Member Functions

 PdiEvent (std::string const &event_name)
 
 ~PdiEvent ()
 
template<PDI_inout_t access, class BorrowedChunk , std::enable_if_t< is_borrowed_chunk_v< BorrowedChunk >, int > = 0>
PdiEventwith (std::string const &name, BorrowedChunk &&data)
 
template<PDI_inout_t access, class Arithmetic , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< Arithmetic > >, int > = 0>
PdiEventwith (std::string const &name, Arithmetic &&data)
 
template<PDI_inout_t access, class T >
PdiEventand_with (std::string const &name, T &&t)
 
template<class BorrowedChunk , std::enable_if_t< is_borrowed_chunk_v< BorrowedChunk >, int > = 0>
PdiEventwith (std::string const &name, BorrowedChunk &&data)
 API with access deduction. More...
 
template<class Arithmetic , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< Arithmetic > >, int > = 0>
PdiEventwith (std::string const &name, Arithmetic &&data)
 Arithmetic overload. More...
 
template<class T >
PdiEventand_with (std::string const &name, T &&t)
 With synonym. More...
 

Constructor & Destructor Documentation

◆ PdiEvent()

ddc::PdiEvent::PdiEvent ( std::string const &  event_name)
inline

◆ ~PdiEvent()

ddc::PdiEvent::~PdiEvent ( )
inline

Member Function Documentation

◆ with() [1/4]

template<PDI_inout_t access, class BorrowedChunk , std::enable_if_t< is_borrowed_chunk_v< BorrowedChunk >, int > = 0>
PdiEvent & ddc::PdiEvent::with ( std::string const &  name,
BorrowedChunk &&  data 
)
inline

API with access argument

◆ with() [2/4]

template<PDI_inout_t access, class Arithmetic , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< Arithmetic > >, int > = 0>
PdiEvent & ddc::PdiEvent::with ( std::string const &  name,
Arithmetic &&  data 
)
inline

◆ and_with() [1/2]

template<PDI_inout_t access, class T >
PdiEvent & ddc::PdiEvent::and_with ( std::string const &  name,
T &&  t 
)
inline

◆ with() [3/4]

template<class BorrowedChunk , std::enable_if_t< is_borrowed_chunk_v< BorrowedChunk >, int > = 0>
PdiEvent & ddc::PdiEvent::with ( std::string const &  name,
BorrowedChunk &&  data 
)
inline

API with access deduction.

Borrowed chunk overload (Chunk (const)& or ChunkSpan&& or ChunkSpan (const)&)

◆ with() [4/4]

template<class Arithmetic , std::enable_if_t< std::is_arithmetic_v< std::remove_reference_t< Arithmetic > >, int > = 0>
PdiEvent & ddc::PdiEvent::with ( std::string const &  name,
Arithmetic &&  data 
)
inline

Arithmetic overload.

◆ and_with() [2/2]

template<class T >
PdiEvent & ddc::PdiEvent::and_with ( std::string const &  name,
T &&  t 
)
inline

With synonym.


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