Commit Graph

6 Commits

Author SHA1 Message Date
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 5ca1a439f3 refactor(exint): improve queue implementation and rename project
- Rename project from extern_interface to external_interface
- Update CMakeLists.txt to use new project name and add compiler flags
- Implement QueueException and related classes in dataqueue.hpp
- Update event handling and thread management in event.cpp
- Modify external_interface initialization and naming conventions
- Update logging and test cases to reflect changes
2024-12-06 16:07:06 +08:00
Ovizro 539ea0e170 refactor(extern_interface): implement deinitialization and improve event handling
- Add extern_interface_deinit() function for proper deinitialization
- Implement event queue with move semantics for better performance
- Update telemetry and alarm handling logic
- Refactor code to use more modern C++ features and improve readability
2024-12-02 14:48:26 +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