fprime/Svc/BufferAccumulator/BufferAccumulator.fpp
kubiak-jpl b13a99f122
Update BufferAccumulator to FPv3 (#1944)
* Adding updated BufferAccumulator files to public repo

* Ported BufferAccumulator to FPv3

* Cleanup notes and todos

* Cleanup old build system files

* Updated format of code after a clang-format pass

* Style changes in BufferAccumulator

* Replace NULL with nullptr in BufferAccumulator

* Removed unnecessary cast and void arguments

* Construct initial version of the Fw::Buffer objects to prevent UBSAN error

* Fixing incorrect variable in asser message

* Removing superfluous parenthesis on the placement new

* Adding header for placement new

* Adding explicit operator to appease CPPlint

* Added DRAINBUFFERS and NOBLOCK

* Fixed Tester.cpp void arguments

* Remove void

* Remove void

* remove void

* Remove void

* string header fix

* Update comments in BufferAccumulator fdd

* Update BufferAccumulator.fpp

Fixed spelling error

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
Co-authored-by: Timothy Canham <timothy.canham@jpl.nasa.gov>
2023-04-27 16:32:59 -07:00

53 lines
1.2 KiB
Fortran

module Svc {
active component BufferAccumulator {
include "Commands.fppi"
include "Events.fppi"
include "Telemetry.fppi"
@ Receive a Buffer from an upstream component to enqueue
async input port bufferSendInFill: [1] Fw.BufferSend
@ Receive a Buffer back from a downstream component
async input port bufferSendInReturn: [1] Fw.BufferSend
@ Pass a Buffer onwards to a downstream component
output port bufferSendOutDrain: [1] Fw.BufferSend
@ Return a Buffer to the original upstream component
output port bufferSendOutReturn: [1] Fw.BufferSend
@ Port for receiving commands
command recv port cmdIn
@ Port for sending command registration requests
command reg port cmdRegOut
@ Port for sending command response
command resp port cmdResponseOut
@ Event port for emitting events
event port eventOut
@ Event port for emitting text events
text event port eventOutText
@ Ping input port for health
async input port pingIn: [1] Svc.Ping
@ Ping output port for health
output port pingOut: [1] Svc.Ping
@ A port for getting the time
time get port timeCaller
@ A port for emitting telemetry
telemetry port tlmOut
}
}