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.
void VOM::HW::cmd_q::connect |
( |
| ) |
|
|
virtual |
Blocking Connect to VPP - call once at bootup.
Definition at line 80 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 105 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 99 of file hw.cpp.
void VOM::HW::cmd_q::enqueue |
( |
cmd * |
c | ) |
|
|
virtual |
Enqueue a command into the Q.
Definition at line 55 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 63 of file hw.cpp.
void VOM::HW::cmd_q::enqueue |
( |
std::queue< cmd * > & |
c | ) |
|
|
virtual |
Enqueue a set of commands.
Definition at line 69 of file hw.cpp.
Copy assignement - only used in UT.
Definition at line 38 of file hw.cpp.
rc_t VOM::HW::cmd_q::write |
( |
| ) |
|
|
virtual |
Write all the commands to HW.
Definition at line 111 of file hw.cpp.
The documentation for this class was generated from the following files: