RAMSES Documentation  27.0.130
Information for RAMSES users and developers
IThreadWatchdogNotification.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // Copyright (C) 2016 BMW Car IT GmbH
3 // -------------------------------------------------------------------------
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
7 // -------------------------------------------------------------------------
8 
9 #ifndef RAMSES_ITHREADWATCHDOGNOTIFICATION_H
10 #define RAMSES_ITHREADWATCHDOGNOTIFICATION_H
11 
13 
14 namespace ramses
15 {
20  {
24  };
25 
37  {
38  public:
42  virtual ~IThreadWatchdogNotification() = default;
43 
53  virtual void notifyThread(ERamsesThreadIdentifier threadID) = 0;
54 
62  virtual void registerThread(ERamsesThreadIdentifier threadID) = 0;
63 
71  virtual void unregisterThread(ERamsesThreadIdentifier threadID) = 0;
72  };
73 }
74 
75 #endif
#define RAMSES_API
Definition: APIExport.h:35
Definition: IThreadWatchdogNotification.h:37
virtual ~IThreadWatchdogNotification()=default
virtual void unregisterThread(ERamsesThreadIdentifier threadID)=0
virtual void registerThread(ERamsesThreadIdentifier threadID)=0
virtual void notifyThread(ERamsesThreadIdentifier threadID)=0
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
ERamsesThreadIdentifier
Definition: IThreadWatchdogNotification.h:20
@ ERamsesThreadIdentifier_Workers
Definition: IThreadWatchdogNotification.h:22
@ ERamsesThreadIdentifier_Unknown
Definition: IThreadWatchdogNotification.h:21
@ ERamsesThreadIdentifier_Renderer
Definition: IThreadWatchdogNotification.h:23