Commit Graph

6 Commits

Author SHA1 Message Date
ovizro f46f39b2b2 feat(event): implement event handling mechanism
- Add event registration and triggering functionality
- Implement event callback mechanism
- Update exint_send to support event type
- Modify alarm and command handlers to use event mechanism
- Update test cases for event handling
2024-12-24 22:50:03 +08:00
ovizro 53a5fe6d50 feat(core): rename and restructure event handling and initialization
- Rename exint_init to exint_initialize
- Update event handling to use multiple threads
- Add epoch checking to DataQueue
- Modify config reading logic
- Update build scripts
- Refactor test cases
2024-12-14 14:39:28 +08:00
ovizro ccaa4908b5 refactor(logging): implement get_logger and set_logger functions
- Add get_logger and set_logger functions to manage global logger
- Update Logger class to use unique_ptr for child loggers
- Modify get_child method to use template and transfer ownership
- Update logging initialization and shutdown processes
- Adjust test cases to use new logger management functions
2024-12-10 15:53:48 +08:00
ovizro 610a7e4008 refactor(project): remove unused DataQueue implementation and CCfgFileParser
- Removed DataQueue and CCfgFileParser classes
- Deleted related source files and Makefile
- Updated .gitignore to exclude new directories
- Modified CMakeLists.txt to add library output path
- Added new memory comparison assertion macros in c_testcase.h
2024-12-06 22:08:52 +08:00
ovizro a2f04fb3cb refactor(comframe): move common definitions and implement serial port functions
- Move common definitions from defines.h to comframe.h
- Implement get_com_tty_id and init_tty functions in comframe.cpp
- Update extern_interface to use pthreads and inicpp
- Simplify event handling in event.cpp
- Remove unused includes and cleanup code in various files
2024-11-29 18:07:35 +08:00
ovizro 9bf7306aa2 init repo 2024-11-28 16:31:00 +08:00