MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / clearState

Method clearState

src/utilities/idf/WorkspaceWatcher.cpp:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void WorkspaceWatcher::clearState() {
50 bool wasDirty = m_dirty;
51 m_dirty = false;
52 m_objectAdded = false;
53 m_objectRemoved = false;
54
55 if (enabled()) {
56 if (wasDirty) {
57 onBecomeClean();
58 }
59 }
60}
61
62void WorkspaceWatcher::onChangeWorkspace() {}
63

Callers 3

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36