OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
Classes | Macros | Enumerations | Variables
Clocks.h File Reference
#include "Clock.h"
#include <string>
#include <stack>
Include dependency graph for Clocks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Clocks
 

Macros

#define OMS_USE_CLOCKS
 
#define OMS_TIC(clocks, index)   clocks.tic(index)
 
#define OMS_TOC(clocks, index)   clocks.toc(index)
 

Enumerations

enum  GlobalClockIndex_t {
  GLOBALCLOCK_IDLE = 0, GLOBALCLOCK_INSTANTIATION, GLOBALCLOCK_INITIALIZATION, GLOBALCLOCK_SIMULATION,
  GLOBALCLOCK_COMMUNICATION, GLOBALCLOCK_RESULTFILE, GLOBALCLOCK_MAX_INDEX
}
 

Variables

Clocks globalClocks
 
const char * GlobalClockNames [GLOBALCLOCK_MAX_INDEX]
 

Macro Definition Documentation

◆ OMS_TIC

#define OMS_TIC (   clocks,
  index 
)    clocks.tic(index)

◆ OMS_TOC

#define OMS_TOC (   clocks,
  index 
)    clocks.toc(index)

◆ OMS_USE_CLOCKS

#define OMS_USE_CLOCKS

Enumeration Type Documentation

◆ GlobalClockIndex_t

Enumerator
GLOBALCLOCK_IDLE 
GLOBALCLOCK_INSTANTIATION 
GLOBALCLOCK_INITIALIZATION 
GLOBALCLOCK_SIMULATION 
GLOBALCLOCK_COMMUNICATION 
GLOBALCLOCK_RESULTFILE 
GLOBALCLOCK_MAX_INDEX 

Variable Documentation

◆ GlobalClockNames

const char* GlobalClockNames[GLOBALCLOCK_MAX_INDEX]

◆ globalClocks

Clocks globalClocks