WSF
P6DofTypeManager Class Reference

#include <P6DofTypeManager.hpp>

Inheritance diagram for P6DofTypeManager:
Collaboration diagram for P6DofTypeManager:

Public Member Functions

 P6DofTypeManager ()
 ~P6DofTypeManager ()
P6DofTypeManageroperator= (const P6DofTypeManager &other)=delete
P6DofTypeManagerClone () const
P6DofScenarioGetP6DofScenario () const
bool ProcessInput (UtInput &aInput)
void SetIntegrators (const std::string &aFilename)
bool RegisterObjectType (const std::string &aTypeName, P6DofVehicleType *aObjectTypePtr)
void UnregisterObjectType (const std::string &aTypeName)
const P6DofVehicleTypeGetObjectTypeByName (const std::string &aTypeName) const
P6DofThrustProducerObjectGetThrustProducerObjectType (const std::string &aTypeName) const
bool RegisterThrustProducerObjectType (P6DofThrustProducerObject *aObjectType)
bool ObjectTypeExists (const std::string &aTypeName) const
bool ObjectTypeNameIsUnique (const std::string &aTypeName) const
std::string GetEngineBaseType (const std::string &aTypeName) const
bool ThrustProducerObjectTypeExists (const std::string &aTypeName) const
size_t GetNumberOfObjectTypesInList () const
const P6DofIntegratorGetIntegratorByName (const std::string &aTypeName) const
std::string GetDefaultIntegratorName () const

Protected Member Functions

 P6DofTypeManager (const P6DofTypeManager &)
bool ProcessIntegratorsInput (UtInput &aInput)

Protected Attributes

std::unordered_map< std::string, P6DofVehicleType * > mObjectTypeMap
std::unordered_map< std::string, P6DofThrustProducerObject * > mThrustProducerTypeMap
P6DofScenariomScenario
std::unordered_map< std::string, P6DofIntegrator * > mIntegratorMap

Static Protected Attributes

static const std::string mDefaultIntegratorName = "STANDARD_P6DOF_INTEGRATOR"

Constructor & Destructor Documentation

◆ P6DofTypeManager() [1/2]

P6DofTypeManager::P6DofTypeManager ( )

◆ ~P6DofTypeManager()

P6DofTypeManager::~P6DofTypeManager ( )

◆ P6DofTypeManager() [2/2]

P6DofTypeManager::P6DofTypeManager ( const P6DofTypeManager & )
inlineprotected

Member Function Documentation

◆ Clone()

P6DofTypeManager * P6DofTypeManager::Clone ( ) const

References P6DofTypeManager().

Referenced by operator=().

◆ GetDefaultIntegratorName()

std::string P6DofTypeManager::GetDefaultIntegratorName ( ) const
inline

◆ GetEngineBaseType()

std::string P6DofTypeManager::GetEngineBaseType ( const std::string & aTypeName) const

◆ GetIntegratorByName()

const P6DofIntegrator * P6DofTypeManager::GetIntegratorByName ( const std::string & aTypeName) const

◆ GetNumberOfObjectTypesInList()

size_t P6DofTypeManager::GetNumberOfObjectTypesInList ( ) const
inline

References mObjectTypeMap.

◆ GetObjectTypeByName()

const P6DofVehicleType * P6DofTypeManager::GetObjectTypeByName ( const std::string & aTypeName) const

◆ GetP6DofScenario()

P6DofScenario * P6DofTypeManager::GetP6DofScenario ( ) const
inline

References mScenario.

◆ GetThrustProducerObjectType()

P6DofThrustProducerObject * P6DofTypeManager::GetThrustProducerObjectType ( const std::string & aTypeName) const

◆ ObjectTypeExists()

bool P6DofTypeManager::ObjectTypeExists ( const std::string & aTypeName) const

References mObjectTypeMap.

Referenced by ObjectTypeNameIsUnique().

◆ ObjectTypeNameIsUnique()

bool P6DofTypeManager::ObjectTypeNameIsUnique ( const std::string & aTypeName) const

References ObjectTypeExists().

Referenced by RegisterObjectType().

◆ operator=()

P6DofTypeManager & P6DofTypeManager::operator= ( const P6DofTypeManager & other)
delete

References Clone(), and P6DofTypeManager().

◆ ProcessInput()

◆ ProcessIntegratorsInput()

bool P6DofTypeManager::ProcessIntegratorsInput ( UtInput & aInput)
protected

References mDefaultIntegratorName, and mIntegratorMap.

Referenced by SetIntegrators().

◆ RegisterObjectType()

bool P6DofTypeManager::RegisterObjectType ( const std::string & aTypeName,
P6DofVehicleType * aObjectTypePtr )

References mObjectTypeMap, and ObjectTypeNameIsUnique().

Referenced by ProcessInput().

◆ RegisterThrustProducerObjectType()

bool P6DofTypeManager::RegisterThrustProducerObjectType ( P6DofThrustProducerObject * aObjectType)

◆ SetIntegrators()

void P6DofTypeManager::SetIntegrators ( const std::string & aFilename)

References ProcessIntegratorsInput().

Referenced by ProcessInput().

◆ ThrustProducerObjectTypeExists()

bool P6DofTypeManager::ThrustProducerObjectTypeExists ( const std::string & aTypeName) const

◆ UnregisterObjectType()

void P6DofTypeManager::UnregisterObjectType ( const std::string & aTypeName)

References mObjectTypeMap.

Member Data Documentation

◆ mDefaultIntegratorName

const std::string P6DofTypeManager::mDefaultIntegratorName = "STANDARD_P6DOF_INTEGRATOR"
staticprotected

◆ mIntegratorMap

std::unordered_map<std::string, P6DofIntegrator*> P6DofTypeManager::mIntegratorMap
protected

◆ mObjectTypeMap

std::unordered_map<std::string, P6DofVehicleType*> P6DofTypeManager::mObjectTypeMap
protected

◆ mScenario

P6DofScenario* P6DofTypeManager::mScenario
protected

◆ mThrustProducerTypeMap


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved