A possibility for an event system is to make events consumable. That is, a certain delegate can tell the event system to stop sending out the event it just received as other delegates shouldn’t be handling it any more.
Category: C++
Event System (C++)
If you want to have two objects communicate with each other without coupling them, the observer design pattern might just do what you want. But what if you want more?
Unit Testing – Google Mock
Another part of Google Test’s GitHub repository is Google Mock. This is Google’s framework for writing and using C++ mock… Read more Unit Testing – Google Mock
Unit Testing – CTest
CTest is a testing tool distributed as part of CMake. So, if you’re not using a Visual Studio solution and… Read more Unit Testing – CTest
Unit Testing – Google Test (C++)
Microsoft’s unit testing framework for C++ is not the only testing framework Visual Studio supports. The “Desktop Development With C++”-workload… Read more Unit Testing – Google Test (C++)
Unit Testing – Microsoft CppUnitTest Framework (C++)
Regardless of whether you write unit tests by choice or because you are forced to, it is beneficial to have… Read more Unit Testing – Microsoft CppUnitTest Framework (C++)
Setting up a Project for Multi-Platform Development – Visual Studio
Setting up a project for multi-platform development can be quite easy. Just add a new solution platform and you’re done!… Read more Setting up a Project for Multi-Platform Development – Visual Studio