16 #ifndef __VOM_HW_CMDS_H__ 17 #define __VOM_HW_CMDS_H__ 20 #include <vapi/vpe.api.vapi.hpp> 30 class poll :
public rpc_cmd<HW::item<bool>, vapi::Control_ping>
poll(HW::item< bool > &item)
Constructor taking the HW::item to update.
Error codes that VPP will return during a HW write.
A command poll the HW for liveness.
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
rc_t issue(connection &con)
Issue the command to VPP/HW.
bool operator==(const poll &i) const
Comparison operator - only used for UT.
The VPP Object Model (VOM) library.
HW::item< bool > & item()
return the HW item the command updates