SILICON
Loading...
Searching...
No Matches
WireManager::Batch Class Reference

#include <wireManager.hpp>

Collaboration diagram for WireManager::Batch:

Public Member Functions

 Batch (WireManager &manager)
 Begins a batch that defers topology rebuilds and change notifications.
 ~Batch () noexcept
 Discards an unfinished batch's pending work without restoring geometry.
 Batch (const Batch &)=delete
 Disables copying of the batch lifecycle guard.
Batch & operator= (const Batch &)=delete
 Disables copy assignment of the batch lifecycle guard.
void commit ()
 Finishes the batch, rebuilding topology and notifying at the outermost level.

Private Attributes

WireManager & manager
bool active = true

Detailed Description

Definition at line 147 of file wireManager.hpp.

Constructor & Destructor Documentation

◆ Batch() [1/2]

Batch ( WireManager & manager)
inlineexplicit

Begins a batch that defers topology rebuilds and change notifications.

Definition at line 150 of file wireManager.hpp.

◆ ~Batch()

~Batch ( )
inlinenoexcept

Discards an unfinished batch's pending work without restoring geometry.

Definition at line 152 of file wireManager.hpp.

◆ Batch() [2/2]

Batch ( const Batch & )
delete

Disables copying of the batch lifecycle guard.

Member Function Documentation

◆ commit()

void commit ( )
inline

Finishes the batch, rebuilding topology and notifying at the outermost level.

Definition at line 158 of file wireManager.hpp.

◆ operator=()

Batch & operator= ( const Batch & )
delete

Disables copy assignment of the batch lifecycle guard.

Member Data Documentation

◆ active

bool active = true
private

Definition at line 172 of file wireManager.hpp.

◆ manager

WireManager& manager
private

Definition at line 171 of file wireManager.hpp.


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