arm4::util::QArmTransactionEventCounter Class Reference
[ARM 4.0 Support Classes]
An event handling ARM transaction container. The transaction is started if the first event started and stopped when the last event finished. More...
Inheritance diagram for arm4::util::QArmTransactionEventCounter:
Public Member Functions | |
| QArmTransactionEventCounter (QArmTransaction &tran, const QArmCorrelator &parent=QArmCorrelator::Null, int32_t status=QArmConstants::STATUS_UNKNOWN, bool destroy=false) | |
| Initializes an ARM transaction event counter. It starts the ARM transaction when the first event started and stops the measurement when the last event* finished. | |
| void | reset () |
| Resets the transaction event counter and possible drops a started transaction. | |
| void | started () |
| Indicates that an event started. | |
| bool | finished () |
| Indicates that an event finished. | |
Detailed Description
An event handling ARM transaction container. The transaction is started if the first event started and stopped when the last event finished.
Constructor & Destructor Documentation
| arm4::util::QArmTransactionEventCounter::QArmTransactionEventCounter | ( | QArmTransaction & | tran, | |
| const QArmCorrelator & | parent = QArmCorrelator::Null, |
|||
| int32_t | status = QArmConstants::STATUS_UNKNOWN, |
|||
| bool | destroy = false | |||
| ) |
Initializes an ARM transaction event counter. It starts the ARM transaction when the first event started and stops the measurement when the last event* finished.
- Parameters:
-
tran ARM transaction to start and stop parent Parent correlator status Default transaction status to use on stop call destroy If true destroy the ARM transaction instance
Member Function Documentation
| bool arm4::util::QArmTransactionEventCounter::finished | ( | ) |
Indicates that an event finished.
- Returns:
- true if transaction was stopped otherwise false
| void arm4::util::QArmTransactionEventCounter::started | ( | ) |
Indicates that an event started.
- Note:
- The first event will start the ARM transaction
The documentation for this class was generated from the following file:
- QArm4/Util/QArmTransactionEventCounter
