#include <oof3.h>
Inheritance diagram for dbFieldCopier:


Not used much at present. May be vulnerable to cloning of dbFields so the field you specified and think is being updated is not the one connected to a GUI.
Public Member Functions | |
| dbFieldCopier (oofBroadcaster *listensTo, unsigned short copyOnMessage, dbField *copyFrom, dbField *copyTo) | |
| virtual | ~dbFieldCopier () |
| virtual bool | receiveMsg (OOFmsgT msg, unsigned long senderDefined) |
| The default receiveMsg behaviour is to delete yourself when the broadcaster closes. | |
| virtual void | subscribeTo (oofBroadcaster *) |
| virtual void | unsubscribe (oofBroadcaster *from=0) |
| void | suspendListening () |
| void | resumeListening () |
Protected Attributes | |
| dbField * | mCopyFrom |
| dbField * | mCopyTo |
| OOFmsgT | mCopyOnMessage |
| oofBroadcaster * | mListensTo |
| oofBroadcaster * | mSuspendedListensTo |
| unsigned short | mSuspendCount |
|
||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
The default receiveMsg behaviour is to delete yourself when the broadcaster closes. In many user subclasses oofSingleListener is a mixin and you have a class owned elsewhere, not self-deleting.
Reimplemented from oofSingleListener. |
|
|
|
|
|
Reimplemented from oofReceiver. |
|
|
|
|
|
Reimplemented from oofReceiver. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.5