ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Macros | Typedefs | Enumerations
rtw_continuous.h File Reference
#include "rtwtypes.h"
Include dependency graph for rtw_continuous.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _RTWRTModelMethodsInfo_tag
 

Macros

#define rtmiSetRTModelPtr(M, rtmp)   ((M).rtModelPtr = (rtmp))
 
#define rtmiGetRTModelPtr(M)   (M).rtModelPtr
 
#define rtmiSetInitSizesFcn(M, fp)    ((M).rtmInitSizesFcn = ((rtMdlInitializeSizesFcn)(fp)))
 
#define rtmiSetInitSampTimesFcn(M, fp)    ((M).rtmInitSampTimesFcn = ((rtMdlInitializeSampleTimesFcn)(fp)))
 
#define rtmiSetStartFcn(M, fp)    ((M).rtmStartFcn = ((rtMdlStartFcn)(fp)))
 
#define rtmiSetOutputsFcn(M, fp)    ((M).rtmOutputsFcn = ((rtMdlOutputsFcn)(fp)))
 
#define rtmiSetUpdateFcn(M, fp)    ((M).rtmUpdateFcn = ((rtMdlUpdateFcn)(fp)))
 
#define rtmiSetDervisFcn(M, fp)    ((M).rtmDervisFcn = ((rtMdlDerivativesFcn)(fp)))
 
#define rtmiSetProjectionFcn(M, fp)    ((M).rtmProjectionFcn = ((rtMdlProjectionFcn)(fp)))
 
#define rtmiSetMassMatrixFcn(M, fp)    ((M).rtmMassMatrixFcn = ((rtMdlMassMatrixFcn)(fp)))
 
#define rtmiSetForcingFunctionFcn(M, fp)    ((M).rtmForcingFunctionFcn = ((rtMdlForcingFunctionFcn)(fp)))
 
#define rtmiSetTerminateFcn(M, fp)    ((M).rtmTerminateFcn = ((rtMdlTerminateFcn)(fp)))
 
#define rtmiInitializeSizes(M)    ((*(M).rtmInitSizesFcn)((M).rtModelPtr))
 
#define rtmiInitializeSampleTimes(M)    ((*(M).rtmInitSampTimesFcn)((M).rtModelPtr))
 
#define rtmiStart(M)    ((*(M).rtmStartFcn)((M).rtModelPtr))
 
#define rtmiOutputs(M, tid)    ((*(M).rtmOutputsFcn)((M).rtModelPtr,tid))
 
#define rtmiUpdate(M, tid)    ((*(M).rtmUpdateFcn)((M).rtModelPtr,tid))
 
#define rtmiDerivatives(M)    ((*(M).rtmDervisFcn)((M).rtModelPtr))
 
#define rtmiProjection(M)    ((*(M).rtmProjectionFcn)((M).rtModelPtr))
 
#define rtmiMassMatrix(M)    ((*(M).rtmMassMatrixFcn)((M).rtModelPtr))
 
#define rtmiForcingFunction(M)    ((*(M).rtmForcingFunctionFcn)((M).rtModelPtr))
 
#define rtmiTerminate(M)    ((*(M).rtmTerminateFcn)((M).rtModelPtr))
 

Typedefs

typedef void(* rtMdlInitializeSizesFcn) (void *rtModel)
 
typedef void(* rtMdlInitializeSampleTimesFcn) (void *rtModel)
 
typedef void(* rtMdlStartFcn) (void *rtModel)
 
typedef void(* rtMdlOutputsFcn) (void *rtModel, int_T tid)
 
typedef void(* rtMdlUpdateFcn) (void *rtModel, int_T tid)
 
typedef void(* rtMdlDerivativesFcn) (void *rtModel)
 
typedef void(* rtMdlProjectionFcn) (void *rtModel)
 
typedef void(* rtMdlMassMatrixFcn) (void *rtModel)
 
typedef void(* rtMdlForcingFunctionFcn) (void *rtModel)
 
typedef void(* rtMdlTerminateFcn) (void *rtModel)
 
typedef struct _RTWRTModelMethodsInfo_tag RTWRTModelMethodsInfo
 

Enumerations

enum  ssMatrixType {
  SS_MATRIX_NONE , SS_MATRIX_CONSTANT , SS_MATRIX_TIMEDEP , SS_MATRIX_STATEDEP ,
  SS_MATRIX_NONE , SS_MATRIX_CONSTANT , SS_MATRIX_TIMEDEP , SS_MATRIX_STATEDEP
}
 
enum  SolverMode {
  SOLVER_MODE_AUTO , SOLVER_MODE_SINGLETASKING , SOLVER_MODE_MULTITASKING , SOLVER_MODE_AUTO ,
  SOLVER_MODE_SINGLETASKING , SOLVER_MODE_MULTITASKING
}
 
enum  SimTimeStep { MINOR_TIME_STEP , MAJOR_TIME_STEP , MINOR_TIME_STEP , MAJOR_TIME_STEP }
 

Macro Definition Documentation

◆ rtmiDerivatives

#define rtmiDerivatives (   M)     ((*(M).rtmDervisFcn)((M).rtModelPtr))

◆ rtmiForcingFunction

#define rtmiForcingFunction (   M)     ((*(M).rtmForcingFunctionFcn)((M).rtModelPtr))

◆ rtmiGetRTModelPtr

#define rtmiGetRTModelPtr (   M)    (M).rtModelPtr

◆ rtmiInitializeSampleTimes

#define rtmiInitializeSampleTimes (   M)     ((*(M).rtmInitSampTimesFcn)((M).rtModelPtr))

◆ rtmiInitializeSizes

#define rtmiInitializeSizes (   M)     ((*(M).rtmInitSizesFcn)((M).rtModelPtr))

◆ rtmiMassMatrix

#define rtmiMassMatrix (   M)     ((*(M).rtmMassMatrixFcn)((M).rtModelPtr))

◆ rtmiOutputs

#define rtmiOutputs (   M,
  tid 
)     ((*(M).rtmOutputsFcn)((M).rtModelPtr,tid))

◆ rtmiProjection

#define rtmiProjection (   M)     ((*(M).rtmProjectionFcn)((M).rtModelPtr))

◆ rtmiSetDervisFcn

#define rtmiSetDervisFcn (   M,
  fp 
)     ((M).rtmDervisFcn = ((rtMdlDerivativesFcn)(fp)))

◆ rtmiSetForcingFunctionFcn

#define rtmiSetForcingFunctionFcn (   M,
  fp 
)     ((M).rtmForcingFunctionFcn = ((rtMdlForcingFunctionFcn)(fp)))

◆ rtmiSetInitSampTimesFcn

#define rtmiSetInitSampTimesFcn (   M,
  fp 
)     ((M).rtmInitSampTimesFcn = ((rtMdlInitializeSampleTimesFcn)(fp)))

◆ rtmiSetInitSizesFcn

#define rtmiSetInitSizesFcn (   M,
  fp 
)     ((M).rtmInitSizesFcn = ((rtMdlInitializeSizesFcn)(fp)))

◆ rtmiSetMassMatrixFcn

#define rtmiSetMassMatrixFcn (   M,
  fp 
)     ((M).rtmMassMatrixFcn = ((rtMdlMassMatrixFcn)(fp)))

◆ rtmiSetOutputsFcn

#define rtmiSetOutputsFcn (   M,
  fp 
)     ((M).rtmOutputsFcn = ((rtMdlOutputsFcn)(fp)))

◆ rtmiSetProjectionFcn

#define rtmiSetProjectionFcn (   M,
  fp 
)     ((M).rtmProjectionFcn = ((rtMdlProjectionFcn)(fp)))

◆ rtmiSetRTModelPtr

#define rtmiSetRTModelPtr (   M,
  rtmp 
)    ((M).rtModelPtr = (rtmp))

◆ rtmiSetStartFcn

#define rtmiSetStartFcn (   M,
  fp 
)     ((M).rtmStartFcn = ((rtMdlStartFcn)(fp)))

◆ rtmiSetTerminateFcn

#define rtmiSetTerminateFcn (   M,
  fp 
)     ((M).rtmTerminateFcn = ((rtMdlTerminateFcn)(fp)))

◆ rtmiSetUpdateFcn

#define rtmiSetUpdateFcn (   M,
  fp 
)     ((M).rtmUpdateFcn = ((rtMdlUpdateFcn)(fp)))

◆ rtmiStart

#define rtmiStart (   M)     ((*(M).rtmStartFcn)((M).rtModelPtr))

◆ rtmiTerminate

#define rtmiTerminate (   M)     ((*(M).rtmTerminateFcn)((M).rtModelPtr))

◆ rtmiUpdate

#define rtmiUpdate (   M,
  tid 
)     ((*(M).rtmUpdateFcn)((M).rtModelPtr,tid))

Typedef Documentation

◆ rtMdlDerivativesFcn

typedef void(* rtMdlDerivativesFcn) (void *rtModel)

◆ rtMdlForcingFunctionFcn

typedef void(* rtMdlForcingFunctionFcn) (void *rtModel)

◆ rtMdlInitializeSampleTimesFcn

typedef void(* rtMdlInitializeSampleTimesFcn) (void *rtModel)

◆ rtMdlInitializeSizesFcn

typedef void(* rtMdlInitializeSizesFcn) (void *rtModel)

◆ rtMdlMassMatrixFcn

typedef void(* rtMdlMassMatrixFcn) (void *rtModel)

◆ rtMdlOutputsFcn

typedef void(* rtMdlOutputsFcn) (void *rtModel, int_T tid)

◆ rtMdlProjectionFcn

typedef void(* rtMdlProjectionFcn) (void *rtModel)

◆ rtMdlStartFcn

typedef void(* rtMdlStartFcn) (void *rtModel)

◆ rtMdlTerminateFcn

typedef void(* rtMdlTerminateFcn) (void *rtModel)

◆ rtMdlUpdateFcn

typedef void(* rtMdlUpdateFcn) (void *rtModel, int_T tid)

◆ RTWRTModelMethodsInfo

Enumeration Type Documentation

◆ SimTimeStep

Enumerator
MINOR_TIME_STEP 
MAJOR_TIME_STEP 
MINOR_TIME_STEP 
MAJOR_TIME_STEP 

◆ SolverMode

enum SolverMode
Enumerator
SOLVER_MODE_AUTO 
SOLVER_MODE_SINGLETASKING 
SOLVER_MODE_MULTITASKING 
SOLVER_MODE_AUTO 
SOLVER_MODE_SINGLETASKING 
SOLVER_MODE_MULTITASKING 

◆ ssMatrixType

Enumerator
SS_MATRIX_NONE 
SS_MATRIX_CONSTANT 
SS_MATRIX_TIMEDEP 
SS_MATRIX_STATEDEP 
SS_MATRIX_NONE 
SS_MATRIX_CONSTANT 
SS_MATRIX_TIMEDEP 
SS_MATRIX_STATEDEP