Dataflow Runtime API
3.1.1.0
|
Interface of I2C transaction queue. More...
#include <Imt.Base.Dff.ActiveParts.STM32F103HD/I2C/I2CTransactionQueueIfc.h>
Public Member Functions | |
virtual | ~I2CTransactionQueueIfc (void) |
Destructor. More... | |
virtual void | setRemainingDataOperations (const uint8_t numberOfDataOperations)=0 |
Set the remaining data operations to complete on the current transaction item. More... | |
virtual uint8_t | getRemainingDataOperations (void) const =0 |
Return the remaining data operations to complete on the current transaction item. More... | |
virtual void | setDataOperationProcessed (void)=0 |
Mark a data operations as completed. More... | |
virtual void | push (const imt::base::dff::activeparts::stm32f103hd::protocol::I2CMasterTransactionProtocol &newValue)=0 |
Add a value to the buffer (overwrite oldest if full). More... | |
virtual imt::base::dff::activeparts::stm32f103hd::protocol::I2CMasterTransactionProtocol & | top (void)=0 |
The value on the top of the buffer. More... | |
virtual imt::base::dff::activeparts::stm32f103hd::protocol::I2CMasterTransactionProtocol | pop (void)=0 |
The value on the top of the buffer. More... | |
virtual bool | isEmpty (void) const =0 |
Returns true if no transaction item is on the queue. More... | |
virtual bool | isFull (void) const =0 |
Returns true if the queue is full. More... | |
virtual uint16_t | getSizeUsed (void) const =0 |
Get the number of items in the buffer. More... | |
Interface of I2C transaction queue.
|
inlinevirtual |
Destructor.
|
pure virtual |
Return the remaining data operations to complete on the current transaction item.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
Get the number of items in the buffer.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
Returns true if no transaction item is on the queue.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
Returns true if the queue is full.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
The value on the top of the buffer.
The value will be removed from the buffer. There is no check if the value is valid. To check this use isEmpty.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
Add a value to the buffer (overwrite oldest if full).
newValue | The value to be added. |
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
Mark a data operations as completed.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
Set the remaining data operations to complete on the current transaction item.
numberOfDataOperations | Number of remaining data operations. |
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.
|
pure virtual |
The value on the top of the buffer.
The value will not be removed from the buffer. There is no check if the value is valid. To check this use isEmpty.
Implemented in imt::base::dff::activeparts::stm32f103hd::i2c::I2CTransactionQueue< TransactionQueueSize >.