EmptyStrategy.h

00001 #ifndef EMPTY_STRATEGY_H
00002 #define EMPTY_STRATEGY_H
00003 
00018 #include <math.h>
00019 
00020 #include "Observer.h"
00021 #include "PlansysObservation.h"
00022 #include "mainplansys.h"
00023 #include "waypoint.h"
00024 #include "posix_message_config.h"
00025 #include "observations.h"
00026 #include "init.h"
00027 
00028 
00029 class EmptyStrategy: public Observer {
00030   public:
00031     EmptyStrategy( PlansysObservation * , int theTeamColor );
00032     ~EmptyStrategy();
00033     void Update( Subject *, int typeOfObservation);
00034     int GetPriority();
00035     int AgentGlobalPriority();
00036     int GetAction( controll_struct *ai_controll_struct );
00037     int SetAgentActive( int active );
00038     int StrategyInterrupted();
00039     int GetInterruptAction(interrupt_controll_struct *interrupt_controll);
00040 
00041   private:
00046     int agentPriority;
00047     int inAction;
00048     int activeStrategy;
00049 
00050     PlansysObservation *_subject;
00051     ai_waypoint ai_waypoint_3d;             // Position
00052     ai_waypoint ai_waypoint_reached;        // Last waypoint reached
00053     cv_observation my_cv_observation;       // Last CV observation
00054     cv_observation color_cv_observation;    // CV color observation
00055     proxy_message my_proxy_message;         // Proxy Message
00056     controll_struct local_controll_struct;  // Control Struct
00057 
00058 
00059 };
00060 
00061 #endif

Generated on Tue Jun 19 11:15:43 2007 for mainplansys.kdevelop by  doxygen 1.4.7