GAMS  1.4.0
AccentStatus.h
Go to the documentation of this file.
1 
54 #ifndef _GAMS_VARIABLES_ACCENTS_H_
55 #define _GAMS_VARIABLES_ACCENTS_H_
56 
57 #include <vector>
58 #include <string>
59 
60 #include "gams/GamsExport.h"
61 #include "madara/knowledge/containers/Integer.h"
62 #include "madara/knowledge/containers/Double.h"
63 #include "madara/knowledge/containers/String.h"
64 #include "madara/knowledge/containers/NativeDoubleVector.h"
65 #include "madara/knowledge/containers/Vector.h"
66 #include "madara/knowledge/KnowledgeBase.h"
67 
68 namespace gams
69 {
70  namespace variables
71  {
76  {
77  public:
82 
87 
92  void operator=(const AccentStatus & accent);
93 
99  void init_vars(madara::knowledge::KnowledgeBase & knowledge,
100  const std::string & prefix);
101 
107  void init_vars(madara::knowledge::Variables & knowledge,
108  const std::string & prefix);
109 
111  madara::knowledge::containers::String command;
112 
114  madara::knowledge::containers::Vector command_args;
115 
116  protected:
121  };
122 
126  typedef std::vector <AccentStatus> AccentStatuses;
127 
135  madara::knowledge::KnowledgeBase & knowledge,
136  const std::string & prefix);
137 
145  madara::knowledge::Variables & knowledge,
146  const std::string & prefix);
147  }
148 }
149 
150 #endif // _GAMS_VARIABLES_ACCENTS_H_
#define GAMS_EXPORT
Definition: GamsExport.h:20
A container for accent status information.
Definition: AccentStatus.h:76
madara::knowledge::containers::String command
accent specific command
Definition: AccentStatus.h:111
madara::knowledge::containers::Vector command_args
number of arguments for command
Definition: AccentStatus.h:114
void init_vars(madara::knowledge::KnowledgeBase &knowledge, const std::string &prefix)
Initializes variable containers.
void init_vars(madara::knowledge::Variables &knowledge, const std::string &prefix)
Initializes variable containers.
void operator=(const AccentStatus &accent)
Assignment operator.
void init_variable_settings()
Set variable settings.
GAMS_EXPORT void init_vars(AccentStatuses &variables, madara::knowledge::KnowledgeBase &knowledge, const std::string &prefix)
Initializes accent status containers.
std::vector< AccentStatus > AccentStatuses
An array of accents.
Definition: AccentStatus.h:126
Contains all GAMS-related tools, classes and code.