IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::spb::NuisanceRangeModifier Class Reference

Ensure that a Nuisance stays within its set range. More...

#include <IMP/spb/NuisanceRangeModifier.h>

Inheritance diagram for IMP::spb::NuisanceRangeModifier:

Detailed Description

Ensure that a Nuisance stays within its set range.

Definition at line 19 of file NuisanceRangeModifier.h.

Public Member Functions

virtual void apply_index (IMP::Model *m, IMP::ParticleIndex p) const override
virtual void apply_indexes (Model *m, const ParticleIndexes &o, unsigned int lower_bound, unsigned int upper_bound) const override final
virtual IMP::ModelObjectsTemp do_get_inputs (IMP::Model *m, const IMP::ParticleIndexes &pis) const override
 Overload this method to specify the inputs.
virtual IMP::ModelObjectsTemp do_get_outputs (IMP::Model *m, const IMP::ParticleIndexes &pis) const override
 Overload this method to specify the outputs.
virtual std::string get_type_name () const override
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
void show (std::ostream &out=std::cout) const
Public Member Functions inherited from IMP::SingletonModifier
 SingletonModifier (std::string name="SingletonModifier %1%")
virtual void apply_indexes_moved (Model *m, const ParticleIndexes &o, unsigned int lower_bound, unsigned int upper_bound, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Public Member Functions inherited from IMP::ParticleInputs
ModelObjectsTemp get_inputs (Model *m, const ParticleIndexes &pis) const
 Get the ModelObjects read when the given list of particles is used.
Public Member Functions inherited from IMP::ParticleOutputs
ModelObjectsTemp get_outputs (Model *m, const ParticleIndexes &pis) const
 Get the ModelObjects changed when the given list of particles is used.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Additional Inherited Members

Public Types inherited from IMP::SingletonModifier
typedef Particle * Argument
typedef ParticleIndex IndexArgument
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Constructor & Destructor Documentation

◆ NuisanceRangeModifier()

IMP::spb::NuisanceRangeModifier::NuisanceRangeModifier ( )

Definition at line 21 of file NuisanceRangeModifier.h.

◆ ~NuisanceRangeModifier()

virtual IMP::spb::NuisanceRangeModifier::~NuisanceRangeModifier ( )
virtual

Definition at line 32 of file NuisanceRangeModifier.h.

Member Function Documentation

◆ apply_index()

virtual void IMP::spb::NuisanceRangeModifier::apply_index ( IMP::Model * m,
IMP::ParticleIndex v ) const
overridevirtual

Apply the function to a single value

Implements IMP::SingletonModifier.

◆ apply_indexes()

virtual void IMP::spb::NuisanceRangeModifier::apply_indexes ( Model * m,
const ParticleIndexes & o,
unsigned int lower_bound,
unsigned int upper_bound ) const
finaloverridevirtual

Apply the function to a collection of ParticlesTemp If bounds are passed, only apply to ones between the upper and lower bounds.

Reimplemented from IMP::SingletonModifier.

Definition at line 31 of file NuisanceRangeModifier.h.

◆ do_get_inputs()

virtual IMP::ModelObjectsTemp IMP::spb::NuisanceRangeModifier::do_get_inputs ( IMP::Model * m,
const IMP::ParticleIndexes & pis ) const
overridevirtual

Overload this method to specify the inputs.

Implements IMP::ParticleInputs.

◆ do_get_outputs()

virtual IMP::ModelObjectsTemp IMP::spb::NuisanceRangeModifier::do_get_outputs ( IMP::Model * m,
const IMP::ParticleIndexes & pis ) const
overridevirtual

Overload this method to specify the outputs.

Implements IMP::ParticleOutputs.

◆ get_type_name()

virtual std::string IMP::spb::NuisanceRangeModifier::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 32 of file NuisanceRangeModifier.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::spb::NuisanceRangeModifier::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Definition at line 32 of file NuisanceRangeModifier.h.


The documentation for this class was generated from the following file: