From fb1bb333bf8ab860e43a0216f832d27aab48f0b5 Mon Sep 17 00:00:00 2001 From: sln Date: Fri, 8 Jul 2005 08:48:15 +0000 Subject: [PATCH] isReadyToStart method is constant now --- src/SUIT/SUIT_Operation.cxx | 4 ++-- src/SUIT/SUIT_Operation.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SUIT/SUIT_Operation.cxx b/src/SUIT/SUIT_Operation.cxx index 65c8c2707..0929794b7 100755 --- a/src/SUIT/SUIT_Operation.cxx +++ b/src/SUIT/SUIT_Operation.cxx @@ -185,7 +185,7 @@ void SUIT_Operation::suspend() // Purpose : Verify whether operator is ready to start. Default implementation // returns true. Redefine this method to add own verifications //======================================================================= -bool SUIT_Operation::isReadyToStart() +bool SUIT_Operation::isReadyToStart() const { return true; } @@ -310,7 +310,7 @@ void SUIT_Operation::setExecStatus( const int theVal ) // name : execStatus // Purpose : Gets execution status //======================================================================= -int SUIT_Operation::execStatus() +int SUIT_Operation::execStatus() const { return myExecStatus; } diff --git a/src/SUIT/SUIT_Operation.h b/src/SUIT/SUIT_Operation.h index 2c729e07a..4bebbc928 100755 --- a/src/SUIT/SUIT_Operation.h +++ b/src/SUIT/SUIT_Operation.h @@ -151,7 +151,7 @@ signals: protected: - virtual bool isReadyToStart(); + virtual bool isReadyToStart() const; //!< Verify whether operator is ready to start. /*!< Default implementation returns true. Redefine this method to add own verifications */ @@ -168,7 +168,7 @@ protected: void setExecStatus( const int ); //!< Sets myExecStatus to the given value - int execStatus(); + int execStatus() const; //!< Gets execution status void start( SUIT_Operation* ); -- 2.39.2