|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
The SaleaeDirectoryComposedEntry class represents a composed waveform. There are currently three types of composed waveforms: net groups, boolean combinations and trigger time sets which are all calculated from a set of regular waveform. Additional data like data or filter are dependend of the used type. More...


Public Member Functions | |
| SaleaeDirectoryComposedEntry (const std::string nam=std::string(), uint32_t id_=0, Type tp=None) | |
| SaleaeDirectoryComposedEntry (const SaleaeDirectoryComposedEntry &other) | |
| ~SaleaeDirectoryComposedEntry () | |
| void | add_child (int key) |
| Add an additional child key to composed. More... | |
| void | remove_child (int key) |
| Remove child key from composed. More... | |
| const std::vector< int > & | get_children () const |
| Access to child keys. More... | |
| const std::vector< int > & | get_data () const |
Getter for data list which is used a) Boolean: list of accepted(=true) net combinations b) Trigger: target value when to trigger. More... | |
| void | set_data (const std::vector< int > &dat) |
| Setter for data list described above. More... | |
| int | get_filter_entry () const |
| Only used for trigger: Pointer to filter (suppress trigger unless value 1), null if no filter used. More... | |
| void | set_filter_entry (int filt) |
| Setter for filter pointer described above. More... | |
| bool | isNull () const |
| Test for null. More... | |
| void | dump () const |
| Dump to stdout. More... | |
Public Member Functions inherited from hal::SaleaeDirectoryNetEntry | |
| SaleaeDirectoryNetEntry (const std::string nam, uint32_t id_=0, Type tp=None) | |
| Constructor. More... | |
| virtual | ~SaleaeDirectoryNetEntry () |
| uint32_t | id () const |
| Getter for waveform ID = simulated net ID. More... | |
| std::string | name () const |
| Getter for waveform name. More... | |
| Type | type () const |
| Getter for composed type, None for regular waveform. More... | |
| const std::vector< SaleaeDirectoryFileIndex > & | indexes () const |
| Getter for list of associated binary files indexes. More... | |
| void | addIndex (const SaleaeDirectoryFileIndex &sdfe) |
| Add index for binary file to net entry instance. More... | |
| void | rename (const std::string nam) |
| Rename waveform. More... | |
| int | dataFileIndex () const |
| Return last data file index (currently there should be no more than one) More... | |
| int | uniqueKey () const |
| Unique key as reference (used e.g. in mComposedEntryMap) More... | |
Friends | |
| class | SaleaeDirectory |
Additional Inherited Members | |
Public Types inherited from hal::SaleaeDirectoryNetEntry | |
| enum | Type { None , Group , Boolean , Trigger } |
Static Public Attributes inherited from hal::SaleaeDirectoryNetEntry | |
| static const int | sComposedBaseKey = 1 << 16 |
Protected Attributes inherited from hal::SaleaeDirectoryNetEntry | |
| uint32_t | mId |
| std::string | mName |
| Type | mType |
| std::vector< SaleaeDirectoryFileIndex > | mFileIndexes |
The SaleaeDirectoryComposedEntry class represents a composed waveform. There are currently three types of composed waveforms: net groups, boolean combinations and trigger time sets which are all calculated from a set of regular waveform. Additional data like data or filter are dependend of the used type.
Definition at line 159 of file saleae_directory.h.
|
inline |
Definition at line 167 of file saleae_directory.h.
| hal::SaleaeDirectoryComposedEntry::SaleaeDirectoryComposedEntry | ( | const SaleaeDirectoryComposedEntry & | other | ) |
Definition at line 396 of file saleae_directory.cpp.
| hal::SaleaeDirectoryComposedEntry::~SaleaeDirectoryComposedEntry | ( | ) |
Definition at line 400 of file saleae_directory.cpp.
|
inline |
Add an additional child key to composed.
Definition at line 173 of file saleae_directory.h.
Referenced by hal::SaleaeDirectory::parse_json(), and hal::WaveDataGroup::restoreIndex().
| void hal::SaleaeDirectoryComposedEntry::dump | ( | ) | const |
Dump to stdout.
Definition at line 420 of file saleae_directory.cpp.
References hal::SaleaeDirectoryNetEntry::mId, hal::SaleaeDirectoryNetEntry::mName, hal::SaleaeDirectoryNetEntry::mType, and x.
|
inline |
Access to child keys.
Definition at line 179 of file saleae_directory.h.
|
inline |
Getter for data list which is used a) Boolean: list of accepted(=true) net combinations b) Trigger: target value when to trigger.
Definition at line 182 of file saleae_directory.h.
|
inline |
Only used for trigger: Pointer to filter (suppress trigger unless value 1), null if no filter used.
Definition at line 188 of file saleae_directory.h.
|
inline |
Test for null.
Definition at line 194 of file saleae_directory.h.
References hal::SaleaeDirectoryNetEntry::mId, and hal::SaleaeDirectoryNetEntry::mType.
Referenced by hal::WaveDataTrigger::set_filter_wave().
| void hal::SaleaeDirectoryComposedEntry::remove_child | ( | int | key | ) |
Remove child key from composed.
Definition at line 408 of file saleae_directory.cpp.
| void hal::SaleaeDirectoryComposedEntry::set_data | ( | const std::vector< int > & | dat | ) |
Setter for data list described above.
Definition at line 403 of file saleae_directory.cpp.
Referenced by hal::SaleaeDirectory::parse_json().
|
inline |
Setter for filter pointer described above.
Definition at line 191 of file saleae_directory.h.
Referenced by hal::SaleaeDirectory::parse_json(), and hal::WaveDataTrigger::set_filter_wave().
|
friend |
Definition at line 161 of file saleae_directory.h.