mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
15 lines
671 B
C++
15 lines
671 B
C++
// ======================================================================
|
|
// \title Os/Posix/DefaultConsole.cpp
|
|
// \brief sets default Os::Console to posix implementation via linker
|
|
// ======================================================================
|
|
#include "Os/Console.hpp"
|
|
#include "Os/Delegate.hpp"
|
|
#include "Os/Posix/Console.hpp"
|
|
|
|
namespace Os {
|
|
ConsoleInterface* ConsoleInterface::getDelegate(ConsoleHandleStorage& aligned_new_memory,
|
|
const ConsoleInterface* to_copy) {
|
|
return Os::Delegate::makeDelegate<ConsoleInterface, Os::Posix::Console::PosixConsole>(aligned_new_memory, to_copy);
|
|
}
|
|
} // namespace Os
|