# Hurricane Documentation

# Hurricane VLSI Database

UpdateSession.h
1 // ****************************************************************************************************
2 // File: ./hurricane/UpdateSession.h
3 // Authors: R. Escassut
4 // Copyright (c) BULL S.A. 2000-2018, All Rights Reserved
5 //
6 // This file is part of Hurricane.
7 //
8 // Hurricane is free software: you can redistribute it and/or modify it under the terms of the GNU
9 // Lesser General Public License as published by the Free Software Foundation, either version 3 of the
10 // License, or (at your option) any later version.
11 //
12 // Hurricane is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
13 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU
14 // General Public License for more details.
15 //
16 // You should have received a copy of the Lesser GNU General Public License along with Hurricane. If
17 // not, see <http://www.gnu.org/licenses/>.
18 // ****************************************************************************************************
19
20 #ifndef HURRICANE_UPDATE_SESSION
21 #define HURRICANE_UPDATE_SESSION
22
23 #include "hurricane/Property.h"
24
25 namespace Hurricane {
26
27 class Go;
28
29
30
31 // ****************************************************************************************************
32 // UpdateSession declaration
33 // ****************************************************************************************************
34
35 class UpdateSession : public SharedProperty {
36 // ****************************************
37
38 // Types
39 // *****
40
41 public: typedef SharedProperty Inherit;
42
43 // Constructors
44 // ************
45
46 protected: UpdateSession();
47
48 public: virtual void destroy();
49
50 // Accessors
51 // *********
52
53 public: static const Name& getPropertyName();
54 public: virtual Name getName() const {return getPropertyName();};
55
56 // Managers
57 // ********
58
59 public: virtual void onCapturedBy(DBo* owner);
60 public: virtual void onNotOwned();
61
62 // Ohers
63 // *****
64
65 public: static UpdateSession* _create();
66 protected: virtual void _postCreate();
67
68 public: void _destroy();
69 protected: virtual void _preDestroy();
70
71 public: virtual string _getTypeName() const {return _TName("UpdateSession");};
72 public: virtual string _getString() const;
73 public: virtual Record* _getRecord() const;
74
75 public: static void open();
76 public: static void close();
77 public: static void reset();
78 public: static size_t getStackSize();
79
80
81 };
82
83
84 // ****************************************************************************************************
85 // Generic functions
86 // ****************************************************************************************************
87
88 //void openUpdateSession();
89 //
90 //void closeUpdateSession();
91 //
92
93
94 } // End of Hurricane namespace.
95
96
97 #endif // HURRICANE_UPDATE_SESSION
98
99
100 // ****************************************************************************************************
101 // Copyright (c) BULL S.A. 2000-2018, All Rights Reserved
102 // ****************************************************************************************************
Hurricane::Name
Name description (API)
Definition: Name.h:35
Hurricane::SharedProperty
SharedProperty description (API)
Definition: Property.h:388
Hurricane::DBo
DataBase object root class (API).
Definition: DBo.h:47
Hurricane::UpdateSession
UpdateSession description (API)
Definition: UpdateSession.h:35
Hurricane
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5