F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
RefTopologyDefs.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title RefTopologyDefs.hpp
3
// \author mstarch
4
// \brief required header file containing the required definitions for the topology autocoder
5
//
6
// \copyright
7
// Copyright 2009-2022, by the California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
// ======================================================================
11
#ifndef REF_REFTOPOLOGYDEFS_HPP
12
#define REF_REFTOPOLOGYDEFS_HPP
13
14
#include "
Ref/BlockDriver/BlockDriver.hpp
"
15
#include "Ref/Top/FppConstantsAc.hpp"
16
17
// Subtopology PingEntries includes
18
#include "
Svc/Subtopologies/CdhCore/PingEntries.hpp
"
19
#include "
Svc/Subtopologies/ComCcsds/PingEntries.hpp
"
20
#include "
Svc/Subtopologies/DataProducts/PingEntries.hpp
"
21
#include "
Svc/Subtopologies/FileHandling/PingEntries.hpp
"
22
23
// SubtopologyTopologyDefs includes
24
#include "
Svc/Subtopologies/CdhCore/SubtopologyTopologyDefs.hpp
"
25
#include "
Svc/Subtopologies/ComCcsds/SubtopologyTopologyDefs.hpp
"
26
#include "
Svc/Subtopologies/DataProducts/SubtopologyTopologyDefs.hpp
"
27
#include "
Svc/Subtopologies/FileHandling/SubtopologyTopologyDefs.hpp
"
28
48
namespace
PingEntries
{
49
namespace
Ref_blockDrv {
50
enum
{
WARN
= 3,
FATAL
= 5 };
51
}
52
namespace
Ref_pingRcvr {
53
enum
{
WARN
= 3,
FATAL
= 5 };
54
}
55
namespace
Ref_rateGroup1Comp {
56
enum
{
WARN
= 3,
FATAL
= 5 };
57
}
58
namespace
Ref_rateGroup2Comp {
59
enum
{
WARN
= 3,
FATAL
= 5 };
60
}
61
namespace
Ref_rateGroup3Comp {
62
enum
{
WARN
= 3,
FATAL
= 5 };
63
}
64
namespace
Ref_cmdSeq {
65
enum
{
WARN
= 3,
FATAL
= 5 };
66
}
67
}
// namespace PingEntries
68
69
// Definitions are placed within a namespace named after the deployment
70
namespace
Ref
{
71
80
struct
TopologyState
{
81
const
char
*
hostname
;
82
U16
port
;
83
CdhCore::SubtopologyState
cdhCore
;
84
ComCcsds::SubtopologyState
comCcsds
;
85
DataProducts::SubtopologyState
dataProducts
;
86
FileHandling::SubtopologyState
fileHandling
;
87
};
88
89
namespace
PingEntries
= ::PingEntries;
90
}
// namespace Ref
91
#endif
FileHandling::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:8
Ref::TopologyState::dataProducts
DataProducts::SubtopologyState dataProducts
Subtopology state for DataProducts.
Definition:
RefTopologyDefs.hpp:85
Ref::TopologyState::comCcsds
ComCcsds::SubtopologyState comCcsds
Subtopology state for ComCcsds.
Definition:
RefTopologyDefs.hpp:84
CdhCore::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:8
DataProducts::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:12
Ref::TopologyState::fileHandling
FileHandling::SubtopologyState fileHandling
Subtopology state for FileHandling.
Definition:
RefTopologyDefs.hpp:86
PingEntries.hpp
PingEntries::Ref_blockDrv::WARN
Definition:
RefTopologyDefs.hpp:50
PingEntries::Ref_rateGroup1Comp::WARN
Definition:
RefTopologyDefs.hpp:56
PingEntries::Ref_cmdSeq::FATAL
Definition:
RefTopologyDefs.hpp:65
PingEntries::Ref_blockDrv::FATAL
Definition:
RefTopologyDefs.hpp:50
ComCcsds::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:13
Ref::TopologyState
required type definition to carry state
Definition:
RefTopologyDefs.hpp:80
PingEntries::Ref_cmdSeq::WARN
Definition:
RefTopologyDefs.hpp:65
SubtopologyTopologyDefs.hpp
PingEntries::Ref_rateGroup1Comp::FATAL
Definition:
RefTopologyDefs.hpp:56
PingEntries::Ref_rateGroup3Comp::WARN
Definition:
RefTopologyDefs.hpp:62
PingEntries.hpp
PingEntries::Ref_rateGroup3Comp::FATAL
Definition:
RefTopologyDefs.hpp:62
Ref::TopologyState::port
U16 port
Port for TCP communication.
Definition:
RefTopologyDefs.hpp:82
PingEntries.hpp
PingEntries
required ping constants
Definition:
PingEntries.hpp:4
PingEntries.hpp
Ref::TopologyState::hostname
const char * hostname
Hostname for TCP communication.
Definition:
RefTopologyDefs.hpp:81
PingEntries::Ref_rateGroup2Comp::FATAL
Definition:
RefTopologyDefs.hpp:59
PingEntries::Ref_rateGroup2Comp::WARN
Definition:
RefTopologyDefs.hpp:59
SubtopologyTopologyDefs.hpp
Ref::TopologyState::cdhCore
CdhCore::SubtopologyState cdhCore
Subtopology state for CdhCore.
Definition:
RefTopologyDefs.hpp:83
Ref
Definition:
BlockDriver.cpp:5
BlockDriver.hpp
PingEntries::Ref_pingRcvr::WARN
Definition:
RefTopologyDefs.hpp:53
SubtopologyTopologyDefs.hpp
PingEntries::Ref_pingRcvr::FATAL
Definition:
RefTopologyDefs.hpp:53
SubtopologyTopologyDefs.hpp
TestDeploymentsProject
Ref
Top
RefTopologyDefs.hpp
Generated by
1.8.14