GAMS  1.2.2
Land.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_ALGORITHMS_LAND_H_
55 #define _GAMS_ALGORITHMS_LAND_H_
56 
57 #include "gams/variables/Sensor.h"
60 #include "gams/variables/Self.h"
63 
64 namespace gams
65 {
66  namespace algorithms
67  {
72  {
73  public:
81  Land (
82  madara::knowledge::KnowledgeBase * knowledge = 0,
83  platforms::BasePlatform * platform = 0,
84  variables::Sensors * sensors = 0,
85  variables::Self * self = 0);
86 
90  ~Land ();
91 
96  void operator= (const Land & rhs);
97 
102  virtual int analyze (void);
103 
108  virtual int execute (void);
109 
114  virtual int plan (void);
115  };
116 
121  {
122  public:
123 
138  virtual BaseAlgorithm * create (
139  const madara::knowledge::KnowledgeMap & args,
140  madara::knowledge::KnowledgeBase * knowledge,
141  platforms::BasePlatform * platform,
142  variables::Sensors * sensors,
143  variables::Self * self,
144  variables::Agents * agents);
145  };
146  }
147 }
148 
149 #endif // _GAMS_ALGORITHMS_LAND_H_
Base class for algorithm factories that classes derived from.
A factory class for creating Landing algorithms.
Definition: Land.h:120
Copyright (c) 2014 Carnegie Mellon University.
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
Definition: Sensor.h:238
An algorithm for landing.
Definition: Land.h:71
The base platform for all platforms to use.
Definition: BasePlatform.h:190
Copyright (c) 2014 Carnegie Mellon University.
std::vector< Agent > Agents
An array of agent knowledge.
Definition: Agent.h:246
Copyright (c) 2014 Carnegie Mellon University.
Contains all GAMS-related tools, classes and code.
A container for self referencing information.
Definition: Self.h:69
#define GAMS_EXPORT
Definition: GamsExport.h:20
The base class that algorithms in GAMS use.
Definition: BaseAlgorithm.h:94
Copyright (c) 2014 Carnegie Mellon University.
Copyright (c) 2014 Carnegie Mellon University.