colvardeps::feature_state Struct Reference
This contains the current state of each
feature for each object.
More...
#include <colvardeps.h>
List of all members.
Public Methods
Public Attributes
Feature may be enabled, subject to possible dependencies. More...
Currently enabled - this flag is subject to change dynamically TODO consider implications for dependency solving: anyone who disables it should trigger a refresh of parent objects. More...
Number of features requiring this one as a dependency When it falls to zero: - a dynamic feature is disabled automatically - other features may be disabled statically. More...
List of features that were enabled by this one as part of an alternate requirement (for ref counting purposes) This is necessary because we don't know which feature in the list we enabled, otherwise. More...
Detailed Description
This contains the current state of each
feature for each object.
Definition at line 46 of file colvardeps.h.
Constructor & Destructor Documentation
colvardeps::feature_state::feature_state
(
bool
a,
bool
e
)
[inline]
Member Data Documentation
std::vector<int> colvardeps::feature_state::alternate_refs
List of features that were enabled by this one as part of an alternate requirement (for ref counting purposes) This is necessary because we don't know which feature in the list we enabled, otherwise.
Definition at line 68 of file colvardeps.h.
bool colvardeps::feature_state::available
bool colvardeps::feature_state::enabled
Currently enabled - this flag is subject to change dynamically TODO consider implications for dependency solving: anyone who disables it should trigger a refresh of parent objects.
Definition at line 55 of file colvardeps.h.
Referenced by feature_state.
int colvardeps::feature_state::ref_count
Number of features requiring this one as a dependency When it falls to zero: - a dynamic feature is disabled automatically - other features may be disabled statically.
Definition at line 63 of file colvardeps.h.
Referenced by feature_state.
The documentation for this struct was generated from the following file:
Generated on Mon Nov 17 02:48:27 2025 for VMD (current) by
doxygen1.2.14 written by Dimitri van Heesch,
© 1997-2002