FD.io VPP  v18.01.2-1-g9b554f3
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 699 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 720 of file vapi.hpp.

Constructor & Destructor Documentation

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

Definition at line 702 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 722 of file vapi.hpp.

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

Definition at line 727 of file vapi.hpp.

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

Definition at line 737 of file vapi.hpp.

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

Definition at line 732 of file vapi.hpp.

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

Definition at line 708 of file vapi.hpp.

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

Definition at line 713 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 772 of file vapi.hpp.

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

Definition at line 774 of file vapi.hpp.


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