A borrowed port from the port pool of nes test base class. It manages garbage collection internally when dtor is called.
More...
#include <BorrowedPort.hpp>
A borrowed port from the port pool of nes test base class. It manages garbage collection internally when dtor is called.
◆ BorrowedPort()
NES::Testing::BorrowedPort::BorrowedPort |
( |
uint16_t |
port, |
|
|
uint32_t |
portIndex, |
|
|
detail::PortDispatcher * |
parent |
|
) |
| |
|
explicit |
Creates a new port wrapper object.
- Parameters
-
port | the port value |
portIndex | the index of the port in the pool |
parent | the pool object |
◆ ~BorrowedPort()
NES::Testing::BorrowedPort::~BorrowedPort |
( |
| ) |
|
|
noexcept |
◆ operator uint16_t()
NES::Testing::BorrowedPort::operator uint16_t |
( |
| ) |
const |
The documentation for this class was generated from the following files: