fprime/Svc/ComSplitter/ComSplitter.hpp
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

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