F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
RefTopology.cpp File Reference
#include <Ref/Top/RefTopologyAc.hpp>
#include <Fw/Types/MallocAllocator.hpp>

Go to the source code of this file.

Namespaces

 Ref
 

Enumerations

enum  TopologyConstants { COMM_PRIORITY = 34 }
 

Functions

void configureTopology ()
 configure/setup components in project-specific way More...
 
void Ref::setupTopology (const TopologyState &state)
 initialize and run the F´ topology More...
 
void Ref::startRateGroups (const Fw::TimeInterval &interval)
 cycle the rate group driver based in a system timer More...
 
void Ref::stopRateGroups ()
 stop the rate groups More...
 
void Ref::teardownTopology (const TopologyState &state)
 teardown the F´ topology More...
 

Variables

Fw::MallocAllocator mallocator
 
Svc::RateGroupDriver::DividerSet rateGroupDivisorsSet {{{1, 0}, {2, 0}, {4, 0}}}
 
U32 rateGroup1Context [Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {}
 
U32 rateGroup2Context [Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {}
 
U32 rateGroup3Context [Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {}
 

Enumeration Type Documentation

◆ TopologyConstants

Enumerator
COMM_PRIORITY 

Definition at line 34 of file RefTopology.cpp.

Function Documentation

◆ configureTopology()

void configureTopology ( )

configure/setup components in project-specific way

This is a helper function which configures/sets up each component requiring project specific input. This includes allocating resources, passing-in arguments, etc. This function may be inlined into the topology setup function if desired, but is extracted here for clarity.

Definition at line 45 of file RefTopology.cpp.

Variable Documentation

◆ mallocator

Fw::MallocAllocator mallocator

Definition at line 22 of file RefTopology.cpp.

◆ rateGroup1Context

U32 rateGroup1Context[Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {}

Definition at line 30 of file RefTopology.cpp.

◆ rateGroup2Context

U32 rateGroup2Context[Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {}

Definition at line 31 of file RefTopology.cpp.

◆ rateGroup3Context

U32 rateGroup3Context[Svc::ActiveRateGroup::CONNECTION_COUNT_MAX] = {}

Definition at line 32 of file RefTopology.cpp.

◆ rateGroupDivisorsSet

Svc::RateGroupDriver::DividerSet rateGroupDivisorsSet {{{1, 0}, {2, 0}, {4, 0}}}

Definition at line 26 of file RefTopology.cpp.