MATSIM
core
mobsim
qsim
components
QSimComponentsModule.java
Go to the documentation of this file.
1
2
/* *********************************************************************** *
3
* project: org.matsim.*
4
* QSimComponentsModule.java
5
* *
6
* *********************************************************************** *
7
* *
8
* copyright : (C) 2019 by the members listed in the COPYING, *
9
* LICENSE and WARRANTY file. *
10
* email : info at matsim dot org *
11
* *
12
* *********************************************************************** *
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* See also COPYING, LICENSE and WARRANTY file *
19
* *
20
* *********************************************************************** */
21
22
package
org.matsim.core.mobsim.qsim.components;
23
24
import
org
.
matsim
.
core
.
config
.
Config
;
25
26
import
com.google.inject.AbstractModule;
27
import
com.google.inject.Provides;
28
import
com.google.inject.Singleton;
29
30
public
class
QSimComponentsModule
extends
AbstractModule {
31
@Provides
32
@Singleton
33
public
QSimComponentsConfig
provideDefaultQSimComponentsConfig
(
Config
config) {
34
QSimComponentsConfig
components =
new
QSimComponentsConfig
();
35
new
StandardQSimComponentConfigurator
(config).
configure
(components);
36
return
components;
37
}
38
39
@Override
40
protected
void
configure
() {
41
}
42
}
org.matsim.core.mobsim.qsim.components.QSimComponentsModule.provideDefaultQSimComponentsConfig
QSimComponentsConfig provideDefaultQSimComponentsConfig(Config config)
Definition:
QSimComponentsModule.java:33
org
org.matsim.core.mobsim.qsim.components.QSimComponentsModule
Definition:
QSimComponentsModule.java:30
org.matsim.core.config.Config
Definition:
Config.java:73
org.matsim.core.mobsim.qsim.components.StandardQSimComponentConfigurator.configure
void configure(QSimComponentsConfig components)
Definition:
StandardQSimComponentConfigurator.java:36
org.matsim.core.config
Definition:
CommandLine.java:22
org.matsim.core.mobsim.qsim.components.StandardQSimComponentConfigurator
Definition:
StandardQSimComponentConfigurator.java:28
org.matsim.core
org.matsim.core.mobsim.qsim.components.QSimComponentsConfig
Definition:
QSimComponentsConfig.java:43
org.matsim
org.matsim.core.mobsim.qsim.components.QSimComponentsModule.configure
void configure()
Definition:
QSimComponentsModule.java:40
Generated by
1.8.13