Epok Engine

EPOK RUNTIME

epok::sequence::Note::initialize

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.

Method

Performs `initialize` as part of PSX kernel ownership, interrupts and low-level services.

Belongs to
epok::sequence::Note
Header
sequence_kernel.hpp
Overloads
1

Declaration

Declaration
void initialize(uint64_t serial,uint8_t input_channel,uint8_t input_key,uint8_t input_velocity,bool enabled=true)

Performs `initialize` as part of PSX kernel ownership, interrupts and low-level services.

ParameterTypeMeaning
serialuint64_tNot documented; consult the linked header.
input_channeluint8_tNot documented; consult the linked header.
input_keyuint8_tNot documented; consult the linked header.
input_velocityuint8_tNot documented; consult the linked header.
enabledboolNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "sequence_kernel.hpp"

// Assume these named values have been initialized with valid data:
// uint64_t serial
// uint8_t input_channel
// uint8_t input_key
// uint8_t input_velocity
// bool enabled

epok::sequence::Note& object = /* obtain a valid instance */;

object.initialize(serial, input_channel, input_key, input_velocity, enabled);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/sequence_kernel.hpp:43