mirror of
https://github.com/nasa/fpp.git
synced 2025-12-10 17:29:15 -06:00
Revise state machine code gen
Revise comments Update test harness to comply with changes to F Prime
This commit is contained in:
parent
160c70e21c
commit
3d33756463
@ -736,8 +736,9 @@ case class ComponentInternalStateMachines(
|
||||
),
|
||||
lines(
|
||||
s"""|
|
||||
|//! Friend class the same Tester friends as the enclosing component
|
||||
|//! Autocoded test harness for the enclosing component
|
||||
|friend class ${componentName}TesterBase;
|
||||
|//! Test implementation for the enclosing component
|
||||
|friend class ${componentName}Tester;
|
||||
|"""
|
||||
)
|
||||
|
||||
@ -305,7 +305,7 @@ case class StateMachineCppWriter(
|
||||
),
|
||||
lines(
|
||||
s"""|
|
||||
|//! Friend class tester implementation to support white-box testing
|
||||
|//! Tester class for the state machine
|
||||
|friend class ${name}Tester;
|
||||
|"""
|
||||
)
|
||||
|
||||
@ -70,8 +70,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -128,8 +129,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -188,8 +190,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -256,8 +259,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -324,8 +328,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -379,8 +384,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -442,8 +448,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
@ -507,8 +514,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceActiveTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -76,8 +76,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -134,8 +135,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -194,8 +196,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -262,8 +265,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -330,8 +334,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -385,8 +390,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -448,8 +454,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
@ -513,8 +520,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmChoiceQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmChoiceQueuedTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -68,8 +68,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialActiveTester;
|
||||
|
||||
public:
|
||||
@ -114,8 +115,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialActiveTester;
|
||||
|
||||
public:
|
||||
@ -167,8 +169,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialActiveTester;
|
||||
|
||||
public:
|
||||
@ -213,8 +216,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialActiveTester;
|
||||
|
||||
public:
|
||||
@ -259,8 +263,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialActiveTester;
|
||||
|
||||
public:
|
||||
@ -312,8 +317,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialActiveTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -74,8 +74,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialQueuedTester;
|
||||
|
||||
public:
|
||||
@ -120,8 +121,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialQueuedTester;
|
||||
|
||||
public:
|
||||
@ -173,8 +175,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialQueuedTester;
|
||||
|
||||
public:
|
||||
@ -219,8 +222,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialQueuedTester;
|
||||
|
||||
public:
|
||||
@ -265,8 +269,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialQueuedTester;
|
||||
|
||||
public:
|
||||
@ -318,8 +323,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmInitialQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmInitialQueuedTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -102,8 +102,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -148,8 +149,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -201,8 +203,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -256,8 +259,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -311,8 +315,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -366,8 +371,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -421,8 +427,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -476,8 +483,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -531,8 +539,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -577,8 +586,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -623,8 +633,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -675,8 +686,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -727,8 +739,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -779,8 +792,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -831,8 +845,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -883,8 +898,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -935,8 +951,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -981,8 +998,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -1008,8 +1026,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -1074,8 +1093,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -1162,8 +1182,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -1238,8 +1259,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
@ -1324,8 +1346,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateActiveTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateActiveTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -108,8 +108,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -154,8 +155,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -207,8 +209,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -262,8 +265,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -317,8 +321,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -372,8 +377,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -427,8 +433,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -482,8 +489,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -537,8 +545,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -583,8 +592,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -629,8 +639,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -681,8 +692,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -733,8 +745,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -785,8 +798,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -837,8 +851,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -889,8 +904,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -941,8 +957,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -987,8 +1004,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -1014,8 +1032,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -1080,8 +1099,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -1168,8 +1188,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -1244,8 +1265,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
@ -1330,8 +1352,9 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class the same Tester friends as the enclosing component
|
||||
//! Autocoded test harness for the enclosing component
|
||||
friend class SmStateQueuedTesterBase;
|
||||
//! Test implementation for the enclosing component
|
||||
friend class SmStateQueuedTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -1397,7 +1397,7 @@ class ActiveAsyncProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1446,7 +1446,7 @@ class ActiveCommandsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1423,7 +1423,7 @@ class ActiveEventsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1546,7 +1546,7 @@ class ActiveExternalParamsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1375,7 +1375,7 @@ class ActiveGetProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1397,7 +1397,7 @@ class ActiveGuardedProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1456,7 +1456,7 @@ class ActiveParamsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -2237,7 +2237,7 @@ class ActiveSerialTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1397,7 +1397,7 @@ class ActiveSyncProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1431,7 +1431,7 @@ class ActiveTelemetryTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -2178,7 +2178,7 @@ namespace M {
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1225,7 +1225,7 @@ class PassiveCommandsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1234,7 +1234,7 @@ class PassiveEventsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1357,7 +1357,7 @@ class PassiveExternalParamsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1186,7 +1186,7 @@ class PassiveGetProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1208,7 +1208,7 @@ class PassiveGuardedProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1267,7 +1267,7 @@ class PassiveParamsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1920,7 +1920,7 @@ class PassiveSerialTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1208,7 +1208,7 @@ class PassiveSyncProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1242,7 +1242,7 @@ class PassiveTelemetryTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1955,7 +1955,7 @@ class PassiveTestTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1397,7 +1397,7 @@ class QueuedAsyncProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1430,7 +1430,7 @@ class QueuedCommandsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1407,7 +1407,7 @@ class QueuedEventsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1530,7 +1530,7 @@ class QueuedExternalParamsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1375,7 +1375,7 @@ class QueuedGetProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1397,7 +1397,7 @@ class QueuedGuardedProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1440,7 +1440,7 @@ class QueuedParamsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -2221,7 +2221,7 @@ class QueuedSerialTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1397,7 +1397,7 @@ class QueuedSyncProductsTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_noArgsOut
|
||||
|
||||
@ -1415,7 +1415,7 @@ class QueuedTelemetryTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -2160,7 +2160,7 @@ class QueuedTestTesterBase :
|
||||
static void from_timeGetOut_static(
|
||||
Fw::PassiveComponentBase* const callComp, //!< The component instance
|
||||
FwIndexType portNum, //!< The port number
|
||||
Fw::Time& time //!< The time tag
|
||||
Fw::Time& time //!< Reference to Time object
|
||||
);
|
||||
|
||||
//! Static function for port from_tlmOut
|
||||
|
||||
@ -1,10 +1,23 @@
|
||||
module Fw {
|
||||
|
||||
|
||||
type Time
|
||||
|
||||
@ Time port
|
||||
port Time(
|
||||
ref $time: Fw.Time @< The time tag
|
||||
)
|
||||
ref $time: Fw.Time @< Reference to Time object
|
||||
)
|
||||
|
||||
@ Data structure for Time Interval
|
||||
struct TimeIntervalValue {
|
||||
seconds: U32 @< seconds portion of TimeInterval
|
||||
useconds: U32 @< microseconds portion of TimeInterval
|
||||
}
|
||||
|
||||
type TimeInterval
|
||||
|
||||
@ Time interval port
|
||||
port TimeInterval(
|
||||
ref timeInterval: Fw.TimeInterval @< Reference to TimeInterval object
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
@ -14,8 +14,8 @@ type PlatformSizeType = U64
|
||||
@ for signed offsets, e.g., file seek offsets. Must be signed.
|
||||
type PlatformSignedSizeType = I64
|
||||
|
||||
@ The type of smaller indicies internal to the software, used
|
||||
@ for array indicies, e.g., port indicies. Must be signed.
|
||||
@ The type of smaller indices internal to the software, used
|
||||
@ for array indices, e.g., port indices. Must be signed.
|
||||
type PlatformIndexType = I16
|
||||
|
||||
@ The type of arguments to assert functions. Supplied by platform,
|
||||
@ -26,6 +26,10 @@ type PlatformAssertArgType = I32
|
||||
@ overridable by project.
|
||||
type PlatformTaskPriorityType = U8
|
||||
|
||||
@ The type of task identifiers. Supplied by platform,
|
||||
@ overridable by project.
|
||||
type PlatformTaskIdType = I32
|
||||
|
||||
@ The type of queue priorities used. Supplied by platform,
|
||||
@ overridable by project.
|
||||
type PlatformQueuePriorityType = U8
|
||||
|
||||
48
compiler/tools/fpp-to-cpp/test/fprime/config/ComCfg.fpp
Normal file
48
compiler/tools/fpp-to-cpp/test/fprime/config/ComCfg.fpp
Normal file
@ -0,0 +1,48 @@
|
||||
# ======================================================================
|
||||
# FPP file for configuration of the communications stack
|
||||
#
|
||||
# The only reason to modify these definitions is if you are writing your own
|
||||
# Framer/Deframer implementations and need more contextual data than what is
|
||||
# defined
|
||||
# ======================================================================
|
||||
|
||||
module ComCfg {
|
||||
|
||||
# Needed in dictionary:
|
||||
# - spacecraftId
|
||||
# - TmFrameFixedSize
|
||||
# - potentially APID enum ?
|
||||
constant SpacecraftId = 0x0044 # Spacecraft ID (10 bits)
|
||||
constant TmFrameFixedSize = 1024 # Needs to be at least COM_BUFFER_MAX_SIZE + (2 * SpacePacketHeaderSize) + 1
|
||||
|
||||
@ APIDs are 11 bits in the Space Packet protocol, so we use U16. Max value 7FF
|
||||
enum APID : U16 {
|
||||
# APIDs prefixed with FW are reserved for F Prime and need to be present
|
||||
# in the enumeration. Their values can be changed
|
||||
FW_PACKET_COMMAND = 0x0000 @< Command packet type - incoming
|
||||
FW_PACKET_TELEM = 0x0001 @< Telemetry packet type - outgoing
|
||||
FW_PACKET_LOG = 0x0002 @< Log type - outgoing
|
||||
FW_PACKET_FILE = 0x0003 @< File type - incoming and outgoing
|
||||
FW_PACKET_PACKETIZED_TLM = 0x0004 @< Packetized telemetry packet type
|
||||
FW_PACKET_DP = 0x0005 @< Data Product packet type
|
||||
FW_PACKET_IDLE = 0x0006 @< F Prime idle
|
||||
FW_PACKET_HAND = 0x00FE @< F Prime handshake
|
||||
FW_PACKET_UNKNOWN = 0x00FF @< F Prime unknown packet
|
||||
SPP_IDLE_PACKET = 0x07FF @< Per Space Packet Standard, all 1s (11bits) is reserved for Idle Packets
|
||||
INVALID_UNINITIALIZED = 0x0800 @< Anything equal or higher value is invalid and should not be used
|
||||
} default INVALID_UNINITIALIZED
|
||||
|
||||
@ Type used to pass context info between components during framing/deframing
|
||||
struct FrameContext {
|
||||
comQueueIndex: FwIndexType @< Queue Index used by the ComQueue, other components shall not modify
|
||||
apid: APID @< 11 bits APID in CCSDS
|
||||
sequenceCount: U16 @< 14 bit Sequence count - sequence count is incremented per APID
|
||||
vcId: U8 @< 6 bit Virtual Channel ID - used for TC and TM
|
||||
} default {
|
||||
comQueueIndex = 0
|
||||
apid = APID.FW_PACKET_UNKNOWN
|
||||
sequenceCount = 0
|
||||
vcId = 1
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
# ======================================================================
|
||||
# \title Fw/FPrimeBasicTypes.hpp
|
||||
# \author tumbar, mstarch
|
||||
# \title config/FpConfig.fpp
|
||||
# \author mstarch
|
||||
# \brief FPP alias configuration file
|
||||
#
|
||||
# \copyright
|
||||
@ -13,8 +13,8 @@
|
||||
# ======================================================================
|
||||
|
||||
####
|
||||
# Interger type aliases:
|
||||
# Used for the project to override types supplied by the platform for things like sizes, indicies, etc.
|
||||
# Integer type aliases:
|
||||
# Used for the project to override types supplied by the platform for things like sizes, indices, etc.
|
||||
####
|
||||
|
||||
@ The unsigned type of larger sizes internal to the software,
|
||||
@ -25,19 +25,24 @@ type FwSizeType = PlatformSizeType
|
||||
@ for signed offsets, e.g., file seek offsets. Must be signed.
|
||||
type FwSignedSizeType = PlatformSignedSizeType
|
||||
|
||||
@ The type of smaller indicies internal to the software, used
|
||||
@ for array indicies, e.g., port indicies. Must be signed.
|
||||
@ The type of smaller indices internal to the software, used
|
||||
@ for array indices, e.g., port indices. Must be signed.
|
||||
type FwIndexType = PlatformIndexType
|
||||
|
||||
@ The type of arguments to assert functions.
|
||||
type FwAssertArgType = PlatformAssertArgType
|
||||
|
||||
@ The type of task priorities used.
|
||||
type FwTaskPriorityType = PlatformTaskPriorityType;
|
||||
type FwTaskPriorityType = PlatformTaskPriorityType
|
||||
|
||||
@ The type of queue priorities used.
|
||||
type FwQueuePriorityType = PlatformQueuePriorityType
|
||||
|
||||
@ The id type.
|
||||
type FwIdType = U32
|
||||
|
||||
@ The type of task priorities used.
|
||||
type FwTaskIdType = PlatformTaskIdType
|
||||
|
||||
####
|
||||
# GDS type aliases:
|
||||
@ -45,25 +50,25 @@ type FwQueuePriorityType = PlatformQueuePriorityType
|
||||
####
|
||||
|
||||
@ The type of a telemetry channel identifier
|
||||
type FwChanIdType = U32
|
||||
type FwChanIdType = FwIdType
|
||||
|
||||
@ The type of a data product identifier
|
||||
type FwDpIdType = U32
|
||||
type FwDpIdType = FwIdType
|
||||
|
||||
@ The type of a data product priority
|
||||
type FwDpPriorityType = U32
|
||||
|
||||
@ The type of an event identifier
|
||||
type FwEventIdType = U32
|
||||
type FwEventIdType = FwIdType
|
||||
|
||||
@ The type of a command opcode
|
||||
type FwOpcodeType = U32
|
||||
type FwOpcodeType = FwIdType
|
||||
|
||||
@ The type of a com packet descriptor
|
||||
type FwPacketDescriptorType = U32
|
||||
type FwPacketDescriptorType = FwIdType
|
||||
|
||||
@ The type of a parameter identifier
|
||||
type FwPrmIdType = U32
|
||||
type FwPrmIdType = FwIdType
|
||||
|
||||
@ The type used to serialize a size value
|
||||
type FwSizeStoreType = U16
|
||||
|
||||
@ -28,6 +28,7 @@ FwDpIdType
|
||||
FwDpPriorityType
|
||||
FwEnumStoreType
|
||||
FwEventIdType
|
||||
FwIdType
|
||||
FwIndexType
|
||||
FwOpcodeType
|
||||
FwPacketDescriptorType
|
||||
@ -36,6 +37,7 @@ FwQueuePriorityType
|
||||
FwSignedSizeType
|
||||
FwSizeStoreType
|
||||
FwSizeType
|
||||
FwTaskIdType
|
||||
FwTaskPriorityType
|
||||
FwTimeBaseStoreType
|
||||
FwTimeContextStoreType
|
||||
@ -43,12 +45,13 @@ FwTlmPacketizeIdType
|
||||
FwTraceIdType
|
||||
"
|
||||
fp_platform_aliases="
|
||||
PlatformSizeType
|
||||
PlatformSignedSizeType
|
||||
PlatformIndexType
|
||||
PlatformAssertArgType
|
||||
PlatformTaskPriorityType
|
||||
PlatformIndexType
|
||||
PlatformQueuePriorityType
|
||||
PlatformSignedSizeType
|
||||
PlatformSizeType
|
||||
PlatformTaskIdType
|
||||
PlatformTaskPriorityType
|
||||
"
|
||||
|
||||
for base in ${fp_config_aliases}
|
||||
@ -75,5 +78,8 @@ done
|
||||
mv Param*.hpp Param*.cpp Fw/Prm
|
||||
mv Sched*.hpp Sched*.cpp Svc/Sched
|
||||
|
||||
# Move config files into place
|
||||
mv APIDEnum* config
|
||||
|
||||
# Remaining files go into types
|
||||
mv *.hpp *.cpp Fw/Types
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicU32Tester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class ChoiceToChoiceTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class ChoiceToStateTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class InputPairU16U32Tester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class SequenceTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class SequenceU32Tester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class ChoiceTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class NestedTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardStringTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardTestAbsTypeTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardTestArrayTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardTestEnumTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardTestStructTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicGuardU32Tester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicInternalTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicSelfTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicStringTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTestAbsTypeTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTestArrayTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTestEnumTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicTestStructTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class BasicU32Tester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class InternalTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class PolymorphismTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -23,7 +23,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class StateToChildTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class StateToChoiceTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class StateToSelfTester;
|
||||
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@ namespace FppTest {
|
||||
// Friend classes
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
//! Friend class tester implementation to support white-box testing
|
||||
//! Tester class for the state machine
|
||||
friend class StateToStateTester;
|
||||
|
||||
public:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user