Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Composants | Déclarations

SimMolecule.h

Aller à la documentation de ce fichier.
00001 /***************************************************************************
00002                           SimMolecule.h  -  description
00003                              -------------------
00004     begin                : mer jun 25 2003
00005     copyright            : (C) 2003 by Yann Le Guyadec, Michel DUBOIS
00006     email                : Yann.Le-Guyadec@univ-ubs.fr, Michel.Dubois@univ-ubs.fr 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef SIMMOLECULE_H
00019 #define SIMMOLECULE_H
00020 
00021 #include <RigidBodyEntity.h>
00022 #include "SimAtom.h"
00023 #include "CollisionGroup.h"
00024 
00029 class SimAtom;
00030 
00031 class SimMolecule : public RigidBodyEntity  {
00032 public: 
00033     SimMolecule();
00034     ~SimMolecule();
00035   virtual void print();
00036   void addAtom( SimAtom * atom);
00037   void removeAtom( SimAtom * atom);
00038   void handleEvent (Event* event);
00039   static void setCollisionGroup(CollisionGroup * aCollisionGroup);
00040 protected :
00041   static CollisionGroup * collisionGroup;
00042 };
00043 
00044 #endif

Généré le Mon Mar 1 01:29:41 2004 par doxygen 1.3.3