One of the most common applications for using function pointers is in task schedulers. Every embedded system contains some type of task scheduler whether it is a simple round robin loop or a state of ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
I'm coding an app in C++, using Qt for the GUI and JACK for audio. JACK requires a callback function to be registered for processing the audio signal. If the function in question is a member of a C++ ...
Embedded programming is a tricky task that looks straightforward to the uninitiated, but those with a few decades of experience know differently. Getting what you want to work predictably or even fit ...
Embedded C developers shy away from C++ out of concern for performance. The class construct is one of their main concerns. My previous article Code Craft – Embedding C++: Classes explored whether ...
Delegates are type safe function pointers *with an optional this pointer* thus no need to pass one round yourself. Obviously their utility is much enhanced in contract to C++ by virtue of being part ...