5 #ifndef Os_Console_hpp_
6 #define Os_Console_hpp_
#define FW_HANDLE_ALIGNMENT
Alignment of handle storage.
PlatformSizeType FwSizeType
C++-compatible configuration header for fprime configuration.
U8 ConsoleHandleStorage[FW_CONSOLE_HANDLE_MAX_SIZE]
Console & operator=(const Console &other)
assignment operator that copies the internal representation
static void write(const Fw::StringBase &message)
write message to console
Console()
Default constructor.
~Console()
Default destructor.
void writeMessage(const CHAR *message, const FwSizeType size) override
write message to console
ConsoleHandle * getHandle() override
returns the raw console handle
static void init()
initialize singleton
static Console & getSingleton()
get a reference to singleton
virtual ~ConsoleInterface()=default
Default destructor.
virtual ConsoleHandle * getHandle()=0
returns the raw console handle
virtual void writeMessage(const CHAR *message, const FwSizeType size)=0
write message to console
ConsoleInterface()=default
Default constructor.
static ConsoleInterface * getDelegate(ConsoleHandleStorage &aligned_placement_new_memory, const ConsoleInterface *to_copy=nullptr)
provide a pointer to a console delegate object
Base class for storing implementation specific handle information.