AbstractProtected_Initial row for the block
Protected Optional_Ownership of this block
Allows public access to the container
Allows public access to the index
Read access to the initial row
AbstractrowsNumber of rows in the block This doesn't take into account coming round part-way through
Stage for the block
AbstractacceptReceives visitor(s) that will be called to process each row
Protected AbstractcalculateDoes any calculation needed by the block
Clears references to the parent container
AbstractgetReturns the last row in the block e.g. a lead head or a six end (for Stedman)
ProtectednotifyNotifies the parent container
Derived classes should call this whenever the last row changes.
ProtectedvisitHelper function to correctly fan out calls to multiple visitors
Abstract class representing blocks of rows
A block:
Blocks are designed to be aggregated into containers. Containers notify blocks of changes by setting a new initial row. Blocks notify containers of changes via a callback (receiveNotification).