#include <Xabsl2Symbols.h>
Inheritance diagram for Xabsl2Symbols:
Public Member Functions | |
Xabsl2Symbols (Xabsl2ErrorHandler &errorHandler) | |
Constructor. | |
~Xabsl2Symbols () | |
Destructor. | |
void | registerDecimalInputSymbol (const char *name, const double *pVariable) |
Registers the address of a variable for a decimal input symbol. | |
void | registerDecimalInputSymbol (const char *name, Xabsl2FunctionProvider *pInstance, double(Xabsl2FunctionProvider::*pFunction)()) |
Registers the address of a function for a decimal input symbol. | |
Xabsl2DecimalInputSymbol * | getDecimalInputSymbol (const char *name) |
Returns a decimal input symbol for a given name Note that the function crashes if the symbol does not exist. | |
bool | existsDecimalInputSymbol (const char *name) |
Returns whether a decimal input symbol exists. | |
void | registerDecimalInputFunction (const char *name, Xabsl2FunctionProvider *pInstance, double(Xabsl2FunctionProvider::*pFunction)()) |
Registers the address of a parameterized decimal input function. | |
void | registerDecimalInputFunctionParameter (const char *functionName, const char *name, double ¶m) |
Registers a parameter of a parameterized decimal input function. | |
Xabsl2DecimalInputFunction * | getDecimalInputFunction (const char *name) |
Returns a decimal input function for a given name Note that the function crashes if the function does not exist. | |
bool | existsDecimalInputFunction (const char *name) |
Returns whether a decimal input function exists. | |
void | registerBooleanInputSymbol (const char *name, const bool *pVariable) |
Registers the address of a variable for a boolean input symbol. | |
void | registerBooleanInputSymbol (const char *name, Xabsl2FunctionProvider *pInstance, bool(Xabsl2FunctionProvider::*pFunction)()) |
Registers the address of a function for a boolean input symbol. | |
Xabsl2BooleanInputSymbol * | getBooleanInputSymbol (const char *name) |
Returns a boolean input symbol for a given name Note that the function crashes if the symbol does not exist. | |
bool | existsBooleanInputSymbol (const char *name) |
Returns whether a boolean input symbol exists. | |
void | registerEnumeratedInputSymbol (const char *name, const int *pVariable) |
Registers the address of a variable for a enumerated input symbol. | |
void | registerEnumeratedInputSymbol (const char *name, Xabsl2FunctionProvider *pInstance, int(Xabsl2FunctionProvider::*pFunction)()) |
Registers the address of a function for a enumerated input symbol. | |
Xabsl2EnumeratedInputSymbol * | getEnumeratedInputSymbol (const char *name) |
Returns a enumerated input symbol for a given name Note that the function crashes if the symbol does not exist. | |
void | registerEnumeratedInputSymbolEnumElement (const char *symbolName, const char *name, int value) |
Registers an enum element for an enumerated input symbol. | |
bool | existsEnumeratedInputSymbol (const char *name) |
Returns whether a boolean input symbol exists. | |
void | registerEnumeratedOutputSymbol (const char *name, int *pVariable) |
Registers the address of a variable for a enumerated output symbol. | |
void | registerEnumeratedOutputSymbol (const char *name, Xabsl2FunctionProvider *pInstance, void(Xabsl2FunctionProvider::*pFunction)(int)) |
Registers the address of a function for a enumerated output symbol. | |
Xabsl2EnumeratedOutputSymbol * | getEnumeratedOutputSymbol (const char *name) |
Returns a enumerated output symbol for a given name Note that the function crashes if the symbol does not exist. | |
void | registerEnumeratedOutputSymbolEnumElement (const char *symbolName, const char *name, int value) |
Registers an enum element for an enumerated output symbol. | |
bool | existsEnumeratedOutputSymbol (const char *name) |
Returns whether a boolean output symbol exists. | |
void | setOutputSymbols () |
Sets the output symbols to the software environment. | |
Private Attributes | |
Xabsl2Array< Xabsl2DecimalInputSymbol * > | decimalInputSymbols |
The decimal input symbols. | |
Xabsl2Array< Xabsl2DecimalInputFunction * > | decimalInputFunctions |
The decimal input functions. | |
Xabsl2Array< Xabsl2BooleanInputSymbol * > | booleanInputSymbols |
The decimal input symbols. | |
Xabsl2Array< Xabsl2EnumeratedInputSymbol * > | enumeratedInputSymbols |
The enumerated input symbols. | |
Xabsl2Array< Xabsl2EnumeratedOutputSymbol * > | enumeratedOutputSymbols |
The enumerated output symbols. | |
Xabsl2ErrorHandler & | errorHandler |
Is invoked when errors occur. |
Definition at line 294 of file Xabsl2Symbols.h.
|
Constructor.
Definition at line 301 of file Xabsl2Symbols.h. |
|
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Registers the address of a function for a decimal input symbol.
Definition at line 68 of file Xabsl2Symbols.cpp. References XABSL2_DEBUG_INIT. |
|
Returns a decimal input symbol for a given name Note that the function crashes if the symbol does not exist.
Definition at line 81 of file Xabsl2Symbols.cpp. References decimalInputSymbols, and Xabsl2Array< Xabsl2DecimalInputSymbol * >::getElement(). Referenced by GTXabsl2EngineExecutor::handleMessage(), and Xabsl2DecimalInputSymbolRef::Xabsl2DecimalInputSymbolRef(). |
Here is the call graph for this function:
|
Returns whether a decimal input symbol exists.
Definition at line 86 of file Xabsl2Symbols.cpp. References decimalInputSymbols, and Xabsl2Array< Xabsl2DecimalInputSymbol * >::exists(). Referenced by GTXabsl2EngineExecutor::handleMessage(), and Xabsl2DecimalInputSymbolRef::Xabsl2DecimalInputSymbolRef(). |
Here is the call graph for this function:
|
Registers the address of a parameterized decimal input function.
Definition at line 92 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2DecimalInputFunction * >::append(), decimalInputFunctions, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2DecimalInputFunction * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. Referenced by GT2004StrategySymbols::registerSymbols(), RobotPoseSymbols::registerSymbols(), MathFunctions::registerSymbols(), KickSelectionSymbols::registerSymbols(), and ChallengeSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Registers a parameter of a parameterized decimal input function.
Definition at line 106 of file Xabsl2Symbols.cpp. References Xabsl2Array< double & >::append(), decimalInputFunctions, Xabsl2ErrorHandler::error(), Xabsl2Array< double & >::exists(), Xabsl2Array< Xabsl2DecimalInputFunction * >::exists(), Xabsl2Array< Xabsl2DecimalInputFunction * >::getElement(), Xabsl2ErrorHandler::message(), Xabsl2DecimalInputFunction::parameters, and XABSL2_DEBUG_INIT. Referenced by GT2004StrategySymbols::registerSymbols(), RobotPoseSymbols::registerSymbols(), MathFunctions::registerSymbols(), KickSelectionSymbols::registerSymbols(), and ChallengeSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Returns a decimal input function for a given name Note that the function crashes if the function does not exist.
Definition at line 125 of file Xabsl2Symbols.cpp. References decimalInputFunctions, and Xabsl2Array< Xabsl2DecimalInputFunction * >::getElement(). Referenced by Xabsl2DecimalInputFunctionCall::Xabsl2DecimalInputFunctionCall(). |
Here is the call graph for this function:
|
Returns whether a decimal input function exists.
Definition at line 130 of file Xabsl2Symbols.cpp. References decimalInputFunctions, and Xabsl2Array< Xabsl2DecimalInputFunction * >::exists(). Referenced by Xabsl2DecimalInputFunctionCall::Xabsl2DecimalInputFunctionCall(). |
Here is the call graph for this function:
|
Registers the address of a variable for a boolean input symbol.
Definition at line 136 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2BooleanInputSymbol * >::append(), booleanInputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2BooleanInputSymbol * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. Referenced by GT2004HeadControlSymbols::registerSymbols(), GT2004StrategySymbols::registerSymbols(), EvolutionSymbols::registerSymbols(), SpecialVisionSymbols::registerSymbols(), RobotStateSymbols::registerSymbols(), RoboCupGameManagerSymbols::registerSymbols(), ObstaclesSymbols::registerSymbols(), JoystickSymbols::registerSymbols(), and BallSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Registers the address of a function for a boolean input symbol.
Definition at line 149 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2BooleanInputSymbol * >::append(), booleanInputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2BooleanInputSymbol * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. |
Here is the call graph for this function:
|
Returns a boolean input symbol for a given name Note that the function crashes if the symbol does not exist.
Definition at line 162 of file Xabsl2Symbols.cpp. References booleanInputSymbols, and Xabsl2Array< Xabsl2BooleanInputSymbol * >::getElement(). Referenced by GTXabsl2EngineExecutor::handleMessage(), and Xabsl2BooleanInputSymbolRef::Xabsl2BooleanInputSymbolRef(). |
Here is the call graph for this function:
|
Returns whether a boolean input symbol exists.
Definition at line 167 of file Xabsl2Symbols.cpp. References booleanInputSymbols, and Xabsl2Array< Xabsl2BooleanInputSymbol * >::exists(). Referenced by GTXabsl2EngineExecutor::handleMessage(), and Xabsl2BooleanInputSymbolRef::Xabsl2BooleanInputSymbolRef(). |
Here is the call graph for this function:
|
Registers the address of a variable for a enumerated input symbol.
Definition at line 172 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::append(), enumeratedInputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. Referenced by GT2004HeadControlSymbols::registerSymbols(), OpenChallengeSymbols::registerSymbols(), GT2004StrategySymbols::registerSymbols(), GT2004DTTSymbols::registerSymbols(), SpecialVisionSymbols::registerSymbols(), RobotStateSymbols::registerSymbols(), RoboCupGameManagerSymbols::registerSymbols(), ObstaclesSymbols::registerSymbols(), MotionRequestSymbols::registerSymbols(), and JoystickSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Registers the address of a function for a enumerated input symbol.
Definition at line 184 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::append(), enumeratedInputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. |
Here is the call graph for this function:
|
Returns a enumerated input symbol for a given name Note that the function crashes if the symbol does not exist.
Definition at line 197 of file Xabsl2Symbols.cpp. References enumeratedInputSymbols, and Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::getElement(). Referenced by GTXabsl2EngineExecutor::handleMessage(), and Xabsl2EnumeratedInputSymbolComparison::Xabsl2EnumeratedInputSymbolComparison(). |
Here is the call graph for this function:
|
Registers an enum element for an enumerated input symbol.
Definition at line 202 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2EnumElement * >::append(), Xabsl2EnumeratedInputSymbol::enumElements, enumeratedInputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2EnumElement * >::exists(), Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::exists(), Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::getElement(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. Referenced by GT2004HeadControlSymbols::registerSymbols(), OpenChallengeSymbols::registerSymbols(), GT2004StrategySymbols::registerSymbols(), GT2004DTTSymbols::registerSymbols(), SpecialVisionSymbols::registerSymbols(), RobotStateSymbols::registerSymbols(), RoboCupGameManagerSymbols::registerSymbols(), ObstaclesSymbols::registerSymbols(), MotionRequestSymbols::registerSymbols(), and JoystickSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Returns whether a boolean input symbol exists.
Definition at line 220 of file Xabsl2Symbols.cpp. References enumeratedInputSymbols, and Xabsl2Array< Xabsl2EnumeratedInputSymbol * >::exists(). Referenced by GTXabsl2EngineExecutor::handleMessage(), and Xabsl2EnumeratedInputSymbolComparison::Xabsl2EnumeratedInputSymbolComparison(). |
Here is the call graph for this function:
|
Registers the address of a variable for a enumerated output symbol.
Definition at line 226 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::append(), enumeratedOutputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. Referenced by GTXabsl2Profiler::registerSymbols(), OpenChallengeSymbols::registerSymbols(), GT2004StrategySymbols::registerSymbols(), SpecialVisionSymbols::registerSymbols(), RoboCupGameManagerSymbols::registerSymbols(), MathFunctions::registerSymbols(), LEDAndSoundSymbols::registerSymbols(), HeadAndTailSymbols::registerSymbols(), CalibrationSymbols::registerSymbols(), BallSymbols::registerSymbols(), and AngleSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Registers the address of a function for a enumerated output symbol.
Definition at line 238 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::append(), enumeratedOutputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::exists(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. |
Here is the call graph for this function:
|
Returns a enumerated output symbol for a given name Note that the function crashes if the symbol does not exist.
Definition at line 251 of file Xabsl2Symbols.cpp. References enumeratedOutputSymbols, and Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::getElement(). Referenced by Xabsl2State::create(), and GTXabsl2EngineExecutor::handleMessage(). |
Here is the call graph for this function:
|
Registers an enum element for an enumerated output symbol.
Definition at line 256 of file Xabsl2Symbols.cpp. References Xabsl2Array< Xabsl2EnumElement * >::append(), Xabsl2EnumeratedOutputSymbol::enumElements, enumeratedOutputSymbols, Xabsl2ErrorHandler::error(), Xabsl2Array< Xabsl2EnumElement * >::exists(), Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::exists(), Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::getElement(), Xabsl2ErrorHandler::message(), and XABSL2_DEBUG_INIT. Referenced by GTXabsl2Profiler::registerSymbols(), OpenChallengeSymbols::registerSymbols(), GT2004StrategySymbols::registerSymbols(), SpecialVisionSymbols::registerSymbols(), RoboCupGameManagerSymbols::registerSymbols(), MathFunctions::registerSymbols(), LEDAndSoundSymbols::registerSymbols(), HeadAndTailSymbols::registerSymbols(), CalibrationSymbols::registerSymbols(), BallSymbols::registerSymbols(), and AngleSymbols::registerSymbols(). |
Here is the call graph for this function:
|
Returns whether a boolean output symbol exists.
Definition at line 274 of file Xabsl2Symbols.cpp. References enumeratedOutputSymbols, and Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::exists(). Referenced by Xabsl2State::create(), and GTXabsl2EngineExecutor::handleMessage(). |
Here is the call graph for this function:
|
Sets the output symbols to the software environment.
Definition at line 280 of file Xabsl2Symbols.cpp. References enumeratedOutputSymbols, and Xabsl2Array< Xabsl2EnumeratedOutputSymbol * >::getSize(). Referenced by Xabsl2Engine::execute(), and GTXabsl2EngineExecutor::executeEngine(). |
Here is the call graph for this function:
|
The decimal input symbols.
Definition at line 470 of file Xabsl2Symbols.h. Referenced by existsDecimalInputSymbol(), getDecimalInputSymbol(), registerDecimalInputSymbol(), and ~Xabsl2Symbols(). |
|
The decimal input functions.
Definition at line 473 of file Xabsl2Symbols.h. Referenced by existsDecimalInputFunction(), getDecimalInputFunction(), registerDecimalInputFunction(), registerDecimalInputFunctionParameter(), and ~Xabsl2Symbols(). |
|
The decimal input symbols.
Definition at line 476 of file Xabsl2Symbols.h. Referenced by existsBooleanInputSymbol(), getBooleanInputSymbol(), registerBooleanInputSymbol(), and ~Xabsl2Symbols(). |
|
The enumerated input symbols.
Definition at line 479 of file Xabsl2Symbols.h. Referenced by existsEnumeratedInputSymbol(), getEnumeratedInputSymbol(), registerEnumeratedInputSymbol(), registerEnumeratedInputSymbolEnumElement(), and ~Xabsl2Symbols(). |
|
The enumerated output symbols.
Definition at line 482 of file Xabsl2Symbols.h. Referenced by existsEnumeratedOutputSymbol(), getEnumeratedOutputSymbol(), registerEnumeratedOutputSymbol(), registerEnumeratedOutputSymbolEnumElement(), setOutputSymbols(), and ~Xabsl2Symbols(). |
|
Is invoked when errors occur.
Reimplemented in Xabsl2Engine. Definition at line 485 of file Xabsl2Symbols.h. |