OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::RBCOMVisitor Class Reference

#include <RigidBodyVisitor.hpp>

Inheritance diagram for OpenMD::RBCOMVisitor:
OpenMD::BaseRigidBodyVisitor OpenMD::BaseVisitor

Public Member Functions

 RBCOMVisitor (SimInfo *info)
 
virtual void visit (Atom *atom)
 
virtual void visit (DirectionalAtom *datom)
 
virtual void visit (RigidBody *rb)
 
virtual const std::string toString ()
 
- Public Member Functions inherited from OpenMD::BaseVisitor
virtual ~BaseVisitor ()
 
virtual void visit (Bond *bond)
 
virtual void visit (Bend *bend)
 
virtual void visit (Torsion *torsion)
 
virtual void visit (Inversion *inversion)
 
virtual void update ()
 
const std::string & getVisitorName ()
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::BaseRigidBodyVisitor
 BaseRigidBodyVisitor (SimInfo *info)
 
- Protected Member Functions inherited from OpenMD::BaseVisitor
 BaseVisitor ()
 
- Protected Attributes inherited from OpenMD::BaseRigidBodyVisitor
SimInfoinfo
 
- Protected Attributes inherited from OpenMD::BaseVisitor
std::string visitorName
 

Detailed Description

Definition at line 87 of file RigidBodyVisitor.hpp.

Constructor & Destructor Documentation

◆ RBCOMVisitor()

OpenMD::RBCOMVisitor::RBCOMVisitor ( SimInfo info)
inline

Definition at line 90 of file RigidBodyVisitor.hpp.

References OpenMD::BaseVisitor::visitorName.

Member Function Documentation

◆ toString()

const std::string OpenMD::RBCOMVisitor::toString ( )
virtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 172 of file RigidBodyVisitor.cpp.

References OpenMD::BaseVisitor::visitorName.

◆ visit() [1/3]

virtual void OpenMD::RBCOMVisitor::visit ( Atom atom)
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 92 of file RigidBodyVisitor.hpp.

◆ visit() [2/3]

virtual void OpenMD::RBCOMVisitor::visit ( DirectionalAtom datom)
inlinevirtual

Reimplemented from OpenMD::BaseVisitor.

Definition at line 93 of file RigidBodyVisitor.hpp.

References OpenMD::BaseVisitor::toString(), and OpenMD::BaseVisitor::visit().

◆ visit() [3/3]


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