DDC 0.0.0

a discrete domain computation library

ddc::PdiEvent Class Reference

Public Member Functions

 PdiEvent (std::string const &event_name)
 
 PdiEvent (PdiEvent const &rhs)=delete
 
 PdiEvent (PdiEvent &&rhs) noexcept=delete
 
 ~PdiEvent () noexcept
 
PdiEventoperator= (PdiEvent const &rhs)=delete
 
PdiEventoperator= (PdiEvent &&rhs) noexcept=delete
 
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() [1/3]

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

◆ PdiEvent() [2/3]

ddc::PdiEvent::PdiEvent ( PdiEvent const &  rhs)
delete

◆ PdiEvent() [3/3]

ddc::PdiEvent::PdiEvent ( PdiEvent &&  rhs)
deletenoexcept

◆ ~PdiEvent()

ddc::PdiEvent::~PdiEvent ( )
inlinenoexcept

Member Function Documentation

◆ operator=() [1/2]

PdiEvent & ddc::PdiEvent::operator= ( PdiEvent const &  rhs)
delete

◆ operator=() [2/2]

PdiEvent & ddc::PdiEvent::operator= ( PdiEvent &&  rhs)
deletenoexcept

◆ 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: