Interface IModelCompiler
Inherited Members
System.IDisposable.Dispose()
Assembly: Mars.Core.dll
Syntax
public interface IModelCompiler : IDisposable
Methods
|
Improve this Doc
View Source
CompileProxyStubs(ModelDescription)
Generates the proxy code and compiles it to create usable types.
Declaration
void CompileProxyStubs(ModelDescription description)
Parameters
Type |
Name |
Description |
ModelDescription |
description |
The description containing all types from which
to generate and compile all proxies.
|
|
Improve this Doc
View Source
CreateLayerProxy<T>(ILayer, LayerType)
Get a result logger.
Declaration
T CreateLayerProxy<T>(ILayer simObject, LayerType type)
where T : IGeneratedLayerLogger
Parameters
Type |
Name |
Description |
ILayer |
simObject |
The simulation object to set a logger for. |
LayerType |
type |
The type description to which this entity belongs to. |
Returns
Type |
Description |
T |
An agent result logger instance for the given type. |
Type Parameters
|
Improve this Doc
View Source
CreateTypeProxy<T>(TypeElement)
Get a type result logger.
Declaration
T CreateTypeProxy<T>(TypeElement type)
where T : IGeneratedTypeLogger
Parameters
Type |
Name |
Description |
TypeElement |
type |
The agent type description to identify the correct logger. |
Returns
Type Parameters
Extension Methods