Interface for notifying observers when a CodeBlock is modified.
More...
#include <ByteInterval.hpp>
Interface for notifying observers when a CodeBlock is modified.
◆ ~CodeBlockObserver()
virtual gtirb::CodeBlockObserver::~CodeBlockObserver |
( |
| ) |
|
|
virtualdefault |
◆ decodeModeChange()
Notify the parent when the CodeBlock's decode mode changes.
Called after the CodeBlock updates its internal state.
◆ sizeChange()
virtual ChangeStatus gtirb::CodeBlockObserver::sizeChange |
( |
CodeBlock * |
B, |
|
|
uint64_t |
OldSize, |
|
|
uint64_t |
NewSize |
|
) |
| |
|
pure virtual |
Notify the parent when the CodeBlock changes size.
Called after the CodeBlock updates its internal state.
- Parameters
-
- Returns
- indication of whether the observer accepts the change.
The documentation for this class was generated from the following file: