3.4.0
tigl::CCPACSDucts Class Reference

#include <CCPACSDucts.h>

+ Inheritance diagram for tigl::CCPACSDucts:

Public Member Functions

TIGL_EXPORT CCPACSDucts (CCPACSAircraftModel *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSDuct const & GetDuct (std::string const &uid) const
 
TIGL_EXPORT CCPACSDuctGetDuct (std::string const &uid)
 
TIGL_EXPORT bool IsEnabled () const
 
TIGL_EXPORT PNamedShape LoftWithDuctCutouts (PNamedShape const &, std::string const &) const
 
TIGL_EXPORT void RegisterInvalidationCallback (std::function< void()> const &)
 
TIGL_EXPORT void SetEnabled (bool val=true)
 
- Public Member Functions inherited from tigl::generated::CPACSDucts
virtual TIGL_EXPORT CCPACSDuctAddDuct ()
 
virtual TIGL_EXPORT CCPACSDuctAssemblyAddDuctAssembly ()
 
TIGL_EXPORT CPACSDucts (CCPACSAircraftModel *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSDuctAssembly > > & GetDuctAssemblys () const
 
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSDuctAssembly > > & GetDuctAssemblys ()
 
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSDuct > > & GetDucts () const
 
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSDuct > > & GetDucts ()
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSAircraftModelGetParent ()
 
TIGL_EXPORT const CCPACSAircraftModelGetParent () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void RemoveDuct (CCPACSDuct &ref)
 
virtual TIGL_EXPORT void RemoveDuctAssembly (CCPACSDuctAssembly &ref)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSDucts ()
 

Private Attributes

bool enabled
 
std::vector< std::function< void()> > invalidationCallbacks
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSDucts
std::vector< std::unique_ptr< CCPACSDuctAssembly > > m_ductAssemblys
 
std::vector< std::unique_ptr< CCPACSDuct > > m_ducts
 
CCPACSAircraftModelm_parent
 
CTiglUIDManagerm_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSDucts()

TIGL_EXPORT tigl::CCPACSDucts::CCPACSDucts ( CCPACSAircraftModel parent,
CTiglUIDManager uidMgr 
)

Member Function Documentation

◆ GetDuct() [1/2]

TIGL_EXPORT CCPACSDuct const& tigl::CCPACSDucts::GetDuct ( std::string const &  uid) const

◆ GetDuct() [2/2]

TIGL_EXPORT CCPACSDuct& tigl::CCPACSDucts::GetDuct ( std::string const &  uid)

◆ IsEnabled()

TIGL_EXPORT bool tigl::CCPACSDucts::IsEnabled ( ) const

◆ LoftWithDuctCutouts()

TIGL_EXPORT PNamedShape tigl::CCPACSDucts::LoftWithDuctCutouts ( PNamedShape const &  ,
std::string const &   
) const

◆ RegisterInvalidationCallback()

TIGL_EXPORT void tigl::CCPACSDucts::RegisterInvalidationCallback ( std::function< void()> const &  )

◆ SetEnabled()

TIGL_EXPORT void tigl::CCPACSDucts::SetEnabled ( bool  val = true)

Field Documentation

◆ enabled

bool tigl::CCPACSDucts::enabled
private

◆ invalidationCallbacks

std::vector<std::function<void()> > tigl::CCPACSDucts::invalidationCallbacks
private

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