ComponentSegment of the wing. More...
#include <CPACSComponentSegment.h>
Public Member Functions | |
TIGL_EXPORT | CPACSComponentSegment (CCPACSWingComponentSegments *parent, CTiglUIDManager *uidMgr) |
virtual TIGL_EXPORT const boost::optional< CCPACSControlSurfaces > & | GetControlSurfaces () const |
virtual TIGL_EXPORT boost::optional< CCPACSControlSurfaces > & | GetControlSurfaces () |
virtual TIGL_EXPORT CCPACSControlSurfaces & | GetControlSurfaces (CreateIfNotExistsTag) |
virtual TIGL_EXPORT const boost::optional< std::string > & | GetDescription () const |
virtual TIGL_EXPORT const std::string & | GetFromElementUID () const |
virtual TIGL_EXPORT const std::string & | GetName () const |
virtual TIGL_EXPORT CTiglUIDObject * | GetNextUIDParent () |
virtual TIGL_EXPORT const CTiglUIDObject * | GetNextUIDParent () const |
TIGL_EXPORT CCPACSWingComponentSegments * | GetParent () |
TIGL_EXPORT const CCPACSWingComponentSegments * | GetParent () const |
virtual TIGL_EXPORT const boost::optional< CCPACSWingCSStructure > & | GetStructure () const |
virtual TIGL_EXPORT boost::optional< CCPACSWingCSStructure > & | GetStructure () |
virtual TIGL_EXPORT CCPACSWingCSStructure & | GetStructure (CreateIfNotExistsTag) |
virtual TIGL_EXPORT const std::string & | GetToElementUID () const |
virtual TIGL_EXPORT const std::string & | GetUID () const |
TIGL_EXPORT CTiglUIDManager & | GetUIDManager () |
TIGL_EXPORT const CTiglUIDManager & | GetUIDManager () const |
virtual TIGL_EXPORT void | ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) |
virtual TIGL_EXPORT void | RemoveControlSurfaces () |
virtual TIGL_EXPORT void | RemoveStructure () |
virtual TIGL_EXPORT void | SetDescription (const boost::optional< std::string > &value) |
virtual TIGL_EXPORT void | SetFromElementUID (const std::string &value) |
virtual TIGL_EXPORT void | SetName (const std::string &value) |
virtual TIGL_EXPORT void | SetToElementUID (const std::string &value) |
virtual TIGL_EXPORT void | SetUID (const std::string &value) |
virtual TIGL_EXPORT void | WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const |
virtual TIGL_EXPORT | ~CPACSComponentSegment () |
Public Member Functions inherited from tigl::CTiglReqUIDObject | |
boost::optional< std::string > | GetObjectUID () const |
virtual | ~CTiglReqUIDObject ()=default |
Public Member Functions inherited from tigl::CTiglUIDObject | |
TIGL_EXPORT void | Invalidate (const boost::optional< std::string > &source=boost::none) const |
Public Member Functions inherited from tigl::ITiglUIDRefObject | |
virtual | ~ITiglUIDRefObject ()=default |
Protected Attributes | |
boost::optional< CCPACSControlSurfaces > | m_controlSurfaces |
boost::optional< std::string > | m_description |
Description of the componentSegment. More... | |
std::string | m_fromElementUID |
Reference to the element from which the componentSegment shall start. More... | |
std::string | m_name |
Name of the wing componentSegment. More... | |
CCPACSWingComponentSegments * | m_parent |
boost::optional< CCPACSWingCSStructure > | m_structure |
std::string | m_toElementUID |
Reference to the element from which the componentSegment shall end. More... | |
std::string | m_uID |
CTiglUIDManager * | m_uidMgr |
Private Member Functions | |
CPACSComponentSegment (const CPACSComponentSegment &)=delete | |
CPACSComponentSegment (CPACSComponentSegment &&)=delete | |
TIGL_EXPORT const CTiglUIDObject * | GetNextUIDObject () const final |
TIGL_EXPORT void | NotifyUIDChange (const std::string &oldUid, const std::string &newUid) final |
CPACSComponentSegment & | operator= (const CPACSComponentSegment &)=delete |
CPACSComponentSegment & | operator= (CPACSComponentSegment &&)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from tigl::CTiglUIDObject | |
~CTiglUIDObject ()=default | |
ComponentSegment of the wing.
Within componentSegments the wing structure, the control surfaces, the wing fuel tanks and the wingFuselageAttachment is defined by using relative coordinates. A componentSegment is defined in the same way as segments: from one cross section (sections->elements) to another. Compared to segments one componentSegment can can start and end at elements that are not consecutive. Therefore that one componentSegment can be the combination of several segments. Each wing has at least one componentSegment (from root to tip). The maximal number of componentSegments equals the number of segments (each segment is defined as one componentSegment). This also implies that each segment can only be part of one componentSegment. In principal a componentSegment can combine any number of segments. But if in one section two elements are defined, the componentSegment has to start/end there as no well-defined relative coordinats can be defined if steps in the wing occure. An example for wing componentSegments can be found in the picture below:
TIGL_EXPORT tigl::generated::CPACSComponentSegment::CPACSComponentSegment | ( | CCPACSWingComponentSegments * | parent, |
CTiglUIDManager * | uidMgr | ||
) |
|
virtual |
|
privatedelete |
|
privatedelete |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
finalprivatevirtual |
Implements tigl::ITiglUIDRefObject.
|
virtual |
Implements tigl::CTiglUIDObject.
|
virtual |
Implements tigl::CTiglUIDObject.
TIGL_EXPORT CCPACSWingComponentSegments* tigl::generated::CPACSComponentSegment::GetParent | ( | ) |
TIGL_EXPORT const CCPACSWingComponentSegments* tigl::generated::CPACSComponentSegment::GetParent | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements tigl::CTiglReqUIDObject.
|
virtual |
Implements tigl::CTiglUIDObject.
|
virtual |
Implements tigl::CTiglUIDObject.
|
finalprivatevirtual |
Implements tigl::ITiglUIDRefObject.
|
privatedelete |
|
privatedelete |
|
virtual |
Reimplemented in tigl::CCPACSWingComponentSegment.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
Description of the componentSegment.
|
protected |
Reference to the element from which the componentSegment shall start.
|
protected |
Name of the wing componentSegment.
|
protected |
|
protected |
|
protected |
Reference to the element from which the componentSegment shall end.
|
protected |
|
protected |