CFx SDK Documentation  2020SP3
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_
dst::SHEET_SELECTION_SET_CREATED
@ SHEET_SELECTION_SET_CREATED
Definition: SmEvents.h:44
dst::CALLOUT_BLOCK_DELETED
@ CALLOUT_BLOCK_DELETED
Definition: SmEvents.h:53
dst::OdSmEvents::onChanged
virtual void onChanged(OdSmEvent event, OdSmPersist *comp)=0
dst::SHEET_VIEW_CATEGORY_CREATED
@ SHEET_VIEW_CATEGORY_CREATED
Definition: SmEvents.h:48
dst::OdSmEvent
OdSmEvent
Definition: SmEvents.h:39
dst::SHEET_SELECTION_SET_DELETED
@ SHEET_SELECTION_SET_DELETED
Definition: SmEvents.h:45
OdRxObject
Definition: RxObject.h:564
dst::ACSM_DATABASE_LOCKED
@ ACSM_DATABASE_LOCKED
Definition: SmEvents.h:59
dst::ACSM_DATABASE_LOAD_FAILED
@ ACSM_DATABASE_LOAD_FAILED
Definition: SmEvents.h:66
dst::SHEET_ADDED
@ SHEET_ADDED
Definition: SmEvents.h:40
dst::ACSM_DATABASE_LOAD_BEGIN
@ ACSM_DATABASE_LOAD_BEGIN
Definition: SmEvents.h:65
dst::SHEET_VIEW_CREATED
@ SHEET_VIEW_CREATED
Definition: SmEvents.h:46
dst::SHEET_DELETED
@ SHEET_DELETED
Definition: SmEvents.h:41
dst::MODEL_RESOURCE_DELETED
@ MODEL_RESOURCE_DELETED
Definition: SmEvents.h:51
dst::SHEET_SUBSET_CREATED
@ SHEET_SUBSET_CREATED
Definition: SmEvents.h:42
dst::ACSM_DATABASE_INITNEW_BEGIN
@ ACSM_DATABASE_INITNEW_BEGIN
Definition: SmEvents.h:62
dst::OdSmEvents
Definition: SmEvents.h:75
dst::CALLOUT_BLOCK_ADDED
@ CALLOUT_BLOCK_ADDED
Definition: SmEvents.h:52
dst::SHEET_VIEW_DELETED
@ SHEET_VIEW_DELETED
Definition: SmEvents.h:47
dst::SHEETS_RENUMBERED
@ SHEETS_RENUMBERED
Definition: SmEvents.h:54
dst::ACSM_DATABASE_UNLOCKED
@ ACSM_DATABASE_UNLOCKED
Definition: SmEvents.h:60
dst::SHEET_SUBSET_DELETED
@ SHEET_SUBSET_DELETED
Definition: SmEvents.h:43
dst::SHEET_VIEW_CATEGORY_DELETED
@ SHEET_VIEW_CATEGORY_DELETED
Definition: SmEvents.h:49
dst::OdSmPersist
Definition: SmPersist.h:52
dst::ACSM_DATABASE_WATCH_ERROR
@ ACSM_DATABASE_WATCH_ERROR
Definition: SmEvents.h:58
dst
Definition: SmCalloutBlocks.h:39
dst::ACSM_DATABASE_INITNEW_COMPLETE
@ ACSM_DATABASE_INITNEW_COMPLETE
Definition: SmEvents.h:64
dst::ACSM_DATABASE_OPENED
@ ACSM_DATABASE_OPENED
Definition: SmEvents.h:56
dst::ACSM_DATABASE_INITNEW_FAILED
@ ACSM_DATABASE_INITNEW_FAILED
Definition: SmEvents.h:63
dst::ACSM_DATABASE_IS_CLOSING
@ ACSM_DATABASE_IS_CLOSING
Definition: SmEvents.h:57
dst::ACSM_DATABASE_CREATED
@ ACSM_DATABASE_CREATED
Definition: SmEvents.h:55
dst::ACSM_DATABASE_CHANGED
@ ACSM_DATABASE_CHANGED
Definition: SmEvents.h:61
SmPersist.h
dst::MODEL_RESOURCE_ADDED
@ MODEL_RESOURCE_ADDED
Definition: SmEvents.h:50
dst::ACSM_DATABASE_LOAD_COMPLETE
@ ACSM_DATABASE_LOAD_COMPLETE
Definition: SmEvents.h:67