Back to Fprime

F Prime Translation Guide: Software Engineering Terminology to F Prime Nomenclature

docs/reference/fprime-translations.md

4.2.22.6 KB
Original Source

F Prime Translation Guide: Software Engineering Terminology to F Prime Nomenclature

This guide provides a mapping between common software engineering concepts and their equivalent implementations in the F´ framework. It serves as a reference for developers new to F´ development.

Data Structures & Containers

Software ConceptF Prime EquivalentNotes
StringFw::StringSafe string implementation with size limits
BufferFw::BufferMemory buffer with size tracking
QueueOs::QueueThread-safe queue implementation

[!NOTE] Os::Queue is rarely used directly but rather is used via async port calls.

Communication & Synchronization

Software ConceptF Prime EquivalentNotes
Function CallSynchronous PortDirect component-to-component calls
Message QueueAsync PortAsynchronous component communication supported by a queue
Event LoopActive ComponentComponents with their own execution thread
MutexOs::MutexThread synchronization primitive
ThreadOs::TaskOS task abstraction

[!NOTE] Os::Task is rarely used directly but rather is contained within active components.

Memory Management

Software ConceptF Prime EquivalentNotes
Stack AllocationLocal variablesStandard stack allocation
Heap AllocationFw::MemAllocatorManaged heap allocation
Memory PoolingSvc::BufferManagerFixed-size buffer management
Smart PointerFw::BufferBuffer containing pointer, size, and context

System Architecture

Software ConceptF Prime EquivalentNotes
ModuleComponentBasic unit of functionality
InterfacePort(s)Component communication interface
System ServiceService ComponentComponents providing system services
DriverDriver ComponentHardware abstraction components
Runtime ConfigurationParametersComponent configuration management via ground-commanded parameters

Error Handling

Software ConceptF Prime EquivalentNotes
ExceptionAssert + EventAssertion and event logging
Error CodeStatus TypeEnumerated status returns
LoggingEventsSystem event logging framework
Debug PrintFw::LoggerDebug output facility