Macros
SimulatorSignatureMacros.hpp File Reference

Detailed Description

Author
Jean-Christophe FABRE jean-.nosp@m.chri.nosp@m.stoph.nosp@m.e.fa.nosp@m.bre@i.nosp@m.nra..nosp@m.fr
#include <openfluid/ware/WareSignatureMacros.hpp>
Include dependency graph for SimulatorSignatureMacros.hpp:

Go to the source code of this file.

Macros

#define BEGIN_SIMULATOR_SIGNATURE(id)
 
#define END_SIMULATOR_SIGNATURE
 
#define DECLARE_DOMAIN(domain)
 
#define DECLARE_PROCESS(process)
 
#define DECLARE_METHOD(method)
 
#define DECLARE_USED_PARAMETER(name, description, unit)
 
#define DECLARE_SIMULATOR_PARAM(name, description, unit)
 
#define DECLARE_REQUIRED_PARAMETER(name, description, unit)
 
#define DECLARE_PRODUCED_VARIABLE(name, uclass, description, unit)
 
#define DECLARE_PRODUCED_VAR(name, uclass, description, unit)
 
#define DECLARE_UPDATED_VARIABLE(name, uclass, description, unit)
 
#define DECLARE_UPDATED_VAR(name, uclass, description, unit)
 
#define DECLARE_REQUIRED_VARIABLE(name, uclass, description, unit)
 
#define DECLARE_REQUIRED_VAR(name, uclass, description, unit)
 
#define DECLARE_USED_VARIABLE(name, uclass, description, unit)
 
#define DECLARE_USED_VAR(name, uclass, description, unit)
 
#define DECLARE_PRODUCED_ATTRIBUTE(name, uclass, description, unit)
 
#define DECLARE_REQUIRED_ATTRIBUTE(name, uclass, description, unit)
 
#define DECLARE_USED_ATTRIBUTE(name, uclass, description, unit)
 
#define DECLARE_USED_EVENTS(uclass)
 
#define DECLARE_UPDATED_UNITSGRAPH(description)
 
#define DECLARE_UPDATED_UNITSCLASS(uclass, description)
 
#define DECLARE_REQUIRED_EXTRAFILE(name)
 
#define DECLARE_USED_EXTRAFILE(name)
 
#define DECLARE_SCHEDULING_UNDEFINED
 
#define DECLARE_SCHEDULING_DEFAULT
 
#define DECLARE_SCHEDULING_FIXED(deltat)
 
#define DECLARE_SCHEDULING_RANGE(min, max)
 

Macro Definition Documentation

◆ BEGIN_SIMULATOR_SIGNATURE

#define BEGIN_SIMULATOR_SIGNATURE (   id)

Macro for the beginning of definition of signature hook

◆ DECLARE_DOMAIN

#define DECLARE_DOMAIN (   domain)

Macro for declaration of the simulator application domain

◆ DECLARE_METHOD

#define DECLARE_METHOD (   method)

Macro for declaration of the simulator application numerical method

◆ DECLARE_PROCESS

#define DECLARE_PROCESS (   process)

Macro for declaration of the simulator application processes

◆ DECLARE_PRODUCED_ATTRIBUTE

#define DECLARE_PRODUCED_ATTRIBUTE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of a produced attribute

Parameters
[in]namename of the attribute
[in]uclassclass of the concerned units
[in]descriptiondescription of the attribute
[in]unitunit of the attribute. Could be an empty string if there is no unit

◆ DECLARE_PRODUCED_VAR

#define DECLARE_PRODUCED_VAR (   name,
  uclass,
  description,
  unit 
)
Deprecated:
Since version 2.1.0. Use DECLARE_PRODUCED_VARIABLE instead

◆ DECLARE_PRODUCED_VARIABLE

#define DECLARE_PRODUCED_VARIABLE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of a produced variable

Parameters
[in]namename of the variable
[in]uclassclass of the concerned units
[in]descriptiondescription of the variable
[in]unitunit of the variable. Could be an empty string if there is no unit

◆ DECLARE_REQUIRED_ATTRIBUTE

#define DECLARE_REQUIRED_ATTRIBUTE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of a required attribute

Parameters
[in]namename of the attribute
[in]uclassclass of the concerned units
[in]descriptiondescription of the attribute
[in]unitunit of the attribute. Could be an empty string if there is no unit

◆ DECLARE_REQUIRED_EXTRAFILE

#define DECLARE_REQUIRED_EXTRAFILE (   name)

Macro for declaration of required file

Parameters
[in]namename of the file

◆ DECLARE_REQUIRED_PARAMETER

#define DECLARE_REQUIRED_PARAMETER (   name,
  description,
  unit 
)

Macro for declaration of a required simulator parameter

Parameters
[in]namename of the parameter
[in]descriptiondescription of the parameter
[in]unitunit of the parameter. Could be an empty string if there is no unit

◆ DECLARE_REQUIRED_VAR

#define DECLARE_REQUIRED_VAR (   name,
  uclass,
  description,
  unit 
)
Deprecated:
Since version 2.1.0. Use DECLARE_REQUIRED_VARIABLE instead

◆ DECLARE_REQUIRED_VARIABLE

#define DECLARE_REQUIRED_VARIABLE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of a required variable

Parameters
[in]namename of the variable
[in]uclassclass of the concerned units
[in]descriptiondescription of the variable
[in]unitunit of the variable. Could be an empty string if there is no unit

◆ DECLARE_SCHEDULING_DEFAULT

#define DECLARE_SCHEDULING_DEFAULT

Macro for declaration of time scheduling as default delta T

◆ DECLARE_SCHEDULING_FIXED

#define DECLARE_SCHEDULING_FIXED (   deltat)

Macro for declaration of fixed time scheduling

Parameters
[in]deltatfixed time scheduling value

◆ DECLARE_SCHEDULING_RANGE

#define DECLARE_SCHEDULING_RANGE (   min,
  max 
)

Macro for declaration of range of time scheduling

Parameters
[in]minminimal time scheduling value
[in]maxmaximal time scheduling value

◆ DECLARE_SCHEDULING_UNDEFINED

#define DECLARE_SCHEDULING_UNDEFINED

Macro for declaration of time scheduling as undefined

◆ DECLARE_SIMULATOR_PARAM

#define DECLARE_SIMULATOR_PARAM (   name,
  description,
  unit 
)
Deprecated:
Since version 2.1.0. Use DECLARE_USED_PARAMETER instead

◆ DECLARE_UPDATED_UNITSCLASS

#define DECLARE_UPDATED_UNITSCLASS (   uclass,
  description 
)

Macro for declaration of units class creation or update

Parameters
[in]uclassname of the created or updated class
[in]descriptiondescription of the updated class

◆ DECLARE_UPDATED_UNITSGRAPH

#define DECLARE_UPDATED_UNITSGRAPH (   description)

Macro for declaration of units graph modification

Parameters
[in]descriptiondescription of modification

◆ DECLARE_UPDATED_VAR

#define DECLARE_UPDATED_VAR (   name,
  uclass,
  description,
  unit 
)
Deprecated:
Since version 2.1.0. Use DECLARE_UPDATED_VARIABLE instead

◆ DECLARE_UPDATED_VARIABLE

#define DECLARE_UPDATED_VARIABLE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of an updated variable

Parameters
[in]namename of the variable
[in]uclassclass of the concerned units
[in]descriptiondescription of the variable
[in]unitunit of the variable. Could be an empty string if there is no unit

◆ DECLARE_USED_ATTRIBUTE

#define DECLARE_USED_ATTRIBUTE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of a used attribute

Parameters
[in]namename of the attribute
[in]uclassclass of the concerned units
[in]descriptiondescription of the attribute
[in]unitunit of the attribute. Could be an empty string if there is no unit

◆ DECLARE_USED_EVENTS

#define DECLARE_USED_EVENTS (   uclass)

Macro for declaration of used events

Parameters
[in]uclassclass of the concerned units

◆ DECLARE_USED_EXTRAFILE

#define DECLARE_USED_EXTRAFILE (   name)

Macro for declaration of used file

Parameters
[in]namename of the file

◆ DECLARE_USED_PARAMETER

#define DECLARE_USED_PARAMETER (   name,
  description,
  unit 
)

Macro for declaration of an used simulator parameter

Parameters
[in]namename of the parameter
[in]descriptiondescription of the parameter
[in]unitunit of the parameter. Could be an empty string if there is no unit

◆ DECLARE_USED_VAR

#define DECLARE_USED_VAR (   name,
  uclass,
  description,
  unit 
)
Deprecated:
Since version 2.1.0. Use DECLARE_USED_VARIABLE instead

◆ DECLARE_USED_VARIABLE

#define DECLARE_USED_VARIABLE (   name,
  uclass,
  description,
  unit 
)

Macro for declaration of an used variable

Parameters
[in]namename of the variable
[in]uclassclass of the concerned units
[in]descriptiondescription of the variable
[in]unitunit of the variable. Could be an empty string if there is no unit

◆ END_SIMULATOR_SIGNATURE

#define END_SIMULATOR_SIGNATURE

Macro for the end of definition of signature hook