F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
DefaultConsole.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Posix/DefaultConsole.cpp
3
// \brief sets default Os::Console to posix implementation via linker
4
// ======================================================================
5
#include "
Os/Console.hpp
"
6
#include "
Os/Posix/Console.hpp
"
7
#include "
Os/Delegate.hpp
"
8
9
namespace
Os
{
10
ConsoleInterface
*
ConsoleInterface::getDelegate
(
ConsoleHandleStorage
& aligned_new_memory,
const
ConsoleInterface
* to_copy) {
11
return
Os::Delegate::makeDelegate<ConsoleInterface, Os::Posix::Console::PosixConsole>(aligned_new_memory, to_copy);
12
}
13
}
Console.hpp
Delegate.hpp
ConsoleHandleStorage
U8 ConsoleHandleStorage[FW_CONSOLE_HANDLE_MAX_SIZE]
Definition:
Os.hpp:11
Console.hpp
Os::ConsoleInterface
Definition:
Console.hpp:19
Os::ConsoleInterface::getDelegate
static ConsoleInterface * getDelegate(ConsoleHandleStorage &aligned_placement_new_memory, const ConsoleInterface *to_copy=nullptr)
provide a pointer to a console delegate object
Definition:
DefaultConsole.cpp:10
Os
Definition:
DirectoryOpenModeEnumAc.cpp:13
Os
Posix
DefaultConsole.cpp
Generated by
1.9.1