The pipe to VPP into which we write the commands.
More...
The pipe to VPP into which we write the commands.
Definition at line 186 of file hw.hpp.
VOM::HW::cmd_q::cmd_q |
( |
| ) |
|
Constructor.
Definition at line 21 of file hw.cpp.
VOM::HW::cmd_q::~cmd_q |
( |
| ) |
|
Destructor.
Definition at line 28 of file hw.cpp.
bool VOM::HW::cmd_q::connect |
( |
| ) |
|
|
virtual |
Blocking Connect to VPP - call once at bootup.
Definition at line 75 of file hw.cpp.
void VOM::HW::cmd_q::disable |
( |
| ) |
|
Disable the passing of commands to VPP.
Whilst disabled all writes will be discarded. Use this during the reset phase.
Definition at line 110 of file hw.cpp.
void VOM::HW::cmd_q::disconnect |
( |
| ) |
|
|
virtual |
Disconnect to VPP.
Definition at line 88 of file hw.cpp.
void VOM::HW::cmd_q::enable |
( |
| ) |
|
Enable the passing of commands to VPP - undoes the disable.
The Q is enabled by default.
Definition at line 104 of file hw.cpp.
void VOM::HW::cmd_q::enqueue |
( |
cmd * |
c | ) |
|
|
virtual |
Enqueue a command into the Q.
Definition at line 50 of file hw.cpp.
void VOM::HW::cmd_q::enqueue |
( |
std::shared_ptr< cmd > |
c | ) |
|
|
virtual |
Enqueue a command into the Q.
Definition at line 58 of file hw.cpp.
void VOM::HW::cmd_q::enqueue |
( |
std::queue< cmd * > & |
c | ) |
|
|
virtual |
Enqueue a set of commands.
Definition at line 64 of file hw.cpp.
Copy assignement - only used in UT.
Definition at line 33 of file hw.cpp.
rc_t VOM::HW::cmd_q::write |
( |
| ) |
|
|
virtual |
Write all the commands to HW.
Definition at line 116 of file hw.cpp.
The documentation for this class was generated from the following files: