FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
vapi::Dump< Req, Resp, Args > Class Template Reference

Class representing a dump request - zero or more identical responses to a single request message. More...

+ Inheritance diagram for vapi::Dump< Req, Resp, Args >:
+ Collaboration diagram for vapi::Dump< Req, Resp, Args >:

Public Types

using resp_type = typename Msg< Resp >::shm_data_type
 

Public Member Functions

 Dump (Connection &con, Args...args, std::function< vapi_error_e(Dump< Req, Resp, Args... > &)> callback=nullptr)
 
 Dump (const Dump &)=delete
 
virtual ~Dump ()
 
virtual std::tuple< vapi_error_e, boolassign_response (vapi_msg_id_t id, void *shm_data)
 
vapi_error_e execute ()
 
Msg< Req > & get_request (void)
 
const Result_set< Resp > & get_result_set (void) const
 
- Public Member Functions inherited from vapi::Common_req
virtual ~Common_req ()
 
Connectionget_connection ()
 
vapi_response_state_e get_response_state (void) const
 

Friends

class Connection
 

Detailed Description

template<typename Req, typename Resp, typename... Args>
class vapi::Dump< Req, Resp, Args >

Class representing a dump request - zero or more identical responses to a single request message.

Definition at line 496 of file vapi.hpp.

Member Typedef Documentation

template<typename Req , typename Resp , typename... Args>
using vapi::Dump< Req, Resp, Args >::resp_type = typename Msg<Resp>::shm_data_type

Definition at line 831 of file vapi.hpp.

Constructor & Destructor Documentation

template<typename Req , typename Resp , typename... Args>
vapi::Dump< Req, Resp, Args >::Dump ( Connection con,
Args...  args,
std::function< vapi_error_e(Dump< Req, Resp, Args... > &)>  callback = nullptr 
)
inline

Definition at line 786 of file vapi.hpp.

template<typename Req , typename Resp , typename... Args>
vapi::Dump< Req, Resp, Args >::Dump ( const Dump< Req, Resp, Args > &  )
delete
template<typename Req , typename Resp , typename... Args>
virtual vapi::Dump< Req, Resp, Args >::~Dump ( )
inlinevirtual

Definition at line 796 of file vapi.hpp.

Member Function Documentation

template<typename Req , typename Resp , typename... Args>
virtual std::tuple<vapi_error_e, bool> vapi::Dump< Req, Resp, Args >::assign_response ( vapi_msg_id_t  id,
void *  shm_data 
)
inlinevirtual

Implements vapi::Common_req.

Definition at line 800 of file vapi.hpp.

template<typename Req , typename Resp , typename... Args>
vapi_error_e vapi::Dump< Req, Resp, Args >::execute ( )
inline

Definition at line 821 of file vapi.hpp.

template<typename Req , typename Resp , typename... Args>
Msg<Req>& vapi::Dump< Req, Resp, Args >::get_request ( void  )
inline

Definition at line 826 of file vapi.hpp.

template<typename Req , typename Resp , typename... Args>
const Result_set<Resp>& vapi::Dump< Req, Resp, Args >::get_result_set ( void  ) const
inline

Definition at line 833 of file vapi.hpp.

Friends And Related Function Documentation

template<typename Req , typename Resp , typename... Args>
friend class Connection
friend

Definition at line 843 of file vapi.hpp.


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