MCPcopy Create free account
hub / github.com/bwapi/bwapi / updateEvents

Method updateEvents

bwapi/include/BWAPI/Interface.h:28–43  ·  view source on GitHub ↗

Function manages events and updates it for the given frame

Source from the content-addressed store, hash-verified

26
27 // Function manages events and updates it for the given frame
28 void updateEvents()
29 {
30 auto e = interfaceEvents.begin();
31 while ( e != interfaceEvents.end() )
32 {
33 if ( e->isFinished() )
34 {
35 e = interfaceEvents.erase(e);
36 }
37 else
38 {
39 e->execute(static_cast<T*>(this));
40 ++e;
41 }
42 }
43 };
44 /// @endcond
45 public:
46 /// <summary>Retrieves a pointer or value at an index that was stored for this interface using

Callers 2

Calls 4

beginMethod · 0.80
endMethod · 0.80
isFinishedMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected