#include <cwatch.h>
Inheritance diagram for cWatchBase:
To be used only via the WATCH, WATCH_PTR, WATCH_OBJ, WATCH_VECTOR etc macros.
Public Member Functions | |
Constructors, destructor, assignment | |
cWatchBase (const char *name) | |
cWatchBase (const cWatchBase &v) | |
cWatchBase & | operator= (const cWatchBase &) |
virtual cPolymorphic * | dup () const |
New methods | |
virtual bool | supportsAssignment () const =0 |
virtual void | assign (const char *s) |
|
Initialize the shell to hold the given variable.
|
|
Copy constructor not supported: it will raise an error via dup().
|
|
Changes the watched variable's value. May only be called if supportsAssignment() returns true. Reimplemented in cGenericAssignableWatch< T >, cWatch_bool, cWatch_char, cWatch_uchar, and cWatch_stdstring. |
|
dup() not supported: it will raise an error.
Reimplemented from cObject. |
|
Assignment not supported: it will raise an error.
|
|
Tells if changing the variable's value via assign() is supported.
Implemented in cGenericReadonlyWatch< T >, cGenericAssignableWatch< T >, cWatch_bool, cWatch_char, cWatch_uchar, cWatch_stdstring, cWatch_cPolymorphic, and cWatch_cPolymorphicPtr. |