Ignore:
Timestamp:
Mar 4, 2013, 6:08:02 PM (11 years ago)
Author:
garnier
Message:

Changement de la couleur des sections selectionnes + plein dautres choses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/abstractElement.h

    r304 r359  
    99#include "nomDeLogiciel.h"
    1010#include "trivaluedBool.h"
     11#include "abstractSoftware.h"
     12#include "softwareGenerator.h"
     13#include "softwareParmela.h"
     14#include "softwareTest.h"
     15#include "softwareTransport.h"
    1116
    1217using namespace std;
     
    5459    double getLenghtOfElement() const;
    5560    int getNbParams() const;
    56     virtual trivaluedBool is_accepted_by_software(nomDeLogiciel soft) const;
     61
     62    trivaluedBool is_accepted_by_software(nomDeLogiciel soft);
     63   
    5764    virtual void setPhaseStep(double);
    5865    virtual double getInitialKineticEnergy() const;
     
    6673    virtual void FileInput(ifstream& ifs) = 0;
    6774    virtual string print() = 0;
     75
     76    /** Return the abstractSofware associated with this element
     77     */
     78    inline abstractSoftware* getAbstractSoftware() {
     79        return abstractSoftware_;
     80    }
     81   
     82   
     83    void registerAcceptableSoftware(nomDeLogiciel abs,trivaluedBool b);
     84    /**
     85     Set the software to this element
     86     @param abstractName the name of the abstract software
     87     @return trivaluedBool if this software is/not allowed/ignore on this component
     88     */
     89    trivaluedBool setSoftware(nomDeLogiciel abstractName);
     90   
     91    private :
     92    abstractSoftware *abstractSoftware_;
     93
     94    /**
     95     Acceptable software list for this element
     96     */
     97    std::vector <nomDeLogiciel> acceptableSoftware_;
     98
     99    /**
     100     Ignore software list for this element
     101     */
     102    std::vector <nomDeLogiciel> ignoreSoftware_;
    68103};
    69104#endif
Note: See TracChangeset for help on using the changeset viewer.