CORDET Framework - C2 Implementation
cordetfw-examples/src/CrConfigDemoMaster/CrFwOutRegistryUserPar.h File Reference

User-modifiable parameters for the OutRegistry component (see CrFwOutRegistry.h). More...

Go to the source code of this file.

Macros

#define CR_FW_OUTREGISTRY_N   64
 The maximum number of commands or reports which can be tracked by the OutRegistry. More...
 
#define CR_FW_OUTREGISTRY_NSERV   3
 The total number of out-going service types/sub-types offered by the application. More...
 
#define CR_FW_OUTREGISTRY_INIT_SERV_DESC
 Definition of the range of out-going services supported by the application. More...
 

Detailed Description

User-modifiable parameters for the OutRegistry component (see CrFwOutRegistry.h).

This header file defines the set of services to be provided by the Master Application of the CORDET Demo. A service is defined in terms of the following characteristics:

  • The service type identifier
  • The service sub-type identifier
  • The range of discriminant values for that service type and sub-type
Author
Vaclav Cechticky vacla.nosp@m.v.ce.nosp@m.chtic.nosp@m.ky@p.nosp@m.np-so.nosp@m.ftwa.nosp@m.re.co.nosp@m.m
Alessandro Pasetti paset.nosp@m.ti@p.nosp@m.np-so.nosp@m.ftwa.nosp@m.re.co.nosp@m.m

This file is part of the CORDET Framework.

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/.

For information on alternative licensing, please contact P&P Software GmbH.

Definition in file cordetfw-examples/src/CrConfigDemoMaster/CrFwOutRegistryUserPar.h.

Macro Definition Documentation

#define CR_FW_OUTREGISTRY_INIT_SERV_DESC
Value:
{ {64, 1, 0}, \
{64, 2, 0}, \
{64, 3, 0}, \
}

Definition of the range of out-going services supported by the application.

An application supports a number of service types and, for each service type, it supports a number of sub-types. Each sub-type may support a range of discriminant values. Each line in this initializer describes one [service type, service sub-type] pair which is supported by the application. The elements in each line are as follows:

  • The service type
  • The service sub-type
  • The maximum value of the discriminant for commands or reports of that type and sub-type. A value of zero indicates that no discriminant is associated to commands or report of that type and sub-type.

The list of service descriptors must satisfy the following constraints:

  • The number of lines must be the same as CR_FW_OUTREGISTRY_NSERV.
  • The service types must be listed in increasing order.
  • The service sub-types within a service type must be listed in increasing order.
  • The set of service type and sub-types must be consistent with the service types and sub-types declared in the CR_FW_OUTCMP_INIT_KIND_DESC initializer.

Compliance with the last three constraints is checked by CrFwAuxOutRegistryConfigCheck.

Definition at line 69 of file cordetfw-examples/src/CrConfigDemoMaster/CrFwOutRegistryUserPar.h.

#define CR_FW_OUTREGISTRY_N   64

The maximum number of commands or reports which can be tracked by the OutRegistry.

This constant must be smaller than the range of CrFwTrackingIndex_t.

Definition at line 33 of file cordetfw-examples/src/CrConfigDemoMaster/CrFwOutRegistryUserPar.h.

#define CR_FW_OUTREGISTRY_NSERV   3

The total number of out-going service types/sub-types offered by the application.

An application supports a number of service types and, for each service type, it supports a number of sub-types. This constant defines the total number of [service type, service sub-type] pairs supported by the application. This constant must be smaller than the range of: CrFwCmdRepIndex_t.

Definition at line 43 of file cordetfw-examples/src/CrConfigDemoMaster/CrFwOutRegistryUserPar.h.

P&P Software GmbH, Copyright 2012-2013, All Rights Reserved