FW Profile - C1 Implementation
FwRtConfig.h
Go to the documentation of this file.
1 
39 #ifndef FWRT_CONFIG_H_
40 #define FWRT_CONFIG_H_
41 
42 #include "FwRtConstants.h"
43 #include <pthread.h>
44 
64 void FwRtReset(FwRtDesc_t rtDesc);
65 
95 void FwRtInit(FwRtDesc_t rtDesc);
96 
125 void FwRtShutdown(FwRtDesc_t rtDesc);
126 
162 void FwRtSetPosixAttr(FwRtDesc_t rtDesc, pthread_attr_t* pThreadAttr, pthread_mutexattr_t* pMutexAttr,
163  pthread_condattr_t* pCondAttr);
164 
173 pthread_attr_t* FwRtGetActivThreadAttr(FwRtDesc_t rtDesc);
174 
183 pthread_mutexattr_t* FwRtGetMutexAttr(FwRtDesc_t rtDesc);
184 
194 pthread_condattr_t* FwRtGetCondAttr(FwRtDesc_t rtDesc);
195 
228 void FwRtSetData(FwRtDesc_t rtDesc, void* rtData);
229 
237 void* FwRtGetData(FwRtDesc_t rtDesc);
238 
257 void FwRtSetInitializeNotifPr(FwRtDesc_t rtDesc, FwRtAction_t initializeNotifPr);
258 
277 void FwRtSetFinalizeNotifPr(FwRtDesc_t rtDesc, FwRtAction_t finalizeNotifPr);
278 
296 void FwRtSetImplementNotifLogic(FwRtDesc_t rtDesc, FwRtAction_t implementNotifLogicPr);
297 
316 void FwRtSetInitializeActivPr(FwRtDesc_t rtDesc, FwRtAction_t initializeActivPr);
317 
336 void FwRtSetFinalizeActivPr(FwRtDesc_t rtDesc, FwRtAction_t finalizeActivPr);
337 
356 void FwRtSetSetUpNotif(FwRtDesc_t rtDesc, FwRtAction_t setUpNotification);
357 
375 void FwRtSetImplementActivLogic(FwRtDesc_t rtDesc, FwRtAction_t implementActivLogic);
376 
396 void FwRtSetExecFuncBehaviour(FwRtDesc_t rtDesc, FwRtAction_t execFuncBehaviour);
397 
398 #endif /* FWRT_CONFIG_H_ */
void FwRtSetPosixAttr(FwRtDesc_t rtDesc, pthread_attr_t *pThreadAttr, pthread_mutexattr_t *pMutexAttr, pthread_condattr_t *pCondAttr)
Set the pointers to the attribute objects of the POSIX thread, mutex and condition variable used by t...
Definition: FwRtConfig.c:151
void FwRtShutdown(FwRtDesc_t rtDesc)
Shutdown the RT Container.
Definition: FwRtConfig.c:105
void FwRtSetExecFuncBehaviour(FwRtDesc_t rtDesc, FwRtAction_t execFuncBehaviour)
Define the function which executes the functional behaviour associated to the RT Container.
Definition: FwRtConfig.c:253
Header file to define all constants and types for the RT Container Module of the FW Profile...
void FwRtSetImplementNotifLogic(FwRtDesc_t rtDesc, FwRtAction_t implementNotifLogicPr)
Define the function implementing the Notification Logic for the Notification Procedure.
Definition: FwRtConfig.c:208
void FwRtSetInitializeNotifPr(FwRtDesc_t rtDesc, FwRtAction_t initializeNotifPr)
Define the function implementing the Initialization Action for the Notification Procedure.
Definition: FwRtConfig.c:190
FwRtOutcome_t(* FwRtAction_t)(FwRtDesc_t)
Type for a pointer to a container action.
Definition: FwRtConstants.h:50
void FwRtSetSetUpNotif(FwRtDesc_t rtDesc, FwRtAction_t setUpNotification)
Define the function implementing the logic to set up a notification for the RT Container.
Definition: FwRtConfig.c:235
void FwRtSetData(FwRtDesc_t rtDesc, void *rtData)
Set the pointer to the RT Container data in the container descriptor.
Definition: FwRtConfig.c:180
void FwRtSetImplementActivLogic(FwRtDesc_t rtDesc, FwRtAction_t implementActivLogic)
Define the function implementing the activation logic for the RT Container.
Definition: FwRtConfig.c:244
pthread_condattr_t * FwRtGetCondAttr(FwRtDesc_t rtDesc)
Get the value of the attributes of the condition variable associated to the RT Container.
Definition: FwRtConfig.c:175
void FwRtReset(FwRtDesc_t rtDesc)
Reset the RT Container descriptor (RTD).
Definition: FwRtConfig.c:31
void * FwRtGetData(FwRtDesc_t rtDesc)
Get the pointer to the container data in the container descriptor.
Definition: FwRtConfig.c:185
pthread_mutexattr_t * FwRtGetMutexAttr(FwRtDesc_t rtDesc)
Get the value of the attributes of the mutex associated to the RT Container.
Definition: FwRtConfig.c:170
pthread_attr_t * FwRtGetActivThreadAttr(FwRtDesc_t rtDesc)
Get the value of the attributes of the Activation Thread.
Definition: FwRtConfig.c:165
void FwRtSetFinalizeNotifPr(FwRtDesc_t rtDesc, FwRtAction_t finalizeNotifPr)
Define the function implementing the Finalization Action for the Notification Procedure.
Definition: FwRtConfig.c:199
void FwRtSetInitializeActivPr(FwRtDesc_t rtDesc, FwRtAction_t initializeActivPr)
Define the function implementing the Initialization Action for the Activation Procedure.
Definition: FwRtConfig.c:217
void FwRtSetFinalizeActivPr(FwRtDesc_t rtDesc, FwRtAction_t finalizeActivPr)
Define the function implementing the Finalization Action for the Activation Procedure.
Definition: FwRtConfig.c:226
Structure representing a RT Container Descriptor.
void FwRtInit(FwRtDesc_t rtDesc)
Initialize a RT Container.
Definition: FwRtConfig.c:52
P&P Software GmbH, Copyright 2011, All Rights Reserved