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>
bool operator==(const poll &i) const
Comparison operator - only used for UT.
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.
rc_t issue(connection &con)
Issue the command to VPP/HW.
The VPP Object Model (VOM) library.
std::string to_string() const
convert to string format for debug purposes
HW::item< bool > & item()
return the HW item the command updates