Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MoleculeEvent Class Reference

Set when a molecule is created and destroyed or modified Eventually add codes A/F/D changes, etc. More...

#include <TextEvent.h>

Inheritance diagram for MoleculeEvent:

InterpEvent Command List of all members.

Public Types

enum  MolEvent {
  MOL_DELETE = 0, MOL_NEW = 1, MOL_RENAME = 2, MOL_REGEN = 3,
  MOL_TOP = 4
}

Public Methods

 MoleculeEvent (int m, MolEvent c)
virtual void do_callback (TextInterp *interp)

Detailed Description

Set when a molecule is created and destroyed or modified Eventually add codes A/F/D changes, etc.

Definition at line 185 of file TextEvent.h.


Member Enumeration Documentation

enum MoleculeEvent::MolEvent
 

Enumeration values:
MOL_DELETE 
MOL_NEW 
MOL_RENAME 
MOL_REGEN 
MOL_TOP 

Definition at line 189 of file TextEvent.h.

Referenced by MoleculeEvent.


Constructor & Destructor Documentation

MoleculeEvent::MoleculeEvent int    m,
MolEvent    c
[inline]
 

Definition at line 191 of file TextEvent.h.

References MolEvent.


Member Function Documentation

virtual void MoleculeEvent::do_callback TextInterp   interp [inline, virtual]
 

Implements InterpEvent.

Definition at line 193 of file TextEvent.h.

References TextInterp::molecule_changed_cb.


The documentation for this class was generated from the following file:
Generated on Fri Apr 19 02:46:59 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002