How tsukini22/libutils works
Utils is a reusable C++ utility library rather than a single end-user application. Its broad runtime capabilities include command-line parsing, networking and message handling, security, algorithms, process facilities, and general-purpose types and math. A typical user calls a library API and receives parsed arguments, network payloads, or utility computations. The sampled code confirms argument parsing, client/server socket use, and EETP encoding/encryption; other branches are represented from the tree and README, without assuming their internal wiring.
Main entry points: Client.hpp Network client · Server.hpp Network server · EETPParser.hpp EETP parser · Socket.hpp Socket layer
Components 21
User Interfaces
- Argument parser
include/utils/arguments/ArgParser.hpp - CLI helpers
include/utils/cli/Cli.hpp
Communication
- Network client
include/utils/network/Client.hpp - Network server
include/utils/network/Server.hpp - Socket layer
include/utils/network/socket/Socket.hpp - Network types
include/utils/network/NetworkType.hpp - EETP parser
include/utils/manip/smanip/parser/EETPParser.hpp
Security and Formatting
- Encryption keys
include/utils/security/encryption/AESKey.hpp - Codec utilities
include/utils/manip/smanip/codec/Codec.hpp - Formatting tools
include/utils/manip/smanip/format.hpp
Algorithms and Types
- S.O.S. algorithms
include/utils/algorithms/sos/sos.hpp - C2DMP-HSM algorithm
include/utils/algorithms/c2dmp-hsm/c2dmp-hsm.hpp - Math and geometry
include/utils/math/MathType.hpp - Vectors and matrices
include/utils/type/vector/Vector.hpp
Runtime Support
- Worker pool
include/utils/pool/Cluster.hpp - Process facilities
include/utils/encapsulation/Process.hpp - Scheduler
include/utils/system/Scheduler.hpp - Observer utilities
include/utils/security/observer/Observer.hpp - Exception system
include/utils/exception/IException.hpp - System utilities
include/utils/system/IdHandler.hpp
Other components
- Library users
Connections 12
- Library users → Argument parser: parse arguments
- Library users → CLI helpers: use CLI helpers
- Library users → Network client: send and receive
- Library users → Network server: serve payloads
- Library users → S.O.S. algorithms: invoke algorithms
- Library users → C2DMP-HSM algorithm: invoke algorithm
- Network client → Socket layer: uses socket
- Network server → Socket layer: accepts and reads
- Network client → Network types: exchanges payloads
- Network server → Network types: buffers payloads
- EETP parser → Encryption keys: encrypts and decrypts
- EETP parser → Codec utilities: encodes and decodes