FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
vapi.hpp File Reference

C++ VPP API. More...

+ Include dependency graph for vapi.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  vapi::Request< Req, Resp, Args >
 Class representing a simple request - with a single response message. More...
 
class  vapi::Msg< M >
 Class representing a message stored in shared memory. More...
 
class  vapi::Event_registration< M >
 Class representing event registration - incoming events (messages) from vpp as a result of a subscription (typically a want_* simple request) More...
 
class  vapi::Unexpected_msg_id_exception
 
class  vapi::Msg_not_available_exception
 
class  vapi::Common_req
 Class representing common functionality of a request - response state and context. More...
 
class  vapi::Connection
 Class representing a connection to VPP. More...
 
class  vapi::Request< Req, Resp, Args >
 Class representing a simple request - with a single response message. More...
 
class  vapi::Dump< Req, Resp, Args >
 Class representing a dump request - zero or more identical responses to a single request message. More...
 
struct  vapi::vapi_has_payload_trait< class, class >
 
struct  vapi::vapi_has_payload_trait< T, vapi_void_t< decltype(&T::payload)> >
 
class  vapi::Msg< M >
 Class representing a message stored in shared memory. More...
 
struct  vapi::Msg< M >::Msg_allocator::rebind< U >
 
class  vapi::Request< Req, Resp, Args >
 Class representing a simple request - with a single response message. More...
 
class  vapi::Result_set< M >
 Class representing iterable set of responses of the same type. More...
 
class  vapi::Dump< Req, Resp, Args >
 Class representing a dump request - zero or more identical responses to a single request message. More...
 
class  vapi::Event_registration< M >
 Class representing event registration - incoming events (messages) from vpp as a result of a subscription (typically a want_* simple request) More...
 

Namespaces

 vapi
 Forward declarations.
 

Typedefs

template<class... T>
using vapi::vapi_void_t = void
 

Enumerations

enum  vapi::vapi_response_state_e { vapi::RESPONSE_NOT_READY, vapi::RESPONSE_READY, vapi::RESPONSE_NO_RESPONSE }
 

Functions

template<typename M >
void vapi::vapi_swap_to_be (M *msg)
 
template<typename M >
void vapi::vapi_swap_to_host (M *msg)
 
template<typename M , typename... Args>
Mvapi::vapi_alloc (Connection &con, Args...)
 
template<typename M >
vapi_msg_id_t vapi::vapi_get_msg_id_t ()
 
template<typename M >
void vapi::vapi_msg_set_msg_id (vapi_msg_id_t id)
 

Detailed Description

C++ VPP API.

Definition in file vapi.hpp.