mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 16:29:04 -06:00
56 lines
1.9 KiB
C++
56 lines
1.9 KiB
C++
// ======================================================================
|
|
// \title LinuxSerialDriverImpl.cpp
|
|
// \author tcanham
|
|
// \brief cpp file for LinuxSerialDriver component implementation class
|
|
//
|
|
// \copyright
|
|
// Copyright 2009-2015, by the California Institute of Technology.
|
|
// ALL RIGHTS RESERVED. United States Government Sponsorship
|
|
// acknowledged. Any commercial use must be negotiated with the Office
|
|
// of Technology Transfer at the California Institute of Technology.
|
|
//
|
|
// This software may be subject to U.S. export control laws and
|
|
// regulations. By accepting this document, the user agrees to comply
|
|
// with all U.S. export laws and regulations. User has the
|
|
// responsibility to obtain export licenses, or other export authority
|
|
// as may be required before exporting such information to foreign
|
|
// countries or providing access to foreign persons.
|
|
// ======================================================================
|
|
|
|
|
|
#include <Drv/LinuxSerialDriver/LinuxSerialDriverComponentImpl.hpp>
|
|
|
|
namespace Drv {
|
|
|
|
LinuxSerialDriverComponentImpl ::
|
|
~LinuxSerialDriverComponentImpl(void)
|
|
{
|
|
|
|
}
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Handler implementations for user-defined typed input ports
|
|
// ----------------------------------------------------------------------
|
|
|
|
void LinuxSerialDriverComponentImpl ::
|
|
serialSend_handler(
|
|
const NATIVE_INT_TYPE portNum,
|
|
Fw::Buffer &serBuffer
|
|
)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
void LinuxSerialDriverComponentImpl ::
|
|
startReadThread(NATIVE_INT_TYPE priority, NATIVE_INT_TYPE stackSize, NATIVE_INT_TYPE cpuAffinity) {
|
|
}
|
|
|
|
bool LinuxSerialDriverComponentImpl::open(const char* const device, UartBaudRate baud, UartFlowControl fc, UartParity parity, bool block) {
|
|
|
|
}
|
|
|
|
void LinuxSerialDriverComponentImpl ::
|
|
quitReadThread(void) {
|
|
}
|
|
} // end namespace Drv
|