Rev 115 | Rev 182 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | |||
111 | Werner | 2 | #ifndef RESSOURCEUNITSPECIES_H |
3 | #define RESSOURCEUNITSPECIES_H |
||
115 | Werner | 4 | #include "production3pg.h" |
180 | werner | 5 | #include "standstatistics.h" |
111 | Werner | 6 | |
7 | class Species; |
||
8 | class RessourceUnit; |
||
9 | |||
10 | class RessourceUnitSpecies |
||
11 | { |
||
12 | public: |
||
13 | RessourceUnitSpecies() : mSpecies(0), mRU(0) {} |
||
14 | RessourceUnitSpecies(Species *species, RessourceUnit *ru) { mSpecies = species; mRU = ru; } |
||
115 | Werner | 15 | |
113 | Werner | 16 | const Species *species() const { return mSpecies; } |
17 | const RessourceUnit *ru() const { return mRU; } |
||
115 | Werner | 18 | Production3PG &prod3PG() { return m3PG; } |
180 | werner | 19 | StandStatistics &statistics() { return mStatistics; } |
115 | Werner | 20 | // action |
21 | |||
111 | Werner | 22 | private: |
180 | werner | 23 | StandStatistics mStatistics; |
115 | Werner | 24 | Production3PG m3PG; |
111 | Werner | 25 | Species *mSpecies; |
26 | RessourceUnit *mRU; |
||
27 | }; |
||
28 | |||
29 | #endif // RESSOURCEUNITSPECIES_H |