mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
54 lines
1.4 KiB
C++
54 lines
1.4 KiB
C++
// ======================================================================
|
|
// \title StreamCrossover.hpp
|
|
// \author ethanchee
|
|
// \brief hpp file for StreamCrossover component implementation class
|
|
// ======================================================================
|
|
|
|
#ifndef StreamCrossover_HPP
|
|
#define StreamCrossover_HPP
|
|
|
|
#include "Drv/StreamCrossover/StreamCrossoverComponentAc.hpp"
|
|
|
|
namespace Drv {
|
|
|
|
class StreamCrossover final :
|
|
public StreamCrossoverComponentBase
|
|
{
|
|
|
|
public:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Construction, initialization, and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Construct object StreamCrossover
|
|
//!
|
|
StreamCrossover(
|
|
const char *const compName /*!< The component name*/
|
|
);
|
|
|
|
//! Destroy object StreamCrossover
|
|
//!
|
|
~StreamCrossover();
|
|
|
|
PRIVATE:
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Handler implementations for user-defined typed input ports
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Handler implementation for streamIn
|
|
//!
|
|
void streamIn_handler(
|
|
const FwIndexType portNum, /*!< The port number*/
|
|
Fw::Buffer &recvBuffer,
|
|
const Drv::RecvStatus &recvStatus
|
|
);
|
|
|
|
|
|
};
|
|
|
|
} // end namespace Drv
|
|
|
|
#endif
|