Free Electron
WatcherI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __data_WatcherI_h__
8 #define __data_WatcherI_h__
9 
10 namespace fe
11 {
12 
13 class FE_DL_EXPORT WatcherI:
14  virtual public Component,
15  public CastableAs<WatcherI>
16 {
17  public:
18  /** Add @em record to the collection. */
19 virtual void add(const Record &record) = 0;
20  /** Remove @em record from the colletion. */
21 virtual void remove(const Record &record) = 0;
22  /** Clear the collection. @todo maybe not need this */
23 virtual void clear(void) = 0;
24 };
25 
26 } /* namespace */
27 
28 #endif /* __data_WatcherI_h__ */
29 
kernel
Definition: namespace.dox:3