Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Performs `prepare` as part of the instrument preparation module.
bool prepare(const BankView& bank,const sequence::Event* events,uint32_t size,uint16_t ppqn)Performs `prepare` as part of the instrument preparation module.
| Parameter | Type | Meaning |
|---|---|---|
bank | const BankView & | Not documented; consult the linked header. |
events | const sequence::Event * | Not documented; consult the linked header. |
size | uint32_t | Not documented; consult the linked header. |
ppqn | uint16_t | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "instrument_preparation.hpp"
// Assume these named values have been initialized with valid data:
// const BankView & bank
// const sequence::Event * events
// uint32_t size
// uint16_t ppqn
epok::instrument::preparation::Cache& object = /* obtain a valid instance */;
auto result = object.prepare(bank, events, size, ppqn);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/instrument_preparation.hpp:101
CacheConstructs `epok::instrument::preparation::Cache` for the instrument preparation module.constructorfindFinds find as part of the instrument preparation module.MethodinsertPerforms `insert` as part of the instrument preparation module.MethodslotPerforms `slot` as part of the instrument preparation module.Method