serial.h(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– serial.h(3) β€” it's giving "Library Functions Manual" energy ✨

okay bestie, so this is the man page for serial.h, straight out of the Library Functions Manual β€” GNU CommonC++ edition, no less. it's a C++ header, and it's here to give you all the serial I/O services you could ever want. let's get into it 🫢


✨ NAME ✨

serial.h β€” Serial I/O services. that's it, that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

#include <cc++/missing.h>
#include <cc++/thread.h>
#include <cc++/exception.h>

like, include all three, bestie. don't skip any. ✨

πŸ‘‘ Classes

  • class ost::Serial β€” the blueprint, the blueprintiest blueprint. Serial is the base class for all serial I/O services under APE. everything else is basically standing on its shoulders fr fr.
  • class ost::TTYStream β€” TTY streams are for serial connections that are fully "streamable" objects, meaning they play nice with C++ stream classes and all their friends. iconic behaviour honestly.
  • class ost::ttystream β€” lowercase ttystream, the more natural C++ ttystream class, specifically for non-threaded applications. for the lowkey girlies who don't wanna deal with threads πŸŽ€
  • class ost::TTYSession β€” this one aggragates a TTYStream and a Common C++ Thread, which is assumed to be the execution context used to actually perform the I/O operations. it's a package deal πŸ’–
  • class ost::SerialPort β€” the serial port is an internal class that gets attached to a specified SerialService thread and then serviced by it. attached and serviced, periodt.
  • class ost::SerialService β€” the SerialService is a thread service object whose whole job is servicing attached serial ports. it's the main character of the thread pool 🌟

πŸ¦‹ Namespaces

  • ost

πŸ“ Macros

  • #define INVALID_HANDLE_VALUE (-1)

πŸ’œ Typedefs

  • typedef int HANDLE

🌈 Variables

  • class __EXPORT ost::SerialPort
  • class __EXPORT ost::SerialService

🌟 Detailed Description 🌟

Serial I/O services. short, sweet, and literally the entire point of this header. ✨


🧚 Macro Definition Documentation 🧚

#define INVALID_HANDLE_VALUE (-1)

yeah so INVALID_HANDLE_VALUE is defined as (-1). that's the whole entry. no notes. πŸ’…


πŸ’€ Typedef Documentation πŸ’€

typedef int HANDLE

HANDLE is just an int. that's it. that's the typedef. iconic minimalism, honestly πŸ™ˆ


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for GNU CommonC++ from the source code. so like, not a human, a robot did this. respect. πŸ€–πŸ’–


and that's a wrap bestie!! this page came to you courtesy of GNU CommonC++, dated Sun Dec 27 2020 β€” so go forth, wire up those serial ports, and slay πŸ‘‘πŸ¦‹βœ¨

πŸ“¦ where this page comes from