Dali 3D User Interface Engine
toolkit-event-thread-callback.h
Go to the documentation of this file.
1 #ifndef __DALI_TOOLKIT_EVENT_THREAD_CALLBACK_H__
2 #define __DALI_TOOLKIT_EVENT_THREAD_CALLBACK_H__
3 
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20 #define __DALI_EVENT_THREAD_CALLBACK_H_
21 
22 // EXTERNAL INCLUDES
25 
26 namespace Dali
27 {
28 
30 {
31 public:
32 
33  EventThreadCallback( CallbackBase* callback );
34 
36 
37  void Trigger();
38 
39  void WaitingForTrigger(unsigned int count);
40 
41  CallbackBase* GetCallback();
42 
43  static EventThreadCallback* Get();
44 
45 private:
46 
47  // undefined copy constructor.
49 
50  // undefined assignment operator
51  EventThreadCallback& operator=( const EventThreadCallback& );
52 
53 private:
54 
55  struct Impl;
56  Impl* mImpl;
57 };
58 
59 }
60 
61 #endif /* __DALI_TOOLKIT_EVENT_THREAD_CALLBACK_H__ */
Dali Docs Home
Read more about Dali