Interface for accessing data pool items.
More...
Go to the source code of this file.
Interface for accessing data pool items.
- Note
- This file was generated on 2017-10-13 12:48:17
- Author
- PnP Generator
-
Christian Reimers chris.nosp@m.tian.nosp@m..reim.nosp@m.ers@.nosp@m.univi.nosp@m.e.ac.nosp@m..at
-
Markus Rockenbauer marku.nosp@m.s.ro.nosp@m.ckenb.nosp@m.auer.nosp@m.@univ.nosp@m.ie.a.nosp@m.c.at
last modification: 22.01.2018
- Copyright
- P&P Software GmbH, 2015 / Department of Astrophysics, University of Vienna, 2018
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Definition in file CrPsDp.c.
size_t getDpParamSize |
( |
ParameterId_t |
id | ) |
|
Get the size of a datapool parameter by identifier.
- Parameters
-
id | The datapool parameter identifier |
- Returns
- The size of the datapool parameter. 0 if id is invalid.
Definition at line 266 of file CrPsDp.c.
size_t getDpSize |
( |
ParameterId_t |
id | ) |
|
Get the size of a datapool item by identifier.
- Parameters
-
id | The datapool item identifier |
- Returns
- The size of the datapool parameter. 0 if id is invalid.
Definition at line 250 of file CrPsDp.c.
size_t getDpValue |
( |
ParameterId_t |
id, |
|
|
void * |
dest |
|
) |
| |
Get the value of a datapool item by identifier.
- Parameters
-
id | The datapool item identifier |
dest | The address of the target variable where the value gets copied to. |
- Returns
- Number of bytes copied. 0 if id is invalid.
Definition at line 191 of file CrPsDp.c.
size_t getDpValueEx |
( |
ParameterId_t |
id, |
|
|
void * |
dest, |
|
|
size_t * |
pElementLength, |
|
|
unsigned int * |
pNElements |
|
) |
| |
Get the value of a datapool item plus meta information by identifier.
- Parameters
-
id | The datapool item identifier |
dest | The address of the target variable where the value gets copied to. |
pElementLength | Pointer to where the element size is copied to. |
pNElements | Pointer to where the number of elements is copied to. |
- Returns
- Number of bytes copied. 0 if id is invalid.
Definition at line 212 of file CrPsDp.c.
size_t getDpVarSize |
( |
ParameterId_t |
id | ) |
|
Get the size of a datapool variable by identifier.
- Parameters
-
id | The datapool variable identifier |
- Returns
- The size of the datapool variable. 0 if id is invalid.
Definition at line 282 of file CrPsDp.c.
Get the meta information of a datapool item by identifier.
Which contains the starting address, the length, the multiplicity and the length of a single datapool entry.
- Parameters
-
id | The datapool item identifier |
- Returns
- Meta information in the form of the struct DpMetaInfoEntry_t
Definition at line 173 of file CrPsDp.c.
Get the meta information of a datapool parameter by identifier.
Which contains the starting address, the length, the multiplicity and the length of a single datapool entry.
- Parameters
-
id | The datapool item identifier |
- Returns
- Meta information in the form of the struct DpMetaInfoEntry_t
Definition at line 139 of file CrPsDp.c.
Get the meta information of a datapool variable by identifier.
Which contains the starting address, the length, the multiplicity and the length of a single datapool entry.
- Parameters
-
id | The datapool item identifier |
- Returns
- Meta information in the form of the struct DpMetaInfoEntry_t
Definition at line 156 of file CrPsDp.c.
int setDpValue |
( |
ParameterId_t |
id, |
|
|
const void * |
src |
|
) |
| |
Set the value of a datapool item by identifier.
- Parameters
-
id | The datapool item identifier |
src | The address of the source variable where the value gets copied from. |
- Returns
- Number of bytes copied. 0 if id is invalid.
Definition at line 233 of file CrPsDp.c.
Initial value:= {
}
CrPsDestSrc_t OnBoardConnectDestLst[TEST_MAX_APP]
List of identifiers of target applications for an On-Board-Connection Test.
CrPsSid_t sid[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
CrPsTimeOut_t lptTimeOut[LPT_N_BUF]
CrPsTimeOut_t TimeOut.
CrPsAddr_t debugVarAddr[HK_N_DEBUG_VAR]
Array of HK_N_DEBUG_VAR elements.
CrPsTimeOut_t AreYouAliveTimeOut
Time-out for the Are-You-Alive Test initiated in response to an Is-Application-Process-Alive Test...
CrPsFlag_t isEnabled[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
#define TEST_MAX_APP
Maximum number of target applications for On-Board-Connection Test.
CrPsPeriod_t period[HK_N_REP_DEF]
Collection period in units of HK_COLLECT_PER.
#define HK_N_REP_DEF
Number of Report Definitions in the Report Definition List (maximum number of housekeeping/diagnostic...
CrPsDestSrc_t dest[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
#define HK_N_DEBUG_VAR
Number of debug variables.
Array of _DpMetaInfoEntry_t to hold the meta information of all datapool entries of the type parameter.
Definition at line 58 of file CrPsDp.c.