Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
vm
handle_visitor.h
Go to the documentation of this file.
1
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
#ifndef RUNTIME_VM_HANDLE_VISITOR_H_
6
#define RUNTIME_VM_HANDLE_VISITOR_H_
7
8
#include "
vm/allocation.h
"
9
#include "
vm/flags.h
"
10
#include "
vm/os.h
"
11
12
namespace
dart
{
13
14
class
Thread;
15
16
class
HandleVisitor
{
17
public
:
18
explicit
HandleVisitor
(
Thread
*
thread
) : thread_(
thread
) {}
19
virtual
~HandleVisitor
() {}
20
21
Thread
*
thread
()
const
{
return
thread_; }
22
23
virtual
void
VisitHandle
(
uword
addr
) = 0;
24
25
private
:
26
Thread
* thread_;
27
28
DISALLOW_IMPLICIT_CONSTRUCTORS(
HandleVisitor
);
29
};
30
31
}
// namespace dart
32
33
#endif
// RUNTIME_VM_HANDLE_VISITOR_H_
dart::HandleVisitor
Definition:
handle_visitor.h:16
dart::HandleVisitor::HandleVisitor
HandleVisitor(Thread *thread)
Definition:
handle_visitor.h:18
dart::HandleVisitor::thread
Thread * thread() const
Definition:
handle_visitor.h:21
dart::HandleVisitor::VisitHandle
virtual void VisitHandle(uword addr)=0
dart::HandleVisitor::~HandleVisitor
virtual ~HandleVisitor()
Definition:
handle_visitor.h:19
dart::Thread
Definition:
thread.h:342
flags.h
dart
Definition:
dart_vm.cc:33
dart::uword
uintptr_t uword
Definition:
globals.h:501
dump_adb_log.addr
addr
Definition:
dump_adb_log.py:17
os.h
allocation.h
Generated on Sun Jun 23 2024 21:55:41 for Flutter Engine by
1.9.4