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

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

 feature_state (bool a, bool e)

Public Attributes

bool available
 Feature may be enabled, subject to possible dependencies. More...

bool 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. More...

int 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. More...

std::vector< int > 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. 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]
 

Definition at line 47 of file colvardeps.h.

References available, enabled, and ref_count.


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
 

Feature may be enabled, subject to possible dependencies.

Definition at line 51 of file colvardeps.h.

Referenced by feature_state.

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 Thu Mar 28 02:45:28 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002