VariadicFunctionsRequired.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef VARIADICFUNCTIONSREQUIRED_H_
  2. #define VARIADICFUNCTIONSREQUIRED_H_
  3. #include "sc_types.h"
  4. #include "VariadicFunctions.h"
  5. #ifdef __cplusplus
  6. extern "C"
  7. {
  8. #endif
  9. /*! \file This header defines prototypes for all functions that are required by the state machine implementation.
  10. This state machine makes use of operations declared in the state machines interface or internal scopes. Thus the function prototypes:
  11. - variadicFunctionsIface_myVarOperation
  12. - variadicFunctionsIfaceIF2_myVarOperation2
  13. - variadicFunctionsInternal_myInternalVarOperation
  14. are defined.
  15. These functions will be called during a 'run to completion step' (runCycle) of the statechart.
  16. There are some constraints that have to be considered for the implementation of these functions:
  17. - never call the statechart API functions from within these functions.
  18. - make sure that the execution time is as short as possible.
  19. */
  20. extern void variadicFunctionsIface_myVarOperation(const VariadicFunctions* handle, ...);
  21. extern void variadicFunctionsIfaceIF2_myVarOperation2(const VariadicFunctions* handle, const sc_integer argCount, ...);
  22. extern sc_integer variadicFunctionsInternal_myInternalVarOperation(const VariadicFunctions* handle, ...);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* VARIADICFUNCTIONSREQUIRED_H_ */