fprime/Svc/FileDownlink/Warnings.cpp
Thomas Boyer-Chammard c69ff72110
Format Svc and add to CI (#3978)
* Format Svc and add to CI

* Fix comlogger include

* fix assert UTs

* Fix static analysis warning

* formatting
2025-08-04 16:21:47 -07:00

26 lines
865 B
C++

// ======================================================================
// \title Warnings.cpp
// \author bocchino
// \brief cpp file for FileDownlink::Warnings
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
// ======================================================================
#include <Svc/FileDownlink/FileDownlink.hpp>
namespace Svc {
void FileDownlink::Warnings ::fileOpenError() {
this->m_fileDownlink->log_WARNING_HI_FileOpenError(this->m_fileDownlink->m_file.getSourceName());
this->warning();
}
void FileDownlink::Warnings ::fileRead(const Os::File::Status status) {
this->m_fileDownlink->log_WARNING_HI_FileReadError(this->m_fileDownlink->m_file.getSourceName(), status);
this->warning();
}
} // namespace Svc