Search found 1 match

by piet_de_pad
Tue Mar 19, 2024 10:27 pm
Forum: ESP32 Arduino
Topic: How to call a class method by a pointer
Replies: 1
Views: 1277

How to call a class method by a pointer

I have a question about how to call a class method with a pointer. Below the code of an RTC. The important parts of the code are these. // declaration of a time souce struct with a pointer to method. typedef struct tmSource_t { char id[10]; CLKstate state; CLK_Quality quality; void (RTC_Clock::*pt2f...