#include <oofrecs.h>
Inheritance diagram for OOF_recordCacheCopier:


Provides delay - responds to OOFmsg_SaveRecord after all the other listeners such as dbRelRefBase::receiveMsg.
Public Member Functions | |
| OOF_recordCacheCopier (oofBroadcaster *listensTo, OOF_recordCache *adoptsCache, OOF_simpleRecordBackend *inBackend, OOF_recordBufferedContext *) | |
| virtual | ~OOF_recordCacheCopier () |
| 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 | |
| OOF_recordCache * | mCache |
| OOF_simpleRecordBackend * | mBackend |
| OOF_recordBufferedContext * | mSavedContext |
| 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