What would be the clean way to have a text label display the DAW's transport position?

So this is the proper way I assume:

  • the process function updating a member variable holding the current projectTimeMusic value.
  • A timer thread sending said projectTimeMusic values to the controller, via a ConnectionPoint.

Now here is my next question:

  • How can I get a controller from within say the processor’s constructor, so I can set up a connection between the two?