Skip to content

DIWNE::ContextTracker

A helper class used to track changes in DrawInfo context between two points in time. More...

#include "DIWNE/Core/Elements/DiwneObject.h"

Public Functions

Name
ContextTracker(const DrawInfo & context)
voidbegin(const DrawInfo & context)
DrawInfoend(const DrawInfo & context)

Public Attributes

Name
std::shared_ptr< DrawInfo >m_contextCopy

Detailed Description

cpp
class DIWNE::ContextTracker;
class DIWNE::ContextTracker;

A helper class used to track changes in DrawInfo context between two points in time.

Used to determine changes a specific DiwneObject::drawDiwne call made.

Public Functions Documentation

function ContextTracker

cpp
ContextTracker(
    const DrawInfo & context
)
ContextTracker(
    const DrawInfo & context
)

function begin

cpp
void begin(
    const DrawInfo & context
)
void begin(
    const DrawInfo & context
)

function end

cpp
DrawInfo end(
    const DrawInfo & context
)
DrawInfo end(
    const DrawInfo & context
)

Public Attributes Documentation

variable m_contextCopy

cpp
std::shared_ptr< DrawInfo > m_contextCopy;
std::shared_ptr< DrawInfo > m_contextCopy;

Updated on 2025-05-31 at 12:55:31 +0000