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;

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
)

function begin ​

cpp
void begin(
    const DrawInfo & context
)

function end ​

cpp
DrawInfo end(
    const DrawInfo & context
)

Public Attributes Documentation ​

variable m_contextCopy ​

cpp
std::shared_ptr< DrawInfo > m_contextCopy;

Updated on 2026-09-11 at 21:24:25 +0000