https://github.com/nokia/domino-library
Reuse-lib of C++
https://github.com/nokia/domino-library
Last synced: 11 months ago
JSON representation
Reuse-lib of C++
- Host: GitHub
- URL: https://github.com/nokia/domino-library
- Owner: nokia
- License: bsd-3-clause
- Created: 2022-03-02T09:18:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T08:12:49.000Z (about 2 years ago)
- Last Synced: 2024-04-22T13:02:24.412Z (about 2 years ago)
- Language: C++
- Homepage:
- Size: 927 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/nokia/domino-library/actions/workflows/ci.yml)
[](https://codecov.io/gh/nokia/domino-library)

# Domino Library
Reuse-Library of C++, include classes eg:
1. ObjAnywhere ([手册*](https://mp.weixin.qq.com/s/SYE3xkz-Zqp-l46ZpjnKWg))
How to get any **object anywhere** in a program directly (not by passing parameter)?
2. Domino(s) ([手册*](https://mp.weixin.qq.com/s/ckF2LXH4hDcIYbZNqSIb0g))
How can a program **adaptively** perform at its best in any scenario?
3. MsgSelf ([手册*](https://mp.weixin.qq.com/s/aPjhY7nRmlD4xHhUL_ykxg))
How to avoid nested callback?
4. SmartLog ([手册](https://mp.weixin.qq.com/s/KNKBC-uHOylRXxpspZbVnA) | [Manual](https://mp.weixin.qq.com/s/X3XZOGOQGDQtwQDEPNA32A))
How to collect only error related logs? eg, only print for failed ut case(s):

5. ThreadBack ([手册*](https://mp.weixin.qq.com/s/bb1slMqhuoBLZZCd3NmbYA))
How to coordinate main thread(containing all logic) with other threads(time-consuming tasks)
**(*) English manual is not ready yet.**
# New Practices
1. UT testcase is requirement. (Refer to ./ut/\*/\*.cpp)
UT testcases are also the best way to understand how to use the classes.
3. LEGO domino classes. (Refer to ./ut/obj_anywhere/UtInitObjAnywhere.hpp)
# How to use this library?
Just copy the source code into your project. Please obey its license.
# Contribution
(not ready yet)
# Contact
sz.chen@nokia-sbell.com