The pipe to VPP into which we write the commands.
More...
The pipe to VPP into which we write the commands.
Definition at line 187 of file hw.hpp.
◆ cmd_q()
VOM::HW::cmd_q::cmd_q |
( |
| ) |
|
Constructor.
Definition at line 22 of file hw.cpp.
◆ ~cmd_q()
VOM::HW::cmd_q::~cmd_q |
( |
| ) |
|
Destructor.
Definition at line 29 of file hw.cpp.
◆ connect()
bool VOM::HW::cmd_q::connect |
( |
| ) |
|
|
virtual |
Blocking Connect to VPP - call once at bootup.
Definition at line 76 of file hw.cpp.
◆ disable()
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 111 of file hw.cpp.
◆ disconnect()
void VOM::HW::cmd_q::disconnect |
( |
| ) |
|
|
virtual |
Disconnect to VPP.
Definition at line 89 of file hw.cpp.
◆ enable()
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 105 of file hw.cpp.
◆ enqueue() [1/3]
void VOM::HW::cmd_q::enqueue |
( |
cmd * |
c | ) |
|
|
virtual |
Enqueue a command into the Q.
Definition at line 51 of file hw.cpp.
◆ enqueue() [2/3]
void VOM::HW::cmd_q::enqueue |
( |
std::shared_ptr< cmd > |
c | ) |
|
|
virtual |
Enqueue a command into the Q.
Definition at line 59 of file hw.cpp.
◆ enqueue() [3/3]
void VOM::HW::cmd_q::enqueue |
( |
std::queue< cmd *> & |
c | ) |
|
|
virtual |
Enqueue a set of commands.
Definition at line 65 of file hw.cpp.
◆ operator=()
Copy assignement - only used in UT.
Definition at line 34 of file hw.cpp.
◆ write()
rc_t VOM::HW::cmd_q::write |
( |
| ) |
|
|
virtual |
Write all the commands to HW.
Definition at line 117 of file hw.cpp.
The documentation for this class was generated from the following files: