NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SH2S_Event< TBase > Struct Template Reference

Search Toolkit Book for SH2S_Event

#include "ncbi_http2_session_impl.hpp"
(Private to src/connect.)

+ Inheritance diagram for SH2S_Event< TBase >:
+ Collaboration diagram for SH2S_Event< TBase >:

Public Types

enum  EType { eStart , eData , eEof , eError }
 
using TStart = typename TBase::SStart
 

Public Member Functions

template<class ... TArgs>
 SH2S_Event (TStart start, TArgs &&... args)
 
template<class ... TArgs>
 SH2S_Event (TH2S_Data data, TArgs &&... args)
 
template<class ... TArgs>
 SH2S_Event (EType type, TArgs &&... args)
 
 SH2S_Event (SH2S_Event &&other)
 
 ~SH2S_Event ()
 
EType GetType () const
 
TStartGetStart ()
 
TH2S_DataGetData ()
 

Private Member Functions

const char * GetTypeName () const
 

Private Attributes

EType m_Type
 
union {
   TStart   m_Start
 
   TH2S_Data   m_Data
 
}; 
 

Friends

ostream & operator<< (ostream &os, const SH2S_Event &e)
 

Detailed Description

template<class TBase>
struct SH2S_Event< TBase >

Definition at line 55 of file ncbi_http2_session_impl.hpp.

Member Typedef Documentation

◆ TStart

template<class TBase >
using SH2S_Event< TBase >::TStart = typename TBase::SStart

Definition at line 57 of file ncbi_http2_session_impl.hpp.

Member Enumeration Documentation

◆ EType

template<class TBase >
enum SH2S_Event::EType ( void  )
Enumerator
eStart 
eData 
eEof 
eError 

Definition at line 59 of file ncbi_http2_session_impl.hpp.

Constructor & Destructor Documentation

◆ SH2S_Event() [1/4]

template<class TBase >
template<class ... TArgs>
SH2S_Event< TBase >::SH2S_Event ( TStart  start,
TArgs &&...  args 
)
inline

Definition at line 62 of file ncbi_http2_session_impl.hpp.

◆ SH2S_Event() [2/4]

template<class TBase >
template<class ... TArgs>
SH2S_Event< TBase >::SH2S_Event ( TH2S_Data  data,
TArgs &&...  args 
)
inline

Definition at line 65 of file ncbi_http2_session_impl.hpp.

◆ SH2S_Event() [3/4]

template<class TBase >
template<class ... TArgs>
SH2S_Event< TBase >::SH2S_Event ( EType  type,
TArgs &&...  args 
)
inline

Definition at line 68 of file ncbi_http2_session_impl.hpp.

◆ SH2S_Event() [4/4]

template<class TBase >
SH2S_Event< TBase >::SH2S_Event ( SH2S_Event< TBase > &&  other)

◆ ~SH2S_Event()

template<class TBase >
SH2S_Event< TBase >::~SH2S_Event

Definition at line 63 of file ncbi_http2_session.cpp.

References eError, and eStart.

Member Function Documentation

◆ GetData()

template<class TBase >
TH2S_Data& SH2S_Event< TBase >::GetData ( void  )
inline

◆ GetStart()

template<class TBase >
TStart& SH2S_Event< TBase >::GetStart ( void  )
inline

◆ GetType()

template<class TBase >
EType SH2S_Event< TBase >::GetType ( void  ) const
inline

◆ GetTypeName()

template<class TBase >
const char * SH2S_Event< TBase >::GetTypeName
private

Definition at line 75 of file ncbi_http2_session.cpp.

References eError, and eStart.

Friends And Related Function Documentation

◆ operator<<

template<class TBase >
ostream& operator<< ( ostream &  os,
const SH2S_Event< TBase > &  e 
)
friend

Definition at line 89 of file ncbi_http2_session_impl.hpp.

Member Data Documentation

◆ 

union { ... }

◆ m_Data

template<class TBase >
TH2S_Data SH2S_Event< TBase >::m_Data

◆ m_Start

template<class TBase >
TStart SH2S_Event< TBase >::m_Start

◆ m_Type

template<class TBase >
EType SH2S_Event< TBase >::m_Type
private

The documentation for this struct was generated from the following files:
Modified on Wed Apr 17 13:09:13 2024 by modify_doxy.py rev. 669887