29 msg_t req(con.
ctx(), std::ref(*
this));
poll(HW::item< bool > &item)
Constructor taking the HW::item to update.
Error codes that VPP will return during a HW write.
rc_t wait()
Wait on the commands promise.
std::string to_string() const
convert to string format for debug purposes
A representation of the connection to VPP.
A base class for all RPC commands to VPP.
std::string to_string() const
convert to string format for debug purposes
#define VAPI_CALL(_stmt)
Convenince wrapper macro for error handling in VAPI sends.
rc_t issue(connection &con)
Issue the command to VPP/HW.
vapi::Connection & ctx()
Retrun the VAPI context the commands will use.
The VPP Object Model (VOM) library.
HW::item< bool > & m_hw_item
A reference to an object's HW::item that the command will update.
vapi::Control_ping msg_t
convenient typedef