1 //===-- ThreadPlanPython.h --------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_ThreadPlan_Python_h_
11 #define liblldb_ThreadPlan_Python_h_
16 // Other libraries and framework includes
18 #include "lldb/lldb-private.h"
19 #include "lldb/Core/UserID.h"
20 #include "lldb/Host/Mutex.h"
21 #include "lldb/Target/Process.h"
22 #include "lldb/Target/Target.h"
23 #include "lldb/Target/Thread.h"
24 #include "lldb/Target/ThreadPlan.h"
25 #include "lldb/Target/ThreadPlanTracer.h"
26 #include "lldb/Target/StopInfo.h"
28 namespace lldb_private {
30 //------------------------------------------------------------------
33 //------------------------------------------------------------------
35 class ThreadPlanPython : public ThreadPlan
38 ThreadPlanPython (Thread &thread, const char *class_name);
39 virtual ~ThreadPlanPython ();
42 GetDescription (Stream *s,
43 lldb::DescriptionLevel level);
46 ValidatePlan (Stream *error);
49 ShouldStop (Event *event_ptr);
65 DoPlanExplainsStop (Event *event_ptr);
67 virtual lldb::StateType
71 std::string m_class_name;
72 lldb::ScriptInterpreterObjectSP m_implementation_sp;
74 DISALLOW_COPY_AND_ASSIGN(ThreadPlanPython);
78 } // namespace lldb_private
80 #endif // liblldb_ThreadPlan_Python_h_