Rev 29 | Rev 35 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 29 | Rev 33 | ||
---|---|---|---|
Line 500... | Line 500... | ||
500 | int32_t m_wd; ///< watch descriptor |
500 | int32_t m_wd; ///< watch descriptor |
501 | Inotify* m_pInotify; ///< inotify object |
501 | Inotify* m_pInotify; ///< inotify object |
502 | bool m_fEnabled; ///< events enabled yes/no |
502 | bool m_fEnabled; ///< events enabled yes/no |
503 | 503 | ||
504 | IN_LOCK_DECL |
504 | IN_LOCK_DECL |
- | 505 | ||
- | 506 | /// Disables the watch (if it has the one-shot flag).
|
|
- | 507 | /**
|
|
- | 508 | * This method must be called after receiving an event.
|
|
- | 509 | * It ensures the watch object is consistent with the kernel
|
|
- | 510 | * data.
|
|
- | 511 | */
|
|
- | 512 | void OnOneshotEvent(); |
|
505 | }; |
513 | }; |
506 | 514 | ||
507 | 515 | ||
508 | /// Mapping from watch descriptors to watch objects.
|
516 | /// Mapping from watch descriptors to watch objects.
|
509 | typedef std::map<int32_t, InotifyWatch*> IN_WATCH_MAP; |
517 | typedef std::map<int32_t, InotifyWatch*> IN_WATCH_MAP; |