Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
c88d4dbf
Commit
c88d4dbf
authored
3 years ago
by
kpetridis
Browse files
Options
Downloads
Patches
Plain Diff
Initialization of the ST-14 configuration types
parent
c61f0f8a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/Helpers/ForwardControlConfiguration.hpp
+93
-0
93 additions, 0 deletions
inc/Helpers/ForwardControlConfiguration.hpp
with
93 additions
and
0 deletions
inc/Helpers/ForwardControlConfiguration.hpp
+
93
−
0
View file @
c88d4dbf
#ifndef ECSS_SERVICES_FORWARDCONTROLCONFIGURATION_HPP
#define ECSS_SERVICES_FORWARDCONTROLCONFIGURATION_HPP
#include
"ECSS_Definitions.hpp"
#include
"ErrorHandler.hpp"
#include
"etl/vector.h"
#include
"etl/map.h"
#include
"Helpers/Parameter.hpp"
namespace
ForwardControlConfiguration
{
/**
* The Application Process configuration. Its architecture is based on a 3-level hierarchy, where the first level
* is the Application process definitions. Each Application Process definition contains a list of Service Type
* definitions (level 2) and each Service Type definition contains a list of the Report Type definitions (level 3).
*
* Applications [][][]
* /
* Service types [][][][][][]
* /
* [][][][][] Report types
*/
class
ApplicationProcess
{
public:
/**
* Vector containing the Report Type definitions. Each definition has its unique name of type uint8. For
* example, a Report Type definition could be 'ReportHousekeepingStructures'.
*/
typedef
etl
::
vector
<
uint8_t
,
ECSSMaxReportTypeDefinitions
>
reportTypeDefinitions
;
/**
* Map containing the Service Type definitions. Each Service Type definition is accessed via its key-name, of type
* uint8, for example '20' for the Parameter Management service. Each Service Type definition, contains the
* list of its own Report Type definitions.
*/
typedef
etl
::
map
<
uint8_t
,
reportTypeDefinitions
,
ECSSMaxServiceTypeDefinitions
>
serviceTypeDefinitions
;
/**
* Map containing the Application Process definitions. Each application has its own ID. The ID is used as a
* key to provide access to the list of Service Type definitions, included by the application.
*/
typedef
etl
::
map
<
uint8_t
,
serviceTypeDefinitions
,
ECSSMaxControlledApplications
>
applicationProcessDefinitions
;
};
/**
* The Housekeeping Parameter Report configuration. Its architecture is based on a 2-level hierarchy, where the
* first level is the Application process definitions. Each application process definition contains a list of
* Housekeeping structure IDs (level 2).
*
* Applications [][][]
* /
* [][][][][][] Housekeeping structure IDs
*/
class
HousekeepingParameterReport
{
public:
/**
* Vector containing the Housekeeping structure IDs.
*/
typedef
etl
::
vector
<
uint8_t
,
ECSSMaxHousekeepingStructureIDs
>
housekeepingStructureIds
;
/**
* Map containing the Housekeeping definitions (application processes). Each application has its own ID. The ID is
* used as a key to provide access to the list of the Housekeeping structure IDs.
*/
typedef
etl
::
map
<
uint8_t
,
housekeepingStructureIds
,
ECSSMaxControlledApplications
>
housekeepingDefinitions
;
};
/**
* The Housekeeping Parameter Report configuration. Its architecture is based on a 2-level hierarchy, where the
* first level is the Application process definitions. Each application process definition contains a list of
* Event Definition IDs (level 2).
*
* Applications [][][]
* /
* [][][][][][] Event Definition IDs
*/
class
EventReportBlocking
{
public:
/**
* Vector containing the Event Definition IDs.
*/
typedef
etl
::
vector
<
uint8_t
,
ECSSMaxEventDefinitionIDs
>
eventDefinitionIds
;
/**
* Map containing the Event Report Blocking definitions (applications). Each application has its own ID. The ID is
* used as a key to provide access to the list of the Event Definitions.
*/
typedef
etl
::
map
<
uint8_t
,
eventDefinitionIds
,
ECSSMaxControlledApplications
>
eventReportBlockingDefinitions
;
};
}
// namespace ForwardControlConfiguration
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment