Project Chrono: chrono::synchrono::SynAgentFactory Class Reference

Static Public Member Functions | List of all members
chrono::synchrono::SynAgentFactory Class Reference
SYNCHRONO module » Agents

## Description

Generates SynTerrain's from JSON files Used to improve generality in Agent classes.

`#include <SynAgentFactory.h>`

## Static Public Member Functions
static std::shared_ptr< SynAgent > | CreateAgent (std::shared_ptr< SynMessage > description)
| Generate the corresponding SynAgent from a description message.

## Member Function Documentation

## ◆ CreateAgent()

std::shared_ptr< SynAgent > chrono::synchrono::SynAgentFactory::CreateAgent | ( | std::shared_ptr< SynMessage > | description | ) |
| static

Generate the corresponding SynAgent from a description message.

TODO: Add json support

The documentation for this class was generated from the following files:

- D:/W/B/src/chrono-9.0.1/src/chrono_synchrono/agent/SynAgentFactory.h
- D:/W/B/src/chrono-9.0.1/src/chrono_synchrono/agent/SynAgentFactory.cpp