F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
ComSplitter.hpp
Go to the documentation of this file.
1// ----------------------------------------------------------------------
2//
3// ComSplitter.hpp
4//
5// ----------------------------------------------------------------------
6
7#ifndef COMSPLITTER_HPP
8#define COMSPLITTER_HPP
9
10#include <Svc/ComSplitter/ComSplitterComponentAc.hpp>
11#include <Fw/Types/Assert.hpp>
12
13namespace Svc {
14
16 public ComSplitterComponentBase
17 {
18
19 // ----------------------------------------------------------------------
20 // Friend class for whitebox testing
21 // ----------------------------------------------------------------------
22
24
25 // ----------------------------------------------------------------------
26 // Construction, initialization, and destruction
27 // ----------------------------------------------------------------------
28
29 public:
30
31 ComSplitter(const char* compName);
32
34
35 void init(NATIVE_INT_TYPE instance);
36
37 // ----------------------------------------------------------------------
38 // Handler implementations
39 // ----------------------------------------------------------------------
40
41 private:
42
43 void comIn_handler(
44 NATIVE_INT_TYPE portNum,
45 Fw::ComBuffer &data,
46 U32 context
47 );
48
49 };
50
51};
52
53#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
friend class ComSplitterComponentBaseFriend
void init(NATIVE_INT_TYPE instance)