Drake
|
#include <simstruc.h>
#include <chrono>
#include <thread>
#include "cg_sfun.h"
Macros | |
#define | S_FUNCTION_NAME realtime |
#define | S_FUNCTION_LEVEL 2 |
#define | UNUSED(x) (void)(x) |
#define | MDL_INITIAL_SIZES |
#define | MDL_INITIALIZE_SAMPLE_TIMES |
#define | MDL_CHECK_PARAMETERS |
#define | MDL_START |
#define | MDL_UPDATE |
#define | MDL_OUTPUTS |
Typedefs | |
typedef std::chrono::system_clock | TimeClock |
typedef std::chrono::duration< double > | TimeDuration |
typedef std::chrono::time_point< TimeClock, TimeDuration > | TimePoint |
Functions | |
static void | mdlInitializeSizes (SimStruct *S) |
static void | mdlInitializeSampleTimes (SimStruct *S) |
static void | mdlStart (SimStruct *S) |
static void | mdlUpdate (SimStruct *S, int_T tid) |
static void | mdlOutputs (SimStruct *S, int_T tid) |
static void | mdlTerminate (SimStruct *S) |
#define MDL_CHECK_PARAMETERS |
#define MDL_INITIAL_SIZES |
#define MDL_INITIALIZE_SAMPLE_TIMES |
#define MDL_OUTPUTS |
#define MDL_START |
#define MDL_UPDATE |
#define S_FUNCTION_LEVEL 2 |
#define S_FUNCTION_NAME realtime |
typedef std::chrono::system_clock TimeClock |
typedef std::chrono::duration<double> TimeDuration |
typedef std::chrono::time_point<TimeClock, TimeDuration> TimePoint |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |