F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
BlockDriver.hpp
Go to the documentation of this file.
1 #ifndef REF_BLOCK_DRIVER_IMPL_HPP
2 #define REF_BLOCK_DRIVER_IMPL_HPP
3 
4 #include <Ref/BlockDriver/BlockDriverComponentAc.hpp>
5 
6 namespace Ref {
7 
8 class BlockDriver final : public BlockDriverComponentBase {
9  public:
10  // Only called by derived class
11  BlockDriver(const char* compName);
12 
13  ~BlockDriver();
14 
15  private:
16  // downcalls for input ports
17  void BufferIn_handler(FwIndexType portNum, Drv::DataBuffer& buffer);
18  void Sched_handler(FwIndexType portNum, U32 context);
21  void PingIn_handler(const FwIndexType portNum,
22  U32 key
23  );
24 
25  // cycle count
26  U32 m_cycles;
27 };
28 } // namespace Ref
29 
30 #endif
BlockDriver(const char *compName)
Definition: BlockDriver.cpp:7
PlatformIndexType FwIndexType