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/StructuredData.h"
20 #include "lldb/Core/UserID.h"
21 #include "lldb/Host/Mutex.h"
22 #include "lldb/Target/Process.h"
23 #include "lldb/Target/Target.h"
24 #include "lldb/Target/Thread.h"
25 #include "lldb/Target/ThreadPlan.h"
26 #include "lldb/Target/ThreadPlanTracer.h"
27 #include "lldb/Target/StopInfo.h"
29 namespace lldb_private {
31 //------------------------------------------------------------------
34 //------------------------------------------------------------------
36 class ThreadPlanPython : public ThreadPlan
39 ThreadPlanPython (Thread &thread, const char *class_name);
40 virtual ~ThreadPlanPython ();
43 GetDescription (Stream *s,
44 lldb::DescriptionLevel level);
47 ValidatePlan (Stream *error);
50 ShouldStop (Event *event_ptr);
66 DoPlanExplainsStop (Event *event_ptr);
68 virtual lldb::StateType
72 std::string m_class_name;
73 StructuredData::ObjectSP m_implementation_sp;
75 DISALLOW_COPY_AND_ASSIGN(ThreadPlanPython);
79 } // namespace lldb_private
81 #endif // liblldb_ThreadPlan_Python_h_