DDC 0.1.0
Loading...
Searching...
No Matches
ddc::PdiEvent Class Reference

#include <pdi.hpp>

Collaboration diagram for ddc::PdiEvent:
Collaboration graph

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.
 
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.
 
template<class T >
PdiEventand_with (std::string const &name, T &&t)
 With synonym.
 

Detailed Description

Definition at line 29 of file pdi.hpp.

Constructor & Destructor Documentation

◆ PdiEvent() [1/3]

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

Definition at line 39 of file pdi.hpp.

◆ PdiEvent() [2/3]

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

◆ PdiEvent() [3/3]

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

◆ ~PdiEvent()

ddc::PdiEvent::~PdiEvent ( )
inlinenoexcept

Definition at line 45 of file pdi.hpp.

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

Definition at line 64 of file pdi.hpp.

◆ 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

Definition at line 91 of file pdi.hpp.

◆ and_with() [1/2]

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

Definition at line 109 of file pdi.hpp.

◆ 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)&)

Definition at line 120 of file pdi.hpp.

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

Definition at line 129 of file pdi.hpp.

◆ and_with() [2/2]

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

With synonym.

Definition at line 136 of file pdi.hpp.


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