FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcDbAssocDependency.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19#include "..\acad\Acad.h"
20
21template < typename Param1 > class AcArrayMemCopyReallocator;
23class AcDbObject;
24class AcDbObjectId;
26class AcRxClass;
27class AcRxObject;
28
30{
31
32public:
34 bool hasCachedValue(void)const ;
36 bool isAttachedToObject(void)const ;
39 bool isEqualTo( AcDbAssocDependency const *)const ;
40 bool isObjectStateDependent(void)const ;
41 bool isReadDependency(void)const ;
42 bool isRelevantChange(void)const ;
43 bool isWriteDependency(void)const ;
51 Acad::ErrorStatus attachToObject(AcDbCompoundObjectId const &);
52 Acad::ErrorStatus detachFromObject(void);
53 Acad::ErrorStatus setDependencyBody( AcDbObjectId const &);
54 Acad::ErrorStatus setOwningAction( AcDbObjectId const &);
55 Acad::ErrorStatus setStatus( AcDbAssocStatus,bool = true);
56 Acad::ErrorStatus updateDependentOnObject(void);
57 int priority(void)const ;
59
60 static Acad::ErrorStatus __cdecl getDependenciesOnObject( AcDbObject const *,bool,bool, AcDbObjectIdArray &);
61 static Acad::ErrorStatus __cdecl getFirstDependencyOnObject( AcDbObject const *, AcDbObjectId &);
62 static Acad::ErrorStatus __cdecl notifyDependenciesOnObject( AcDbObject const *, AcDbAssocStatus);
63
64
66
67 virtual void copied( AcDbObject const *, AcDbObject const *);
68 virtual void erased( AcDbObject const *,int = 1);
69 virtual void modified( AcDbObject const *);
70 void evaluate(void);
71 void setDependentOnObject(AcDbCompoundObjectId const &);
72 void setIsDelegatingToOwningAction(bool);
73 void setIsObjectStateDependent(bool);
74 void setIsReadDependency(bool);
75 void setIsWriteDependency(bool);
76 void setPriority(int);
77 void setNextDependencyOnObject( AcDbObjectId const &);
78 void setPrevDependencyOnObject( AcDbObjectId const &);
79
80};
AcDbAssocCreateImpObject
@ kAcDbAssocCreateImpObject
AcDbAssocStatus
Acad::ErrorStatus ErrorStatus
Definition acdbabb.h:21
#define ACRX_DECLARE_MEMBERS(classname)
Definition addmacro.h:756
AcDbObjectId prevDependencyOnObject(void) const
bool isObjectStateDependent(void) const
int priority(void) const
bool isEqualTo(AcDbAssocDependency const *) const
AcDbObjectId nextDependencyOnObject(void) const
AcDbObjectId dependentOnObject(void) const
AcDbObjectId dependencyBody(void) const
bool isAttachedToObject(void) const
Acad::ErrorStatus updateDependentOnObject(void)
bool isDelegatingToOwningAction(void) const
AcDbObjectId owningAction(void) const
Acad::ErrorStatus setStatus(AcDbAssocStatus, bool=true)
bool hasCachedValue(void) const
bool isDependentOnTheSameThingAs(AcDbAssocDependency const *) const
bool isActionEvaluationInProgress(void) const
Acad::ErrorStatus setOwningAction(AcDbObjectId const &)
Acad::ErrorStatus setDependencyBody(AcDbObjectId const &)
AcDbAssocStatus status(void) const
bool isReadDependency(void) const
AcDbAssocDependency(AcDbAssocCreateImpObject=kAcDbAssocCreateImpObject)
bool isWriteDependency(void) const
bool isRelevantChange(void) const
Acad::ErrorStatus detachFromObject(void)
AcDbAssocEvaluationCallback * currentEvaluationCallback(void) const
Acad::ErrorStatus attachToObject(AcDbCompoundObjectId const &)