Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00646_source.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00646_source.php on line 2
The ARGoS Website

ci_radios_actuator.h
Go to the documentation of this file.
1 
7 #ifndef CI_RADIOS_ACTUATOR_H
8 #define CI_RADIOS_ACTUATOR_H
9 
10 namespace argos {
11  class CCI_RadiosActuator;
12 }
13 
14 #include <argos3/core/control_interface/ci_actuator.h>
15 #include <argos3/core/utility/datatypes/byte_array.h>
16 
17 namespace argos {
18 
19  class CCI_RadiosActuator : virtual public CCI_Actuator {
20 
21  public:
22 
23  struct SInterface {
24  SInterface(const std::string& str_id,
25  const std::vector<CByteArray>& vec_data = {}) :
26  Id(str_id),
27  Data(vec_data) {}
28  std::string Id;
29  std::vector<CByteArray> Data;
30  using TVector = std::vector<SInterface>;
31  };
32 
33  public:
34 
42  virtual ~CCI_RadiosActuator() {}
43 
44  public:
45 
51 
52 #ifdef ARGOS_WITH_LUA
53  virtual void CreateLuaState(lua_State* pt_lua_state);
54 #endif
55 
56  protected:
57 
59 
60  };
61 }
62 
63 #endif
The basic interface for all actuators.
Definition: ci_actuator.h:34
SInterface::TVector m_vecInterfaces
SInterface(const std::string &str_id, const std::vector< CByteArray > &vec_data={})
virtual ~CCI_RadiosActuator()
Destructor.
SInterface::TVector & GetInterfaces()
Returns a reference to the radio interfaces.
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12