![]() |
Deluge Firmware 1.3.0
Build date: 2026.11.28
|


Public Member Functions | |
| Block (Folder &folder, uint32_t size) | |
| bool | mayBeStolen (void *thingNotToStealFrom) override |
| void | steal (char const *errorCode) override |
| StealableQueue | getAppropriateQueue () override |
| Entry * | entries () |
| char * | name (uint16_t fromEnd) |
| Public Member Functions inherited from BidirectionalLinkedListNode | |
| void | remove () |
| void | insertOtherNodeBefore (BidirectionalLinkedListNode *otherNode) |
| bool | isLast () |
Public Attributes | |
| Folder * | folder |
| Block * | next = nullptr |
| uint32_t | size |
| Not Cluster::size, which changes when a card with other formatting goes in. | |
| int32_t | numEntries = 0 |
| Public Attributes inherited from Stealable | |
| uint32_t | lastTraversalNo = 0xFFFFFFFF |
| Public Attributes inherited from BidirectionalLinkedListNode | |
| BidirectionalLinkedListNode * | next |
| BidirectionalLinkedListNode ** | prevPointer |
| BidirectionalLinkedList * | list |
Part of a Folder's list of files, in exactly as much memory as a Cluster: this object, then its Entries, then free space, then the Entries' names, which are filled in from the end of the block back
|
inlineoverridevirtual |
With the sample data of the song being loaded, not ahead of it with unused data. A Block is just what a Cluster being loaded needs, so it would otherwise be taken first - often by the very song whose samples it's finding, which then has to read the folder again, or search it for each file.
Implements Stealable.
|
inlineoverridevirtual |
Not while its folder's being read. Only once that's complete does indexFolder() make its Blocks stealable, so any way out of indexFolder() that forgets to leaves them merely unstealable, never stolen half-built.
Implements Stealable.
|
inlineoverridevirtual |
Implements Stealable.