GAMS  1.4.0
gams::variables::AccentStatus Class Reference

A container for accent status information. More...

#include <AccentStatus.h>

Public Member Functions

 AccentStatus ()
 Constructor. More...
 
 ~AccentStatus ()
 Destructor. More...
 
void init_vars (madara::knowledge::KnowledgeBase &knowledge, const std::string &prefix)
 Initializes variable containers. More...
 
void init_vars (madara::knowledge::Variables &knowledge, const std::string &prefix)
 Initializes variable containers. More...
 
void operator= (const AccentStatus &accent)
 Assignment operator. More...
 

Public Attributes

madara::knowledge::containers::String command
 accent specific command More...
 
madara::knowledge::containers::Vector command_args
 number of arguments for command More...
 

Protected Member Functions

void init_variable_settings ()
 Set variable settings. More...
 

Detailed Description

A container for accent status information.

Definition at line 75 of file AccentStatus.h.

Constructor & Destructor Documentation

◆ AccentStatus()

gams::variables::AccentStatus::AccentStatus ( )

Constructor.

◆ ~AccentStatus()

gams::variables::AccentStatus::~AccentStatus ( )

Destructor.

Member Function Documentation

◆ init_variable_settings()

void gams::variables::AccentStatus::init_variable_settings ( )
protected

Set variable settings.

◆ init_vars() [1/2]

void gams::variables::AccentStatus::init_vars ( madara::knowledge::KnowledgeBase &  knowledge,
const std::string &  prefix 
)

Initializes variable containers.

Parameters
knowledgethe variable context
prefixthe prefix of the accents(e.g. swarm/agent)

◆ init_vars() [2/2]

void gams::variables::AccentStatus::init_vars ( madara::knowledge::Variables &  knowledge,
const std::string &  prefix 
)

Initializes variable containers.

Parameters
knowledgethe variable context
prefixthe prefix of the accents(e.g. swarm/agent)

◆ operator=()

void gams::variables::AccentStatus::operator= ( const AccentStatus accent)

Assignment operator.

Parameters
accentaccent to copy

Member Data Documentation

◆ command

madara::knowledge::containers::String gams::variables::AccentStatus::command

accent specific command

Definition at line 111 of file AccentStatus.h.

◆ command_args

madara::knowledge::containers::Vector gams::variables::AccentStatus::command_args

number of arguments for command

Definition at line 114 of file AccentStatus.h.


The documentation for this class was generated from the following file: