cWatchBase Class Reference
[Internal classes]

Utility class to make primitive types and non-cOwnedObject objects inspectable in Tkenv. More...

#include <cwatch.h>

Inheritance diagram for cWatchBase:
cNoncopyableOwnedObject cOwnedObject noncopyable cNamedObject cObject cGenericAssignableWatch< T > cGenericReadonlyWatch< T > cWatch_bool cWatch_char cWatch_cObject cWatch_cObjectPtr cWatch_stdstring cWatch_uchar

List of all members.

Public Member Functions

Constructors, destructor, assignment

 cWatchBase (const char *name)
New methods

virtual bool supportsAssignment () const =0
virtual void assign (const char *s)

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:30 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3