mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* Format Svc and add to CI * Fix comlogger include * fix assert UTs * Fix static analysis warning * formatting
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
// ----------------------------------------------------------------------
|
|
//
|
|
// ComSplitter.hpp
|
|
//
|
|
// ----------------------------------------------------------------------
|
|
|
|
#ifndef COMSPLITTER_HPP
|
|
#define COMSPLITTER_HPP
|
|
|
|
#include <Fw/Types/Assert.hpp>
|
|
#include <Svc/ComSplitter/ComSplitterComponentAc.hpp>
|
|
|
|
namespace Svc {
|
|
|
|
class ComSplitter final : public ComSplitterComponentBase {
|
|
// ----------------------------------------------------------------------
|
|
// Friend class for whitebox testing
|
|
// ----------------------------------------------------------------------
|
|
|
|
friend class ComSplitterComponentBaseFriend;
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Construction, initialization, and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
public:
|
|
ComSplitter(const char* compName);
|
|
|
|
~ComSplitter();
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Handler implementations
|
|
// ----------------------------------------------------------------------
|
|
|
|
private:
|
|
void comIn_handler(FwIndexType portNum, Fw::ComBuffer& data, U32 context);
|
|
};
|
|
|
|
} // namespace Svc
|
|
|
|
#endif
|