F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
ComStub.hpp
Go to the documentation of this file.
1// ======================================================================
2// \title ComStub.hpp
3// \author mstarch
4// \brief hpp file for ComStub component implementation class
5// ======================================================================
6
7#ifndef Svc_ComStub_HPP
8#define Svc_ComStub_HPP
9
11
12namespace Svc {
13
15 public:
17 // ----------------------------------------------------------------------
18 // Construction, initialization, and destruction
19 // ----------------------------------------------------------------------
20
23 ComStub(const char* const compName
24 );
25
28 ~ComStub() override;
29
30 private:
31 // ----------------------------------------------------------------------
32 // Handler implementations for user-defined typed input ports
33 // ----------------------------------------------------------------------
34
37 Drv::SendStatus comDataIn_handler(const NATIVE_INT_TYPE portNum,
38 Fw::Buffer& sendBuffer) override;
39
42 void drvConnected_handler(const NATIVE_INT_TYPE portNum) override;
43
46 void drvDataIn_handler(const NATIVE_INT_TYPE portNum,
Fw::Buffer& recvBuffer,
48 const Drv::RecvStatus& recvStatus) override;
49
50 bool m_reinitialize;
51};
52
53} // end namespace Svc
54
55#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:55
PlatformUIntType NATIVE_UINT_TYPE
Definition BasicTypes.h:56
Status associated with the received data.
Status returned by the send call.
Auto-generated base for ComStub component.
const NATIVE_UINT_TYPE RETRY_LIMIT
Definition ComStub.hpp:16
~ComStub() override
Definition ComStub.cpp:19