application.h
Go to the documentation of this file.
1 
23 #ifndef APPLICATION_H_
24 #define APPLICATION_H_
25 
26 #include <iostream>
27 #include <ros/ros.h>
29 
30 #include "micros_swarm/singleton.h"
32 
33 namespace micros_swarm{
34 
36  {
37  public:
38  Application();
39  virtual ~Application();
40  //application api
41  const int get_id();
42  const Base& get_base();
43  void set_base(const Base& robot_base);
44  float get_dis();
45  void set_dis(float neighbor_distance);
46  //init
47  virtual void init() = 0;
48  //entry
49  virtual void start() = 0;
50  //stop
51  virtual void stop() = 0;
52  private:
54  };
55 };
56 
57 #endif
virtual void start()=0
boost::shared_ptr< RuntimeHandle > rth
Definition: application.h:53
void set_base(const Base &robot_base)
Definition: application.cpp:48
void set_dis(float neighbor_distance)
Definition: application.cpp:58
virtual void stop()=0
virtual void init()=0


micros_swarm
Author(s):
autogenerated on Mon Jun 10 2019 14:02:06