YSignalSlot
Header only c++ signal slot mechanism implemantation
...Advantages:
- Almost everything is compile-time. So it is fast.
- It can be used with single slot function or unlimited slot functions.
- “emit” function’s return type is pointer of your actual slot function’s return type and it can be any type.
- It supports “void” return type.
- Slot(s) can be set to enable or disable. If slot(s) is/are disabled, signal can’t emit this/these slot(s).
- If slot which emitted is disabled or its return type is void, “emit” function returns “NULL” pointer.
- It works with member slot functions...