|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
The SaleaeDirectoryStoreRequest class is useful to bundle requests for updating SALEAE directory. Many operations such as renaming waveform, creating groups, assigning waveform to groups require update of SALEAE directory. To avoid multiple write_json() calls during the same operation it is recommended to create an instance of SaleaeDirectoryStoreRequest rather than calling write_json() directly. When leaving the scope the destructor of the last instance will perform the write operation. More...

Public Member Functions | |
| SaleaeDirectoryStoreRequest (SaleaeDirectory *sd) | |
| ~SaleaeDirectoryStoreRequest () | |
Static Public Attributes | |
| static bool | sWriteDisabled = false |
The SaleaeDirectoryStoreRequest class is useful to bundle requests for updating SALEAE directory. Many operations such as renaming waveform, creating groups, assigning waveform to groups require update of SALEAE directory. To avoid multiple write_json() calls during the same operation it is recommended to create an instance of SaleaeDirectoryStoreRequest rather than calling write_json() directly. When leaving the scope the destructor of the last instance will perform the write operation.
Definition at line 52 of file saleae_directory.h.
| hal::SaleaeDirectoryStoreRequest::SaleaeDirectoryStoreRequest | ( | SaleaeDirectory * | sd | ) |
SaleaeDirectoryStoreRequest constructor
| [in] | sd | The SALEAE directory which needs to be persisted to disk eventually. |
Definition at line 481 of file saleae_directory.cpp.
| hal::SaleaeDirectoryStoreRequest::~SaleaeDirectoryStoreRequest | ( | ) |
SaleaeDirectoryStoreRequest destructor. Last destructor on stack will peform write operation.
Definition at line 487 of file saleae_directory.cpp.
References sWriteDisabled.
|
static |
Definition at line 69 of file saleae_directory.h.
Referenced by hal::NetlistSimulatorController::NetlistSimulatorController(), and ~SaleaeDirectoryStoreRequest().