A simulation extension to manage WsfConstellation objects.
More...
#include <WsfConstellationManager.hpp>
|
| static constexpr const char * | cEXTENSION_NAME {"wsf_constellation_manager"} |
A simulation extension to manage WsfConstellation objects.
◆ WsfConstellationManager()
| WsfConstellationManager::WsfConstellationManager |
( |
| ) |
|
|
default |
◆ ~WsfConstellationManager()
| WsfConstellationManager::~WsfConstellationManager |
( |
| ) |
|
|
overridedefault |
◆ AddConstellation()
| bool WsfConstellationManager::AddConstellation |
( |
std::unique_ptr< WsfConstellation > | aConstellationPtr | ) |
|
Add a constellation to this manager.
This will add the given constellation to this manager if there is not already a constellation with the name of the given aConstellationPtr. This returns true if the constellation was successfully added to the manager, or false otherwise.
- Parameters
-
| aConstellationPtr | - The constellation to add. |
- Returns
- - true if the constellation was successfully added; false otherwise.
◆ FindConstellation()
| WsfConstellation * WsfConstellationManager::FindConstellation |
( |
const std::string & | aConstellationName | ) |
const |
Return the constellation with the given name, if it exists.
- Parameters
-
| aConstellationName | - The name of the constellation to find. |
- Returns
- - The constellation if there is a constellation with that name; nullptr otherwise.
Referenced by UT_DEFINE_SCRIPT_METHOD().
◆ Get()
◆ GetConstellations()
| std::vector< WsfConstellation * > WsfConstellationManager::GetConstellations |
( |
| ) |
const |
◆ cEXTENSION_NAME
| const char* WsfConstellationManager::cEXTENSION_NAME {"wsf_constellation_manager"} |
|
staticconstexpr |
The documentation for this class was generated from the following files: