From f095bd173389938e2fe872a27ccfb1ca7bd6c541 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 7 Mar 2014 14:47:59 +0400 Subject: [PATCH] 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed --- idl/GEOM_Gen.idl | 5 +++++ src/GEOM_I/GEOM_BaseObject_i.cc | 11 +++++++++++ src/GEOM_I/GEOM_BaseObject_i.hh | 2 ++ 3 files changed, 18 insertions(+) diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index f7af6efcb..dcb9de5a0 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -273,6 +273,11 @@ module GEOM */ long GetType(); + /*! + * \brief Get value of a modification counter of the object + */ + long GetTick(); + /*! * \brief Set a Study entry where this object was published. */ diff --git a/src/GEOM_I/GEOM_BaseObject_i.cc b/src/GEOM_I/GEOM_BaseObject_i.cc index 79a943099..f63c3c5e8 100644 --- a/src/GEOM_I/GEOM_BaseObject_i.cc +++ b/src/GEOM_I/GEOM_BaseObject_i.cc @@ -105,6 +105,17 @@ CORBA::Long GEOM_BaseObject_i::GetType() return _impl->GetType(); } +//============================================================================= +/*! + * GetTick + */ +//============================================================================= + +CORBA::Long GEOM_BaseObject_i::GetTick() +{ + return _impl->GetTic(); +} + //============================================================================= /*! * SetName diff --git a/src/GEOM_I/GEOM_BaseObject_i.hh b/src/GEOM_I/GEOM_BaseObject_i.hh index 6a89e7fe8..bd72cd7a9 100644 --- a/src/GEOM_I/GEOM_BaseObject_i.hh +++ b/src/GEOM_I/GEOM_BaseObject_i.hh @@ -46,6 +46,8 @@ class GEOM_I_EXPORT GEOM_BaseObject_i : public virtual POA_GEOM::GEOM_BaseObject virtual CORBA::Long GetType(); + virtual CORBA::Long GetTick(); + virtual void SetName(const char* theName); virtual char* GetName(); -- 2.39.2