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
// #include "Svc/Subtopologies/DpCompression/SubtopologyTopologyDefs.hpp"
29
49
namespace
PingEntries
{
50
namespace
Ref_blockDrv {
51
enum
{
WARN
= 3,
FATAL
= 5 };
52
}
53
namespace
Ref_pingRcvr {
54
enum
{
WARN
= 3,
FATAL
= 5 };
55
}
56
namespace
Ref_rateGroup1Comp {
57
enum
{
WARN
= 3,
FATAL
= 5 };
58
}
59
namespace
Ref_rateGroup2Comp {
60
enum
{
WARN
= 3,
FATAL
= 5 };
61
}
62
namespace
Ref_rateGroup3Comp {
63
enum
{
WARN
= 3,
FATAL
= 5 };
64
}
65
namespace
Ref_cmdSeq {
66
enum
{
WARN
= 3,
FATAL
= 5 };
67
}
68
}
// namespace PingEntries
69
70
// Definitions are placed within a namespace named after the deployment
71
namespace
Ref
{
72
81
struct
TopologyState
{
82
const
char
*
hostname
;
83
U16
port
;
84
CdhCore::SubtopologyState
cdhCore
;
85
ComCcsds::SubtopologyState
comCcsds
;
86
DataProducts::SubtopologyState
dataProducts
;
87
FileHandling::SubtopologyState
fileHandling
;
88
// DpCompression::SubtopologyState dpCompression;//!< Subtopology state for DpCompression
89
};
90
91
namespace
PingEntries
= ::PingEntries;
92
}
// namespace Ref
93
#endif
FileHandling::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:8
Ref::TopologyState::dataProducts
DataProducts::SubtopologyState dataProducts
Subtopology state for DataProducts.
Definition:
RefTopologyDefs.hpp:86
Ref::TopologyState::comCcsds
ComCcsds::SubtopologyState comCcsds
Subtopology state for ComCcsds.
Definition:
RefTopologyDefs.hpp:85
PingEntries::Ref_rateGroup3Comp::FATAL
Definition:
RefTopologyDefs.hpp:63
CdhCore::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:8
PingEntries::Ref_rateGroup1Comp::WARN
Definition:
RefTopologyDefs.hpp:57
PingEntries::Ref_rateGroup3Comp::WARN
Definition:
RefTopologyDefs.hpp:63
DataProducts::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:12
Ref::TopologyState::fileHandling
FileHandling::SubtopologyState fileHandling
Subtopology state for FileHandling.
Definition:
RefTopologyDefs.hpp:87
PingEntries.hpp
ComCcsds::SubtopologyState
Definition:
SubtopologyTopologyDefs.hpp:13
PingEntries::Ref_rateGroup2Comp::WARN
Definition:
RefTopologyDefs.hpp:60
Ref::TopologyState
required type definition to carry state
Definition:
RefTopologyDefs.hpp:81
PingEntries::Ref_rateGroup2Comp::FATAL
Definition:
RefTopologyDefs.hpp:60
PingEntries::Ref_blockDrv::WARN
Definition:
RefTopologyDefs.hpp:51
SubtopologyTopologyDefs.hpp
PingEntries::Ref_pingRcvr::FATAL
Definition:
RefTopologyDefs.hpp:54
PingEntries.hpp
Ref::TopologyState::port
U16 port
Port for TCP communication.
Definition:
RefTopologyDefs.hpp:83
PingEntries::Ref_blockDrv::FATAL
Definition:
RefTopologyDefs.hpp:51
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:82
PingEntries::Ref_pingRcvr::WARN
Definition:
RefTopologyDefs.hpp:54
PingEntries::Ref_cmdSeq::FATAL
Definition:
RefTopologyDefs.hpp:66
PingEntries::Ref_cmdSeq::WARN
Definition:
RefTopologyDefs.hpp:66
SubtopologyTopologyDefs.hpp
PingEntries::Ref_rateGroup1Comp::FATAL
Definition:
RefTopologyDefs.hpp:57
Ref::TopologyState::cdhCore
CdhCore::SubtopologyState cdhCore
Subtopology state for CdhCore.
Definition:
RefTopologyDefs.hpp:84
Ref
Definition:
BlockDriver.cpp:5
BlockDriver.hpp
SubtopologyTopologyDefs.hpp
SubtopologyTopologyDefs.hpp
TestDeploymentsProject
Ref
Top
RefTopologyDefs.hpp
Generated by
1.8.14