OperationsWithoutBracesRequired.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef OPERATIONSWITHOUTBRACESREQUIRED_H_
  2. #define OPERATIONSWITHOUTBRACESREQUIRED_H_
  3. #include "sc_types.h"
  4. #include "OperationsWithoutBraces.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. - operationsWithoutBracesIface_myBoolOp
  12. - operationsWithoutBracesIface_myIntOp
  13. - operationsWithoutBracesIface_myRealOp
  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 sc_boolean operationsWithoutBracesIface_myBoolOp(const OperationsWithoutBraces* handle);
  21. extern sc_integer operationsWithoutBracesIface_myIntOp(const OperationsWithoutBraces* handle);
  22. extern sc_real operationsWithoutBracesIface_myRealOp(const OperationsWithoutBraces* handle);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* OPERATIONSWITHOUTBRACESREQUIRED_H_ */