![]() This post will show you what the pattern is, explain some of the finerĭetails, and provide guidance on when you should and shouldn’t use it. Resembling objects by using a design pattern known as the “opaque pointer”. Objects are not a native concept in C, but you can achieve something Like the current position of read and write pointers. ![]() Instances of a ring buffer (aka circular FIFO queue) on your system. For example, you may want to have several I’m not a big proponent of OOP in general,īut I do think having an “instance” of something which contains stateful data is a generally I’ve written a lot of C++ in my career, but I still prefer to design inĬ for most embedded projects (“why” is the subject of a much longer, rant-filled post).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |