Enrico Granata | e85e84a | 2014-10-01 20:43:45 +0000 | [diff] [blame^] | 1 | //===-- SWIG Interface for SBExecutionContext ---------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | class SBExecutionContext |
| 13 | { |
| 14 | public: |
| 15 | SBExecutionContext(); |
| 16 | |
| 17 | SBExecutionContext (const lldb::SBExecutionContext &rhs); |
| 18 | |
| 19 | SBExecutionContext (const lldb::SBTarget &target); |
| 20 | |
| 21 | SBExecutionContext (const lldb::SBProcess &process); |
| 22 | |
| 23 | SBExecutionContext (lldb::SBThread thread); // can't be a const& because SBThread::get() isn't itself a const function |
| 24 | |
| 25 | SBExecutionContext (const lldb::SBFrame &frame); |
| 26 | |
| 27 | ~SBExecutionContext(); |
| 28 | |
| 29 | SBTarget |
| 30 | GetTarget () const; |
| 31 | |
| 32 | SBProcess |
| 33 | GetProcess () const; |
| 34 | |
| 35 | SBThread |
| 36 | GetThread () const; |
| 37 | |
| 38 | SBFrame |
| 39 | GetFrame () const; |
| 40 | }; |
| 41 | |
| 42 | } // namespace lldb |