2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FBaseRtIWaitingLoopCondition.h
19 * @brief This is the header file for the %IWaitingLoopCondition interface.
22 #ifndef _FBASE_RT_WAITING_LOOP_CONDITION_H_
23 #define _FBASE_RT_WAITING_LOOP_CONDITION_H_
26 namespace Tizen { namespace Base { namespace Runtime
29 * @interface IWaitingLoopCondition
30 * @brief This interface provides the method to check whether the WaitingLoopCondition is met.
34 class _OSP_EXPORT_ IWaitingLoopCondition
38 * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes are called when the destructor of this interface is called.
42 virtual ~IWaitingLoopCondition(void) {}
45 * Check whether the waiting loop condition is met
50 virtual bool IsMet(void) = 0;
52 }; // IWaitingLoopCondition
54 } } } // Tizen::Runtime
56 #endif // _FBASE_RT_I_WAITING_LOOP_CONDITION_H_