Main Table of Contents


Table of Contents

typedef PtWatchMode

typedef PtWatchMode


Intro

When you set a watch using Watch & Notify, you need to specify which events you are interested in. You do this using a PtWatchMode. When POET calls your Notify() function, it gives you a PtWatchMode in a PtObjectNote to tell you exactly what event happened. Here are the possible values for PtWatchMode:

PtWATCH_NONE = 0x0000; Do not watch for anything
PtWATCH_STORE = 0x0001; Watch for stores; do not refresh the object if a store occurs
PtWATCH_UPDATE = 0x0003; Watch for stores; refresh the object if a store occurs
PtWATCH_DELETE = 0x0004; Watch for deletes
PtWATCH_INSERT = 0x0008; Watch for new objects inserted in this set
PtWATCH_LOCK = 0x0010; Watch for locks
PtWATCH_UNLOCK = 0x0020; Watch for unlocks

Copyright (c) 1996 POET Software, Inc. All rights reserved. Reproduction in whole or in part in any form or medium without the express permission of POET Software, Inc. is prohibited.