CFx SDK Documentation  2023 SP0
SmEvents.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 
26 
27 #ifndef _SmEvents_h_Included_
28 #define _SmEvents_h_Included_
29 
30 #include "Sm/SmPersist.h"
31 
36 namespace dst
37 {
38  enum OdSmEvent
39  {
68  };
69 
74  struct OdSmEvents : public OdRxObject
75  {
76  virtual void onChanged( OdSmEvent event, OdSmPersist * comp ) = 0;
77  };
78 }
79 
80 #endif //_SmEvents_h_Included_
OdSmEvent
Definition: SmEvents.h:39
@ ACSM_DATABASE_LOAD_BEGIN
Definition: SmEvents.h:65
@ SHEET_DELETED
Definition: SmEvents.h:41
@ CALLOUT_BLOCK_ADDED
Definition: SmEvents.h:52
@ ACSM_DATABASE_LOAD_COMPLETE
Definition: SmEvents.h:67
@ SHEET_SELECTION_SET_DELETED
Definition: SmEvents.h:45
@ ACSM_DATABASE_INITNEW_COMPLETE
Definition: SmEvents.h:64
@ SHEET_VIEW_CREATED
Definition: SmEvents.h:46
@ ACSM_DATABASE_IS_CLOSING
Definition: SmEvents.h:57
@ SHEET_VIEW_CATEGORY_DELETED
Definition: SmEvents.h:49
@ SHEET_SELECTION_SET_CREATED
Definition: SmEvents.h:44
@ CALLOUT_BLOCK_DELETED
Definition: SmEvents.h:53
@ ACSM_DATABASE_CHANGED
Definition: SmEvents.h:61
@ ACSM_DATABASE_INITNEW_FAILED
Definition: SmEvents.h:63
@ ACSM_DATABASE_UNLOCKED
Definition: SmEvents.h:60
@ SHEET_SUBSET_CREATED
Definition: SmEvents.h:42
@ SHEET_ADDED
Definition: SmEvents.h:40
@ ACSM_DATABASE_CREATED
Definition: SmEvents.h:55
@ ACSM_DATABASE_OPENED
Definition: SmEvents.h:56
@ ACSM_DATABASE_INITNEW_BEGIN
Definition: SmEvents.h:62
@ ACSM_DATABASE_WATCH_ERROR
Definition: SmEvents.h:58
@ SHEET_VIEW_DELETED
Definition: SmEvents.h:47
@ ACSM_DATABASE_LOAD_FAILED
Definition: SmEvents.h:66
@ MODEL_RESOURCE_ADDED
Definition: SmEvents.h:50
@ SHEETS_RENUMBERED
Definition: SmEvents.h:54
@ SHEET_SUBSET_DELETED
Definition: SmEvents.h:43
@ SHEET_VIEW_CATEGORY_CREATED
Definition: SmEvents.h:48
@ ACSM_DATABASE_LOCKED
Definition: SmEvents.h:59
@ MODEL_RESOURCE_DELETED
Definition: SmEvents.h:51
virtual void onChanged(OdSmEvent event, OdSmPersist *comp)=0