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>
#include "Fw/Types/MemAllocator.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
 
Fw::MemAllocatorRef::memAllocator = mallocator
 
Svc::RateGroupDriver::DividerSet rateGroupDivisorsSet {{{1, 0}, {2, 0}, {4, 0}}}
 
Svc::ActiveRateGroup::ContextArray rateGroup1Context (0)
 
Svc::ActiveRateGroup::ContextArray rateGroup2Context (0)
 
Svc::ActiveRateGroup::ContextArray rateGroup3Context (0)
 

Enumeration Type Documentation

◆ TopologyConstants

Enumerator
COMM_PRIORITY 

Definition at line 39 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 50 of file RefTopology.cpp.

Variable Documentation

◆ mallocator

Fw::MallocAllocator mallocator

Definition at line 23 of file RefTopology.cpp.

◆ rateGroup1Context

Svc::ActiveRateGroup::ContextArray rateGroup1Context(0)

◆ rateGroup2Context

Svc::ActiveRateGroup::ContextArray rateGroup2Context(0)

◆ rateGroup3Context

Svc::ActiveRateGroup::ContextArray rateGroup3Context(0)

◆ rateGroupDivisorsSet

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

Definition at line 31 of file RefTopology.cpp.