In state machine component implementation add as friends the enclosing component friends

This commit is contained in:
m-aleem 2025-06-28 22:12:09 -07:00
parent 78fd16e9b2
commit 160c70e21c
7 changed files with 611 additions and 0 deletions

View File

@ -717,6 +717,7 @@ case class ComponentInternalStateMachines(
smClassName,
Some(s"public $smBaseClassName"),
List.concat(
getFriendClassMembers,
getConstructorMembers,
getInitMembers,
getGetterMembers,
@ -726,6 +727,24 @@ case class ComponentInternalStateMachines(
)
)
private def getFriendClassMembers: List[CppDoc.Class.Member] =
List(
linesClassMember(
List(
CppDocWriter.writeBannerComment(
"Friend classes"
),
lines(
s"""|
|//! Friend class the same Tester friends as the enclosing component
|friend class ${componentName}TesterBase;
|friend class ${componentName}Tester;
|"""
)
).flatten
)
)
private def getActionMember(action: StateMachineSymbol.Action) = {
val actionName = action.getUnqualifiedName
val componentActionFunctionName =

View File

@ -66,6 +66,14 @@ namespace FppTest {
public FppTest::SmChoice::BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -116,6 +124,14 @@ namespace FppTest {
public FppTest::SmChoice::BasicU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -168,6 +184,14 @@ namespace FppTest {
public FppTest::SmChoice::ChoiceToChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -228,6 +252,14 @@ namespace FppTest {
public FppTest::SmChoice::ChoiceToStateStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -288,6 +320,14 @@ namespace FppTest {
public FppTest::SmChoice::InputPairU16U32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -335,6 +375,14 @@ namespace FppTest {
public FppTest::SmChoice::SequenceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -390,6 +438,14 @@ namespace FppTest {
public FppTest::SmChoice::SequenceU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor
@ -447,6 +503,14 @@ namespace FppTest {
public FppTest::SmChoiceActive_BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceActiveTesterBase;
friend class SmChoiceActiveTester;
public:
//! Constructor

View File

@ -72,6 +72,14 @@ namespace FppTest {
public FppTest::SmChoice::BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -122,6 +130,14 @@ namespace FppTest {
public FppTest::SmChoice::BasicU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -174,6 +190,14 @@ namespace FppTest {
public FppTest::SmChoice::ChoiceToChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -234,6 +258,14 @@ namespace FppTest {
public FppTest::SmChoice::ChoiceToStateStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -294,6 +326,14 @@ namespace FppTest {
public FppTest::SmChoice::InputPairU16U32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -341,6 +381,14 @@ namespace FppTest {
public FppTest::SmChoice::SequenceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -396,6 +444,14 @@ namespace FppTest {
public FppTest::SmChoice::SequenceU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor
@ -453,6 +509,14 @@ namespace FppTest {
public FppTest::SmChoiceQueued_BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmChoiceQueuedTesterBase;
friend class SmChoiceQueuedTester;
public:
//! Constructor

View File

@ -64,6 +64,14 @@ namespace FppTest {
public FppTest::SmInitial::BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialActiveTesterBase;
friend class SmInitialActiveTester;
public:
//! Constructor
@ -102,6 +110,14 @@ namespace FppTest {
public FppTest::SmInitial::ChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialActiveTesterBase;
friend class SmInitialActiveTester;
public:
//! Constructor
@ -147,6 +163,14 @@ namespace FppTest {
public FppTest::SmInitial::NestedStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialActiveTesterBase;
friend class SmInitialActiveTester;
public:
//! Constructor
@ -185,6 +209,14 @@ namespace FppTest {
public FppTest::SmInitialActive_BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialActiveTesterBase;
friend class SmInitialActiveTester;
public:
//! Constructor
@ -223,6 +255,14 @@ namespace FppTest {
public FppTest::SmInitialActive_ChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialActiveTesterBase;
friend class SmInitialActiveTester;
public:
//! Constructor
@ -268,6 +308,14 @@ namespace FppTest {
public FppTest::SmInitialActive_NestedStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialActiveTesterBase;
friend class SmInitialActiveTester;
public:
//! Constructor

View File

@ -70,6 +70,14 @@ namespace FppTest {
public FppTest::SmInitial::BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialQueuedTesterBase;
friend class SmInitialQueuedTester;
public:
//! Constructor
@ -108,6 +116,14 @@ namespace FppTest {
public FppTest::SmInitial::ChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialQueuedTesterBase;
friend class SmInitialQueuedTester;
public:
//! Constructor
@ -153,6 +169,14 @@ namespace FppTest {
public FppTest::SmInitial::NestedStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialQueuedTesterBase;
friend class SmInitialQueuedTester;
public:
//! Constructor
@ -191,6 +215,14 @@ namespace FppTest {
public FppTest::SmInitialQueued_BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialQueuedTesterBase;
friend class SmInitialQueuedTester;
public:
//! Constructor
@ -229,6 +261,14 @@ namespace FppTest {
public FppTest::SmInitialQueued_ChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialQueuedTesterBase;
friend class SmInitialQueuedTester;
public:
//! Constructor
@ -274,6 +314,14 @@ namespace FppTest {
public FppTest::SmInitialQueued_NestedStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmInitialQueuedTesterBase;
friend class SmInitialQueuedTester;
public:
//! Constructor

View File

@ -98,6 +98,14 @@ namespace FppTest {
public FppTest::SmState::BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -136,6 +144,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -181,6 +197,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardStringStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -228,6 +252,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestAbsTypeStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -275,6 +307,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestArrayStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -322,6 +362,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestEnumStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -369,6 +417,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestStructStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -416,6 +472,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -463,6 +527,14 @@ namespace FppTest {
public FppTest::SmState::BasicInternalStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -501,6 +573,14 @@ namespace FppTest {
public FppTest::SmState::BasicSelfStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -539,6 +619,14 @@ namespace FppTest {
public FppTest::SmState::BasicStringStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -583,6 +671,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestAbsTypeStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -627,6 +723,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestArrayStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -671,6 +775,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestEnumStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -715,6 +827,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestStructStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -759,6 +879,14 @@ namespace FppTest {
public FppTest::SmState::BasicU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -803,6 +931,14 @@ namespace FppTest {
public FppTest::SmState::InternalStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -841,6 +977,14 @@ namespace FppTest {
public FppTest::SmState::PolymorphismStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Initialize the state machine
@ -860,6 +1004,14 @@ namespace FppTest {
public FppTest::SmState::StateToChildStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -918,6 +1070,14 @@ namespace FppTest {
public FppTest::SmState::StateToChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -998,6 +1158,14 @@ namespace FppTest {
public FppTest::SmState::StateToSelfStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -1066,6 +1234,14 @@ namespace FppTest {
public FppTest::SmState::StateToStateStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor
@ -1144,6 +1320,14 @@ namespace FppTest {
public FppTest::SmStateActive_BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateActiveTesterBase;
friend class SmStateActiveTester;
public:
//! Constructor

View File

@ -104,6 +104,14 @@ namespace FppTest {
public FppTest::SmState::BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -142,6 +150,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -187,6 +203,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardStringStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -234,6 +258,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestAbsTypeStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -281,6 +313,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestArrayStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -328,6 +368,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestEnumStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -375,6 +423,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardTestStructStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -422,6 +478,14 @@ namespace FppTest {
public FppTest::SmState::BasicGuardU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -469,6 +533,14 @@ namespace FppTest {
public FppTest::SmState::BasicInternalStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -507,6 +579,14 @@ namespace FppTest {
public FppTest::SmState::BasicSelfStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -545,6 +625,14 @@ namespace FppTest {
public FppTest::SmState::BasicStringStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -589,6 +677,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestAbsTypeStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -633,6 +729,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestArrayStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -677,6 +781,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestEnumStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -721,6 +833,14 @@ namespace FppTest {
public FppTest::SmState::BasicTestStructStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -765,6 +885,14 @@ namespace FppTest {
public FppTest::SmState::BasicU32StateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -809,6 +937,14 @@ namespace FppTest {
public FppTest::SmState::InternalStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -847,6 +983,14 @@ namespace FppTest {
public FppTest::SmState::PolymorphismStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Initialize the state machine
@ -866,6 +1010,14 @@ namespace FppTest {
public FppTest::SmState::StateToChildStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -924,6 +1076,14 @@ namespace FppTest {
public FppTest::SmState::StateToChoiceStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -1004,6 +1164,14 @@ namespace FppTest {
public FppTest::SmState::StateToSelfStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -1072,6 +1240,14 @@ namespace FppTest {
public FppTest::SmState::StateToStateStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor
@ -1150,6 +1326,14 @@ namespace FppTest {
public FppTest::SmStateQueued_BasicStateMachineBase
{
// ----------------------------------------------------------------------
// Friend classes
// ----------------------------------------------------------------------
//! Friend class the same Tester friends as the enclosing component
friend class SmStateQueuedTesterBase;
friend class SmStateQueuedTester;
public:
//! Constructor