|
CFx SDK Documentation 2026 SP0
|
#include <IfcTaskAutoImpl.h>
Public Member Functions | |
| const OdAnsiString & | getTaskId () const |
| void | setTaskId (const OdAnsiString &TaskId) |
| 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) |
| 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 bool | comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) 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 OdIfc2x3::IfcProcess | |
| void | getInvOperatesOn (OdDAIObjectIds &OperatesOn) const |
| void | getInvIsSuccessorFrom (OdDAIObjectIds &IsSuccessorFrom) const |
| void | getInvIsPredecessorTo (OdDAIObjectIds &IsPredecessorTo) const |
Public Member Functions inherited from OdIfc2x3::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc2x3::IfcObjectDefinition | |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
Public Member Functions inherited from OdIfc2x3::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 OdIfc2x3::OdIfc2x3Instance | |
| 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_TaskId |
| OdAnsiString | m_Status |
| OdAnsiString | m_WorkMethod |
| OdDAI::Boolean | m_IsMilestone |
| int | m_Priority |
Protected Attributes inherited from OdIfc2x3::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc2x3::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.
Definition at line 122 of file Ifc2x3/IfcTaskAutoImpl.h.
| OdIfc2x3::IfcTask::IfcTask | ( | ) |
Default constructor for the IfcTask class.
|
overridevirtual |
Early-bound version of instances comparison.
| pOther | [in] Other application instance. |
| ordering | [out] Receives the ordering (comparison) status. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
| OdDAI::Boolean OdIfc2x3::IfcTask::getIsMilestone | ( | ) | const |
Returns the value of IsMilestone attribute. This attribute represents whether a task is a milestone task (=TRUE) or not(= FALSE).
| int OdIfc2x3::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 & OdIfc2x3::IfcTask::getStatus | ( | ) | const |
Returns the value of Status attribute. This attribute represents current status of the task.
| const OdAnsiString & OdIfc2x3::IfcTask::getTaskId | ( | ) | const |
Returns the value of TaskId attribute. This attribute represents an identifying designation given to a task.
| const OdAnsiString & OdIfc2x3::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 OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
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 OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
| void OdIfc2x3::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 OdIfc2x3::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 OdIfc2x3::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 OdIfc2x3::IfcTask::setTaskId | ( | const OdAnsiString & | TaskId | ) |
Sets the value of TaskId attribute. This attribute represents an identifying designation given to a task.
| TaskId | [in] Task identifier to set. |
| void OdIfc2x3::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 OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x3::IfcProcess.
Reimplemented in OdIfc2x3::IfcMove, and OdIfc2x3::IfcOrderAction.
|
protected |
Definition at line 357 of file Ifc2x3/IfcTaskAutoImpl.h.
|
protected |
Definition at line 358 of file Ifc2x3/IfcTaskAutoImpl.h.
|
protected |
Definition at line 355 of file Ifc2x3/IfcTaskAutoImpl.h.
|
protected |
Definition at line 354 of file Ifc2x3/IfcTaskAutoImpl.h.
|
protected |
Definition at line 356 of file Ifc2x3/IfcTaskAutoImpl.h.