/** * \file QuadsOptimizerState.h * \brief Use a QuadModifier applied to a ParticleQuadsTemp to * maintain an invariant * * This file is generated by a script (core/tools/make-container). * Do not edit directly. * * Copyright 2007-2010 IMP Inventors. All rights reserved. */ #ifndef IMPCONTAINER_QUADS_OPTIMIZER_STATE_H #define IMPCONTAINER_QUADS_OPTIMIZER_STATE_H #include "container_config.h" #include #include #include IMP_BEGIN_NAMESPACE // for swig class QuadContainer; class QuadModifier; IMP_END_NAMESPACE IMPCONTAINER_BEGIN_NAMESPACE //! Apply a QuadFunction to a QuadContainer to maintain an invariant /** \ingroup restraint \see QuadOptimizerState */ class IMPCONTAINEREXPORT QuadsOptimizerState : public OptimizerState { IMP::internal::OwnerPointer f_; IMP::internal::OwnerPointer c_; public: /** \param[in] c The Container to hold the elements to process \param[in] gf The QuadModifier to apply to all elements. \param[in] name The name to use for this Object */ QuadsOptimizerState(QuadContainer *c, QuadModifier *gf, std::string name="QuadsOptimizerState %1%"); IMP_OPTIMIZER_STATE(QuadsOptimizerState); }; IMP_OBJECTS(QuadsOptimizerState,QuadsOptimizerStates); IMPCONTAINER_END_NAMESPACE #endif /* IMPCONTAINER_QUADS_OPTIMIZER_STATE_H */