Back to index

unity  6.0.0
Public Member Functions | Protected Member Functions
unity::performance::Monitor Class Reference

#include <Monitor.h>

Inheritance diagram for unity::performance::Monitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Start ()
GVariant * Stop ()
virtual std::string GetName () const =0

Protected Member Functions

virtual void StartMonitor ()=0
virtual void StopMonitor (GVariantBuilder *builder)=0

Detailed Description

Definition at line 29 of file Monitor.h.


Member Function Documentation

virtual std::string unity::performance::Monitor::GetName ( ) const [pure virtual]

Implemented in unity::performance::AggregateMonitor, and unity::performance::ElapsedTimeMonitor.

Here is the caller graph for this function:

Definition at line 25 of file Monitor.cpp.

{
  StartMonitor ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void unity::performance::Monitor::StartMonitor ( ) [protected, pure virtual]

Implemented in unity::performance::AggregateMonitor, and unity::performance::ElapsedTimeMonitor.

Here is the caller graph for this function:

Definition at line 30 of file Monitor.cpp.

{
  GVariantBuilder builder;

  g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
  StopMonitor (&builder);

  return g_variant_new ("a{sv}", &builder);
}

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void unity::performance::Monitor::StopMonitor ( GVariantBuilder *  builder) [protected, pure virtual]

Implemented in unity::performance::AggregateMonitor, and unity::performance::ElapsedTimeMonitor.

Here is the caller graph for this function:


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