You copied the Doc URL to your clipboard.

PVTransactionMaster protocol

This protocol instantiates a pv::TransactionGenerator object from a PVBusMaster.

createTransactionGenerator( ) : pv::TransactionGenerator *

This behavior instantiates a new transaction generator to control the bus master. A caller can allocate as many TransactionGenerators as it wants. It is up to the caller to delete TransactionGenerators when they are no longer required. For example:

behavior init() {
    tg = master.createTransactionGenerator();
}

behavior terminate() {    
delete tg;
}
Was this page helpful? Yes No