Contains the config for the SimComHandler, the SimToDuTInterface and the Logger.
More...
#include <SystemConfig.h>
|
class | boost::serialization::access |
|
Contains the config for the SimComHandler, the SimToDuTInterface and the Logger.
All attributes in this class should have default values assigned.
◆ SystemConfig()
sim_interface::SystemConfig::SystemConfig |
( |
| ) |
|
|
default |
Create a new system config with default values.
◆ loadFromFile()
static void sim_interface::SystemConfig::loadFromFile |
( |
const std::string & |
file, |
|
|
SystemConfig & |
systemConfig, |
|
|
bool |
createNewIfNotFoundOrInvalid |
|
) |
| |
|
inlinestatic |
Load the config from a File.
- Parameters
-
file | File path. |
systemConfig | Reference to a system config object. |
createNewIfNotFoundOrInvalid | Save the default system config to the file location if the loading is unsuccessful. |
◆ saveToFile()
static void sim_interface::SystemConfig::saveToFile |
( |
const std::string & |
file, |
|
|
SystemConfig & |
systemConfig |
|
) |
| |
|
inlinestatic |
Save the config to a File. Does not create a new folder if it dose not exist!
- Parameters
-
file | File path. |
systemConfig | Reference to a system config object. |
◆ loggerConfig
◆ socketSimAddressPub
std::string sim_interface::SystemConfig::socketSimAddressPub = "tcp://*:7778" |
Address of the zmq publisher.
◆ socketSimAddressReciverConfig
std::string sim_interface::SystemConfig::socketSimAddressReciverConfig = "tcp://localhost:7779" |
Address of the zmq Config Reciver.
◆ socketSimAddressSub
std::string sim_interface::SystemConfig::socketSimAddressSub = "tcp://localhost:7777" |
Address of the zmq subscriber.
The documentation for this class was generated from the following file: