FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
vapi::Result_set< M > Class Template Reference

Class representing iterable set of responses of the same type. More...

Public Types

using const_iterator = typename std::vector< Msg< M >, typename Msg< M >::Msg_allocator >::const_iterator
 

Public Member Functions

 ~Result_set ()
 
 Result_set (const Result_set &)=delete
 
bool is_complete () const
 
size_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
void free_response (const_iterator pos)
 
void free_all_responses ()
 

Friends

template<typename Req , typename Resp , typename... Args>
class Dump
 
template<typename X >
class Event_registration
 

Detailed Description

template<typename M>
class vapi::Result_set< M >

Class representing iterable set of responses of the same type.

Definition at line 702 of file vapi.hpp.

Member Typedef Documentation

template<typename M>
using vapi::Result_set< M >::const_iterator = typename std::vector<Msg<M>, typename Msg<M>::Msg_allocator>::const_iterator

Definition at line 723 of file vapi.hpp.

Constructor & Destructor Documentation

template<typename M>
vapi::Result_set< M >::~Result_set ( )
inline

Definition at line 705 of file vapi.hpp.

template<typename M>
vapi::Result_set< M >::Result_set ( const Result_set< M > &  )
delete

Member Function Documentation

template<typename M>
const_iterator vapi::Result_set< M >::begin ( ) const
inline

Definition at line 725 of file vapi.hpp.

template<typename M>
const_iterator vapi::Result_set< M >::end ( ) const
inline

Definition at line 730 of file vapi.hpp.

template<typename M>
void vapi::Result_set< M >::free_all_responses ( )
inline

Definition at line 740 of file vapi.hpp.

template<typename M>
void vapi::Result_set< M >::free_response ( const_iterator  pos)
inline

Definition at line 735 of file vapi.hpp.

template<typename M>
bool vapi::Result_set< M >::is_complete ( ) const
inline

Definition at line 711 of file vapi.hpp.

template<typename M>
size_t vapi::Result_set< M >::size ( ) const
inline

Definition at line 716 of file vapi.hpp.

Friends And Related Function Documentation

template<typename M>
template<typename Req , typename Resp , typename... Args>
friend class Dump
friend

Definition at line 775 of file vapi.hpp.

template<typename M>
template<typename X >
friend class Event_registration
friend

Definition at line 777 of file vapi.hpp.


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