Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::SampleVisitor Class Referenceabstract

#include <profiler.h>

Inheritance diagram for dart::SampleVisitor:
dart::ValueObject dart::ClearProfileVisitor dart::ProfileSampleBufferTestHelper

Public Member Functions

 SampleVisitor (Dart_Port port)
 
virtual ~SampleVisitor ()
 
virtual void VisitSample (Sample *sample)=0
 
virtual void Reset ()
 
intptr_t visited () const
 
void IncrementVisited ()
 
Dart_Port port () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 123 of file profiler.h.

Constructor & Destructor Documentation

◆ SampleVisitor()

dart::SampleVisitor::SampleVisitor ( Dart_Port  port)
inlineexplicit

Definition at line 125 of file profiler.h.

125: port_(port), visited_(0) {}
Dart_Port port() const
Definition: profiler.h:136

◆ ~SampleVisitor()

virtual dart::SampleVisitor::~SampleVisitor ( )
inlinevirtual

Definition at line 126 of file profiler.h.

126{}

Member Function Documentation

◆ IncrementVisited()

void dart::SampleVisitor::IncrementVisited ( )
inline

Definition at line 134 of file profiler.h.

134{ visited_++; }

◆ port()

Dart_Port dart::SampleVisitor::port ( ) const
inline

Definition at line 136 of file profiler.h.

136{ return port_; }

◆ Reset()

virtual void dart::SampleVisitor::Reset ( )
inlinevirtual

Reimplemented in dart::ProfileSampleBufferTestHelper.

Definition at line 130 of file profiler.h.

130{ visited_ = 0; }

◆ visited()

intptr_t dart::SampleVisitor::visited ( ) const
inline

Definition at line 132 of file profiler.h.

132{ return visited_; }

◆ VisitSample()

virtual void dart::SampleVisitor::VisitSample ( Sample sample)
pure virtual

The documentation for this class was generated from the following file: