currentlyPlayingNote in SynthesiserVoice subclass (mono legato handling)

Hello- I’m trying to implement legato handling for a synthesizer that subclasses Synthesiser as well as SynthesiserVoice.

I’ve noticed that currentlyPlayingNote is a private member of SynthesiserVoice, and there is no set method for it, thus making it inaccessible to my subclassed AcidSynthVoice.

Is this an oversight? Or is it intended that I need to override all Synthesiser methods in my AcidSynth subclass that set voice->currentlyPlayingNote to an equivalent variable created in my AcidSynthVoice subclass of SynthesiserVoice?