Utility class to make primitive types and non-cOwnedObject objects inspectable in Tkenv. More...
#include <cwatch.h>
Public Member Functions | |
Constructors, destructor, assignment | |
cWatchBase (const char *name) | |
New methods | |
virtual bool | supportsAssignment () const =0 |
virtual void | assign (const char *s) |
Utility class to make primitive types and non-cOwnedObject objects inspectable in Tkenv.
To be used only via the WATCH, WATCH_PTR, WATCH_OBJ, WATCH_VECTOR etc macros.
virtual void cWatchBase::assign | ( | const char * | s | ) | [inline, virtual] |
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.