29 #ifndef CDPL_CONFGEN_TORSIONDRIVER_HPP
30 #define CDPL_CONFGEN_TORSIONDRIVER_HPP
35 #include <boost/iterator/indirect_iterator.hpp>
59 class TorsionDriverImpl;
66 typedef boost::indirect_iterator<ConformerDataArray::const_iterator, ConformerData>
ConformerIterator;
136 typedef std::unique_ptr<TorsionDriverImpl> ImplementationPointer;
138 ImplementationPointer impl;
Definition of the type CDPL::Util::BitSet.
Type definition of a generic wrapper class for storing user-defined callback functions.
Definition of the preprocessor macro CDPL_CONFGEN_API.
#define CDPL_CONFGEN_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Type definition of a generic wrapper class for storing user-defined log message callback functions.
Definition of the class CDPL::ConfGen::TorsionDriverSettings.
Definition of the class CDPL::ConfGen::TorsionLibrary.
Fragment.
Definition: Fragment.hpp:52
MolecularGraph.
Definition: MolecularGraph.hpp:52
Definition: TorsionDriverSettings.hpp:44
Definition: TorsionDriver.hpp:62
const LogMessageCallbackFunction & getLogMessageCallback() const
boost::indirect_iterator< ConformerDataArray::const_iterator, const ConformerData > ConstConformerIterator
Definition: TorsionDriver.hpp:65
ConstConformerIterator begin() const
ConformerIterator begin()
void clearTorsionLibraries()
const TorsionDriverSettings & getSettings() const
void addTorsionLibrary(const TorsionLibrary::SharedPointer &lib)
void clearInputCoordinates()
void clearInputCoordinates(std::size_t frag_idx)
void addInputCoordinates(const ConformerData &conf_data, std::size_t frag_idx)
std::size_t getNumFragments() const
unsigned int generateConformers()
const Chem::Fragment & getFragment(std::size_t idx) const
std::size_t getNumConformers() const
ConformerIterator getConformersEnd()
TorsionDriver(const TorsionDriver &)=delete
void setTimeoutCallback(const CallbackFunction &func)
TorsionDriver & operator=(const TorsionDriver &)=delete
const CallbackFunction & getAbortCallback() const
void addInputCoordinates(const ConformerData::SharedPointer &conf_data, std::size_t frag_idx)
void addInputCoordinates(const Math::Vector3DArray &coords)
ConformerData & getConformer(std::size_t idx)
ConstConformerIterator getConformersBegin() const
ConformerIterator getConformersBegin()
void setLogMessageCallback(const LogMessageCallbackFunction &func)
void setAbortCallback(const CallbackFunction &func)
ConstConformerIterator getConformersEnd() const
void addInputCoordinates(const Math::Vector3DArray &coords, std::size_t frag_idx)
TorsionDriverSettings & getSettings()
const ConformerData & getConformer(std::size_t idx) const
unsigned int setup(const Chem::MolecularGraph &molgraph)
const CallbackFunction & getTimeoutCallback() const
boost::indirect_iterator< ConformerDataArray::const_iterator, ConformerData > ConformerIterator
Definition: TorsionDriver.hpp:66
unsigned int setup(const Chem::MolecularGraph &molgraph, const Util::BitSet &bond_mask)
ConstConformerIterator end() const
std::shared_ptr< TorsionLibrary > SharedPointer
Definition: TorsionLibrary.hpp:49
std::function< void(const std::string &)> LogMessageCallbackFunction
A generic wrapper class used to store a user-defined callback functions.
Definition: LogMessageCallbackFunction.hpp:45
std::function< bool()> CallbackFunction
A generic wrapper class used to store a user-defined callback functions (see [FUNWRP]).
Definition: CallbackFunction.hpp:44
VectorArray< Vector3D > Vector3DArray
An array of Math::Vector3D objects.
Definition: VectorArray.hpp:84
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.