11 #include "EnvironmentEnvironmentHandler"
22 #ifndef __EnvironmentHandler_h__INCLUDED
25 class EnvironmentHandler
28 //====== LIFECYCLE ========
29 EnvironmentHandler(SomeEnvironment<P>* environment);
30 ~EnvironmentHandler();
32 //====== OPERATIONS =======
34 * change the actual intants associated to the
37 void nextInstants(std::vector<std::string> nameConcepts);
40 * adds an actual Instant to a concept, it means, this instant
41 * has all index fixed, except the index in the instant of the concept
42 * identified by nameConcept
44 void addActualInstantOfCOncept(std::string nameConcept,Instant* instant);
47 * removes the pair in the map of actual concepts
49 void removeActualInstantOfConcept(std::string nameConcept);
51 //====== INQUIRY =========
53 * get all the actual instants
55 void getActualsInstants(std::vector<Instant*>& instantsVector);
58 * get the actual instant fot the concept identified by the name
60 Instant* getActualInstant(std::string nameConcept);
61 //====== ACCESS ==========
68 //======= ATTRIBUTES=======
71 * actual instants of the environmenHandler
74 std::map<std::string,Instant*> actualInstants;
76 * Environment that's being handled
79 SomeEnvironment<P>* environment;
80 //====== PRIVATE METHODS=========
84 //include the implementation of the template
85 #include "EnvironmentHandler_Txx.h"