Download The CORDET Framework C2 Implementation - USER MANUAL -

Transcript
Step Name
Define
InManagers
Specification Sub-Step
Define the number of InManagers and the size of their
Pending Command/Report Lists
(PCRLs).
Implementation Sub-Step
These items are defined as #DEFINE
constants in CrFwInManagerUserPar.h
18
Define
InManager
Selection
Function
Define
InRegistry
Define the logic to select the
InManager where an incoming
command or report is loaded.
A pointer to this function is defined
in CrFwInLoaderUserPar.h. A default
implementation is provided by the InLoader (see CrFwInLoader.h).
This item is defined as a #DEFINE constant in CrFwInRegsitryUserPar.h.
19
Define OutManagers
21
Define
OutManager
Selection
Function
Define
OutRegistry
22
Define the logic to select the
OutManager where an out-going
command or report is loaded.
Define the maximum number of
commands and reports which
can be tracked by the OutRegistry.
These
items
are
defined
as
#DEFINE
constants
in
CrFwOutManagerUserPar.h.
A pointer to this function is defined in
CrFwOutLoaderUserPar.h. A default
implementation is provided by the OutLoader (see CrFwOutLoader.h).
This item is defined as a #DEFINE constant in CrFwOutRegistryUserPar.h.
The Slave 1 Application sets the maximum number of tracked commands/reports to 64.
The Slave 1 Application defines one
OutManager to handle out-going commands. The size of its POCL is 10,
namely the same as the size of the
packet queue of its OutStreams.
The Slave 1 Application has only one
OutManager and therefore uses the default implementation of the OutManager Selection Function.
The Slave 1 Application sets the maximum number of tracked commands/reports to 64.
126
Revision 0.6.0
20
Define the maximum number of
commands and reports which
can be tracked by the InRegistry.
Define the number of OutManagers and the size of their
Pending OutComponent Lists
(POCLs).
Master Application
The Slave 1 Application defines one InManager to handle its incoming commands. The size of its PCRL is 10.
This matches the size of the packet
queues in the InStreams of the Slave 1
Application.
The Slave 1 Application uses the default implementation of the InManager
selection function.
PP-UM-COR-00002
c
2013
P&P Software GmbH. All Rights Reserved.
This document is provided with the GPL version of the
C2 Implementation of the CORDET Framework.
N
17