CORDET Framework - C2 Implementation
CrFwOutStreamUserPar.h
Go to the documentation of this file.
1 
27 #ifndef CR_FW_OUTSTREAM_USERPAR_H_
28 #define CR_FW_OUTSTREAM_USERPAR_H_
29 
30 /* Include framework files */
32 #include "BaseCmp/CrFwResetProc.h"
33 /* Include test suite files */
34 #include "CrFwOutStreamStub.h"
35 #include "CrFwOutStreamSocket.h"
36 #include "CrFwClientSocket.h"
37 #include "CrFwServerSocket.h"
38 
45 #define CR_FW_NOF_OUTSTREAM 7
46 
51 #define CR_FW_OUTSTREAM_NOF_DEST 8
52 
68 #define CR_FW_OUTSTREAM_DEST_PAIRS {{1,0},\
69  {2,0},\
70  {3,2},\
71  {4,3},\
72  {5,4},\
73  {6,5},\
74  {7,6},\
75  {8,1}}
76 
91 #define CR_FW_OUTSTREAM_PQSIZE {3,3,3,3,5,5,5}
92 
106 #define CR_FW_OUTSTREAM_NOF_GROUPS 2
107 
121 #define CR_FW_OUTSTREAM_SET_DTS &CrFwOutStreamDefSetDTS
122 
138 #define CR_FW_OUTSTREAM_PCKTHANDOVER {&CrFwOutStreamStubPcktHandover, \
139  &CrFwOutStreamStubPcktHandover, \
140  &CrFwOutStreamStubPcktHandover, \
141  &CrFwOutStreamStubPcktHandover, \
142  &CrFwOutStreamSocketPcktHandover, \
143  &CrFwClientSocketPcktHandover, \
144  &CrFwServerSocketPcktHandover}
145 
159 #define CR_FW_OUTSTREAM_INITCHECK {&CrFwBaseCmpDefInitCheck, \
160  &CrFwBaseCmpDefInitCheck, \
161  &CrFwBaseCmpDefInitCheck, \
162  &CrFwOutStreamStubDummyCheck, \
163  &CrFwOutStreamSocketInitCheck, \
164  &CrFwClientSocketInitCheck, \
165  &CrFwServerSocketInitCheck}
166 
186 #define CR_FW_OUTSTREAM_INITACTION {&CrFwOutStreamDefInitAction, \
187  &CrFwOutStreamDefInitAction, \
188  &CrFwOutStreamDefInitAction, \
189  &CrFwOutStreamStubInitAction, \
190  &CrFwOutStreamSocketInitAction, \
191  &CrFwClientSocketInitAction, \
192  &CrFwServerSocketInitAction}
193 
209 #define CR_FW_OUTSTREAM_CONFIGCHECK {&CrFwBaseCmpDefConfigCheck, \
210  &CrFwBaseCmpDefConfigCheck, \
211  &CrFwBaseCmpDefConfigCheck, \
212  &CrFwOutStreamStubDummyCheck, \
213  &CrFwOutStreamSocketConfigCheck, \
214  &CrFwBaseCmpDefConfigCheck, \
215  &CrFwServerSocketConfigCheck}
216 
236 #define CR_FW_OUTSTREAM_CONFIGACTION {&CrFwOutStreamDefConfigAction, \
237  &CrFwOutStreamDefConfigAction, \
238  &CrFwOutStreamDefConfigAction, \
239  &CrFwOutStreamStubConfigAction, \
240  &CrFwOutStreamDefConfigAction, \
241  &CrFwClientSocketConfigAction, \
242  &CrFwServerSocketConfigAction}
243 
260 #define CR_FW_OUTSTREAM_SHUTDOWNACTION {&CrFwOutStreamDefShutdownAction, \
261  &CrFwOutStreamStubShutdown, \
262  &CrFwOutStreamDefShutdownAction, \
263  &CrFwOutStreamDefShutdownAction, \
264  &CrFwOutStreamSocketShutdownAction, \
265  &CrFwClientSocketShutdownAction, \
266  &CrFwServerSocketShutdownAction}
267 
268 #endif /* CR_FW_OUTSTREAM_USERPAR_H_ */
Interface for a client socket to be used by InStreams and OutStreams.
Definition of the OutStream component.
Interface for the Socket-Based OutStream.
Interface for the OutStream stub.
Component Reset Procedure (CRP) for the Base Component.
Interface for a server socket to be used by InStreams and OutStreams.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved