summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/LifespanStrategyPersistent.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 11:42:23 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 11:42:23 +0100
commit322d0a3e30d2e608108e0d7caf6bdcddbd728081 (patch)
treeb39a880512642221f2545276cc3f68c5e04a8ab1 /TAO/tao/PortableServer/LifespanStrategyPersistent.h
parent69fbec6c475060cf01a710a3d7ed6e756538858c (diff)
downloadATCD-322d0a3e30d2e608108e0d7caf6bdcddbd728081.tar.gz
Major cleanup in PortableServer library
Diffstat (limited to 'TAO/tao/PortableServer/LifespanStrategyPersistent.h')
-rw-r--r--TAO/tao/PortableServer/LifespanStrategyPersistent.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/TAO/tao/PortableServer/LifespanStrategyPersistent.h b/TAO/tao/PortableServer/LifespanStrategyPersistent.h
index 03d2075f81d..9b964c2b184 100644
--- a/TAO/tao/PortableServer/LifespanStrategyPersistent.h
+++ b/TAO/tao/PortableServer/LifespanStrategyPersistent.h
@@ -34,33 +34,30 @@ namespace TAO
public:
LifespanStrategyPersistent ();
- virtual void strategy_init(TAO_Root_POA *poa);
+ void strategy_init(TAO_Root_POA *poa) override;
- virtual void notify_startup ();
+ void notify_startup () override;
- virtual void notify_shutdown ();
+ void notify_shutdown () override;
char key_type () const;
- virtual CORBA::Boolean is_persistent () const;
+ CORBA::Boolean is_persistent () const override;
CORBA::ULong key_length () const;
- virtual void create_key (CORBA::Octet *buffer, CORBA::ULong& starting_at);
+ void create_key (CORBA::Octet *buffer, CORBA::ULong& starting_at) override;
- virtual bool
+ bool
validate (CORBA::Boolean is_persistent,
- const TAO::Portable_Server::Temporary_Creation_Time& creation_time) const;
+ const TAO::Portable_Server::Temporary_Creation_Time& creation_time) const override;
/// Check the state of the POA.
- virtual void check_state ();
+ void check_state () override;
- virtual ::PortableServer::LifespanPolicyValue type() const;
+ bool use_imr () const override;
- virtual bool use_imr () const;
-
- virtual CORBA::Object_ptr imr_key_to_object(const TAO::ObjectKey &key,
- const char *type_id) const;
+ CORBA::Object_ptr imr_key_to_object(const TAO::ObjectKey &key, const char *type_id) const override;
private:
bool use_imr_;