NAME
Genezzo::BufCa::DirtyScalar - Detect modifications to scalar
SYNOPSIS
DESCRIPTION
BufCaElt uses DirtyScalar to detect when a data block is modified.
ARGUMENTS
FUNCTIONS
- _StoreCB - a callback function that is activated on every STORE, i.e., whenever the scalar is updated. BufCaElt uses this function to set a "dirty" bit for the buffer.
- SetBCE - set a reference back to the BufCaElt that owns this tie. Some DirtyScalar hook routines need to query the BufCaElt info hash via BufCaElt::GetInfo.
EXPORT
LIMITATIONS
various
TODO
- Deprecate SetBCE: can shift responsibility and functionality to storeCB which will contain a hook, versus directly overloading STORE here.
AUTHOR
Jeffrey I. Cohen, jcohen@genezzo.com
SEE ALSO
Copyright (c) 2003, 2004, 2005, 2006 Jeffrey I Cohen. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Address bug reports and comments to: jcohen@genezzo.com
For more information, please visit the Genezzo homepage at http://www.genezzo.com