#include <transaction_data_buffer_pool.h>
|
| | TransactionDataBuffer (unsigned num_bytes) |
| |
| virtual | ~TransactionDataBuffer () |
| |
| unsigned | numBytes () const |
| | Returns the maximum number of bytes in the data buffer, it is not affected by reSize and clear.
|
| |
| unsigned char * | dataPtr () const |
| | Returns the data pointer to the data buffer.
|
| |
| void | copyToBuffer (const transaction_t *transaction) |
| | Copy the bytes from transaction to buffer_.
|
| |
| void | copyFromBuffer (const transaction_t *transaction) |
| | Copy the bytes_ to transaction.
|
| |
◆ TransactionDataBuffer()
| simics::systemc::iface::TransactionDataBuffer::TransactionDataBuffer |
( |
unsigned |
num_bytes | ) |
|
|
inlineexplicit |
- Parameters
-
| num_bytes | the maximum number of bytes supported in this data buffer |
◆ ~TransactionDataBuffer()
| virtual simics::systemc::iface::TransactionDataBuffer::~TransactionDataBuffer |
( |
| ) |
|
|
inlinevirtual |
◆ copyFromBuffer()
| void simics::systemc::iface::TransactionDataBuffer::copyFromBuffer |
( |
const transaction_t * |
transaction | ) |
|
|
inline |
Copy the bytes_ to transaction.
◆ copyToBuffer()
| void simics::systemc::iface::TransactionDataBuffer::copyToBuffer |
( |
const transaction_t * |
transaction | ) |
|
|
inline |
Copy the bytes from transaction to buffer_.
◆ dataPtr()
| unsigned char * simics::systemc::iface::TransactionDataBuffer::dataPtr |
( |
| ) |
const |
|
inline |
Returns the data pointer to the data buffer.
◆ numBytes()
| unsigned simics::systemc::iface::TransactionDataBuffer::numBytes |
( |
| ) |
const |
|
inline |
Returns the maximum number of bytes in the data buffer, it is not affected by reSize and clear.
The documentation for this class was generated from the following file: