DDC 0.12.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, concepts::borrowed_chunk BorrowedChunk>
PdiEventwith (std::string const &name, BorrowedChunk &&data)
 
template<PDI_inout_t Access, class Arithmetic >
requires (std::is_arithmetic_v<std::remove_reference_t<Arithmetic>>)
PdiEventwith (std::string const &name, Arithmetic &&data)
 
template<concepts::borrowed_chunk BorrowedChunk>
PdiEventwith (std::string const &name, BorrowedChunk &&data)
 API with access deduction.
 
template<class Arithmetic >
requires (std::is_arithmetic_v<std::remove_reference_t<Arithmetic>>)
PdiEventwith (std::string const &name, Arithmetic &&data)
 Arithmetic overload.
 
PdiEventwith (std::string const &name, char const *c_string)
 C-string overload.
 

Detailed Description

Definition at line 31 of file pdi.hpp.

Constructor & Destructor Documentation

◆ PdiEvent() [1/3]

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

Definition at line 26 of file pdi.cpp.

◆ PdiEvent() [2/3]

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

◆ PdiEvent() [3/3]

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

◆ ~PdiEvent()

ddc::PdiEvent::~PdiEvent ( )
noexcept

Definition at line 28 of file pdi.cpp.

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/5]

template<PDI_inout_t Access, concepts::borrowed_chunk BorrowedChunk>
PdiEvent & ddc::PdiEvent::with ( std::string const name,
BorrowedChunk &&  data 
)
inline

API with access argument

Definition at line 74 of file pdi.hpp.

◆ with() [2/5]

template<PDI_inout_t Access, class Arithmetic >
requires (std::is_arithmetic_v<std::remove_reference_t<Arithmetic>>)
PdiEvent & ddc::PdiEvent::with ( std::string const name,
Arithmetic &&  data 
)
inline

Definition at line 93 of file pdi.hpp.

◆ with() [3/5]

template<concepts::borrowed_chunk BorrowedChunk>
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 116 of file pdi.hpp.

◆ with() [4/5]

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

Arithmetic overload.

Definition at line 123 of file pdi.hpp.

◆ with() [5/5]

PdiEvent & ddc::PdiEvent::with ( std::string const name,
char const c_string 
)

C-string overload.

Definition at line 36 of file pdi.cpp.


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