Ignore:
Timestamp:
Jun 21, 2013, 10:16:56 AM (11 years ago)
Author:
lemeur
Message:

definition des compatibilites des elements dans les software

File:
1 edited

Legend:

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

    r386 r418  
    55#include "particleBeam.h"
    66#include "nomDeLogiciel.h"
     7#include "nomdElements.h"
     8#include "trivaluedBool.h"
     9
    710#include <iostream>
    811#include <string>
     
    2225  string inputFileName_;
    2326  nomDeLogiciel nameOfSoftware_;
     27
     28    /**
     29     Accepted elements list for this software
     30     */
     31  std::vector <nomdElements::typedElement> acceptedElements_;
     32
     33    /**
     34     Ignore software list for this element
     35     */
     36  std::vector <nomdElements::typedElement> ignoredElements_;
     37
    2438  abstractSoftware();
    2539
     
    2741  bool initComputationLimits(unsigned int numeroDeb,unsigned int numeroFin);
    2842  bool ComputationLimitsOk() const;
     43
     44
     45  void registerElement(nomdElements::typedElement nomdel,trivaluedBool b);
     46
    2947 public :
    3048
     
    3250  ~abstractSoftware() {;}
    3351
    34   inline nomDeLogiciel getNomDeLogiciel() const {
    35     return nameOfSoftware_;
    36   }
     52  inline const nomDeLogiciel* getNomDeLogiciel() const {
     53    return &nameOfSoftware_;
     54}
     55
     56  trivaluedBool doAcceptElement(nomdElements::typedElement typdel);
     57
    3758
    3859  virtual bool createInputFile(particleBeam* beamBefore,unsigned int numeroDeb, unsigned int numeroFin, string workingDir) = 0;
Note: See TracChangeset for help on using the changeset viewer.