|
CFx SDK Documentation 2026 SP0
|
#include <IfcTaskAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getStatus () const |
| void | setStatus (const OdAnsiString &Status) |
| const OdAnsiString & | getWorkMethod () const |
| void | setWorkMethod (const OdAnsiString &WorkMethod) |
| OdDAI::Boolean | getIsMilestone () const |
| void | setIsMilestone (OdDAI::Boolean IsMilestone) |
| int | getPriority () const |
| void | setPriority (int Priority) |
| const OdDAIObjectId & | getTaskTime () const |
| void | setTaskTime (const OdDAIObjectId &TaskTime) |
| IfcTaskTypeEnum | getPredefinedType () const |
| void | setPredefinedType (IfcTaskTypeEnum PredefinedType) |
| IfcTask () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc4x1::IfcProcess | |
| const OdAnsiString & | getIdentification () const |
| void | setIdentification (const OdAnsiString &Identification) |
| const OdAnsiString & | getLongDescription () const |
| void | setLongDescription (const OdAnsiString &LongDescription) |
| void | getInvIsPredecessorTo (OdDAIObjectIds &IsPredecessorTo) const |
| void | getInvIsSuccessorFrom (OdDAIObjectIds &IsSuccessorFrom) const |
| void | getInvOperatesOn (OdDAIObjectIds &OperatesOn) const |
| IfcProcess () | |
Public Member Functions inherited from OdIfc4x1::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDeclaredBy (OdDAIObjectIds &IsDeclaredBy) const |
| void | getInvDeclares (OdDAIObjectIds &Declares) const |
| void | getInvIsTypedBy (OdDAIObjectIds &IsTypedBy) const |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc4x1::IfcObjectDefinition | |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvNests (OdDAIObjectIds &Nests) const |
| void | getInvIsNestedBy (OdDAIObjectIds &IsNestedBy) const |
| void | getInvHasContext (OdDAIObjectIds &HasContext) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
Public Member Functions inherited from OdIfc4x1::IfcRoot | |
| OdDAI::CompressedGUID | getGlobalId () const |
| void | setGlobalId (OdDAI::CompressedGUID GlobalId) |
| const OdDAIObjectId & | getOwnerHistory () const |
| void | setOwnerHistory (const OdDAIObjectId &OwnerHistory) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcRoot () | |
Public Member Functions inherited from OdIfc4x1::OdIfc4x1Instance | |
| void | setInverseCounterParts () override |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdAnsiString | m_Status |
| OdAnsiString | m_WorkMethod |
| OdDAI::Boolean | m_IsMilestone |
| int | m_Priority |
| OdDAIObjectId | m_TaskTime |
| OdDAI::Enum | m_PredefinedType |
Protected Attributes inherited from OdIfc4x1::IfcProcess | |
| OdAnsiString | m_Identification |
| OdAnsiString | m_LongDescription |
Protected Attributes inherited from OdIfc4x1::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc4x1::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
An IfcTask is an identifiable unit of work to be carried out in a construction project. A task is typically used to describe an activity for the construction or installation of products, but is not limited to these types. For example, it might be used to describe design processes, move operations and other design, construction and operation related activities as well. Quantities of resources consumed by the task are dealt with by defining the IfcElementQuantity for the resource and not at the instance of IfcTask.
IfcTask can also be used to describe an activity that moves people, groups within an organization or complete organizations together with their associated furniture and equipment from one place to another. Thus, it replaces the previous IFC entity IfcMove. The functionality is represented in IfcTask as follows: Move from: The place from which actors and their associated equipment are moving. Use IfcRelAssignsToProcess where RelatingProcess points to the task and RelatedObjects holds the location(s) from which to move. Move to: The place to which actors and their associated equipment are moving. Use IfcRelAssignsToProduct where RelatedObjects points to the task(s) and RelatingProduct points to the location to which to move. Punch list: A list of points concerning a move that require attention. Use LongDescription or identify sub-tasks to track punch list items individually via IfcRelNests.
As shown on the image below, the installation of a number of items of equipment within a particular space can be the subject of a single task which is identified as 'fix equipment in space 123'. IfcTask represents the occurrence of a work performance of a type of process in a construction plan.
<IMAGE ifctask_example>
A task can nest other tasks as sub-items; the nesting relationship is modeled by IfcRelNests as shown on the image below. For example, the construction of a stud wall can be designated as a nesting task named 'install wall #1' including other tasks such as 'install dry wall', 'install studs', 'wall taping', and 'erect wall' as sub-processes.
The hierarchy and order defined through IfcRelNests enables to order the tasks in a tree view or list view structure.
<IMAGE IfcTask_instantiation_diagram>
A top-level task is declared within the IfcProject using the IfcRelDeclares relationship.
\changes
IFC4 changes: Name of the IsMilestone attribute changed to Priority. Attribute IsMilestone is optional. Type of the IsMilestone attribute changed from "boolean" to "IfcInteger". Name of the Priority attribute changed to TaskTime. Type of the Priority attribute changed from "integer" to "IfcTaskTime".
Definition at line 132 of file Ifc4x1/IfcTaskAutoImpl.h.
| OdIfc4x1::IfcTask::IfcTask | ( | ) |
Default constructor for the IfcTask class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc4x1::IfcProcess.
| OdDAI::Boolean OdIfc4x1::IfcTask::getIsMilestone | ( | ) | const |
Returns the value of IsMilestone attribute. This attribute represents whether a task is a milestone task (=TRUE) or not(= FALSE).
| IfcTaskTypeEnum OdIfc4x1::IfcTask::getPredefinedType | ( | ) | const |
Returns the value of PredefinedType attribute. This attribute represents the predefined types of a task from which the required type can be set.
| int OdIfc4x1::IfcTask::getPriority | ( | ) | const |
Returns the value of Priority attribute. This attribute represents a value that indicates the relative priority of the task (in comparison to the priorities of other tasks).
| const OdAnsiString & OdIfc4x1::IfcTask::getStatus | ( | ) | const |
Returns the value of Status attribute. This attribute represents current status of the task.
| const OdDAIObjectId & OdIfc4x1::IfcTask::getTaskTime | ( | ) | const |
Returns the value of TaskTime attribute. This attribute represents time related information for the task.
| const OdAnsiString & OdIfc4x1::IfcTask::getWorkMethod | ( | ) | const |
Returns the value of WorkMethod attribute. This attribute represents the method of work used in carrying out a task.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc4x1::IfcProcess.
| void OdIfc4x1::IfcTask::setIsMilestone | ( | OdDAI::Boolean | IsMilestone | ) |
Sets the value of IsMilestone attribute. This attribute represents whether a task is a milestone task (=TRUE) or not(= FALSE).
| IsMilestone | [in] IsMilestone attribute to set. |
| void OdIfc4x1::IfcTask::setPredefinedType | ( | IfcTaskTypeEnum | PredefinedType | ) |
Sets the value of PredefinedType attribute. This attribute represents the predefined types of a task from which the required type can be set.
| PredefinedType | [in] Predefined type to set. |
| void OdIfc4x1::IfcTask::setPriority | ( | int | Priority | ) |
Sets the value of Priority attribute. This attribute represents a value that indicates the relative priority of the task (in comparison to the priorities of other tasks).
| Priority | [in] Priority to set. |
| void OdIfc4x1::IfcTask::setStatus | ( | const OdAnsiString & | Status | ) |
Sets the value of Status attribute. This attribute represents current status of the task.
| Status | [in] Status to set. |
| void OdIfc4x1::IfcTask::setTaskTime | ( | const OdDAIObjectId & | TaskTime | ) |
Sets the value of TaskTime attribute. This attribute represents time related information for the task.
| TaskTime | [in] Task time to set. |
| void OdIfc4x1::IfcTask::setWorkMethod | ( | const OdAnsiString & | WorkMethod | ) |
Sets the value of WorkMethod attribute. This attribute represents the method of work used in carrying out a task.
| WorkMethod | [in] Work method to set. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc4x1::IfcProcess.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc4x1::IfcProcess.
|
protected |
Definition at line 362 of file Ifc4x1/IfcTaskAutoImpl.h.
|
protected |
Definition at line 365 of file Ifc4x1/IfcTaskAutoImpl.h.
|
protected |
Definition at line 363 of file Ifc4x1/IfcTaskAutoImpl.h.
|
protected |
Definition at line 360 of file Ifc4x1/IfcTaskAutoImpl.h.
|
protected |
Definition at line 364 of file Ifc4x1/IfcTaskAutoImpl.h.
|
protected |
Definition at line 361 of file Ifc4x1/IfcTaskAutoImpl.h.