CXabsl2DlgBar Class Reference

#include <Xabsl2DlgBar.h>

Inheritance diagram for CXabsl2DlgBar:

CRobotControlDialogBar CDynamicBarDlg MessageHandler CDynamicChildDlg CDynamicDialog CDynamicWndEx CDynamicWnd List of all members.

Public Types

 IDD = IDD_DIALOG_BAR_XABSL2
enum  { IDD = IDD_DIALOG_BAR_XABSL2 }

Public Member Functions

 CXabsl2DlgBar ()
 ~CXabsl2DlgBar ()
virtual bool handleMessage (InMessage &message)

Public Attributes

CButton m_testHeadControlCheck
CButton m_TestOnRobotCheck
CButton m_SendButton
CStatic m_ParameterStatic
CEdit m_Param5Edit
CEdit m_Param4Edit
CEdit m_Param3Edit
CEdit m_Param2Edit
CEdit m_Param1Edit
CComboBox m_OutputSymbolValueCombo
CComboBox m_OutputSymbolCombo
CComboBox m_OptionsCombo
bool enableParam1Edit
bool enableParam2Edit
bool enableParam3Edit
bool enableParam4Edit
bool enableParam5Edit

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void updateUI (CCmdUI *pCmdUI)
afx_msg void OnPaint ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnXabsl2TestOnRobotCheck ()
afx_msg void OnXabsl2SendButton ()
afx_msg void OnSelchangeXabsl2OptionsCombo ()
afx_msg void OnSelchangeXabsl2OutputSymbolCombo ()
afx_msg void OnSelchangeXabsl2OutputSymbolValueCombo ()
afx_msg void OnXabsl2TestHeadcontrolCheck ()
 DECLARE_MESSAGE_MAP ()

Protected Attributes

CRect paintRect
CRect currentRect
CDC dcOffScreen
CBitmap * bmpOffScreen
CBitmap * oldBitmap

Private Types

typedef CTypedPtrMap< CMapStringToOb,
CString, int > 
CMapStringToInt
 option
 basicBehavior
 nothing
 decimal
 boolean
 enumerated
 normal
 bold
 italic
 numberOfColumns = 10
enum  { option, basicBehavior, nothing }
enum  InputSymbolType { decimal, boolean, enumerated }
enum  FontType { normal, bold, italic }
enum  { numberOfColumns = 10 }

Private Member Functions

void countNumberOfShownInputAndOutputSymbols ()
void drawText (FontType fontType, int line, int column, CString string)
void drawHorizontalLines ()
void drawVerticalLines ()
void drawTextFixedX (FontType fontType, int line, int x, CString string)
void createFonts ()
void deleteFonts ()
void reload ()
void clear ()
void enableButtons ()
void sendDebugRequest ()
void sendIntermediateCode ()

Private Attributes

enum CXabsl2DlgBar:: { ... }  currentSelection
CMapStringToInt inputSymbolIndex
CMapStringToInt outputSymbolIndex
int numberOfInputSymbols
int numberOfOutputSymbols
int numberOfOptions
int numberOfBasicBehaviors
int numberOfShownInputAndOutputSymbols
int numberOfShownInputSymbols
int numberOfShownOutputSymbols
CStringArray inputSymbolName
CStringArray inputSymbolValue
CArray< InputSymbolType, InputSymbolTypetypeOfInputSymbol
CArray< bool, bool > showInputSymbol
CStringArray outputSymbolName
CStringArray outputSymbolValue
CArray< bool, bool > showOutputSymbol
CArray< int, int > numberOfOutputSymbolAlternatives
CArray< CStringArray *, CStringArray * > outputSymbolAlternatives
CArray< int, int > selectedOutputSymbolAlternative
CStringArray optionName
CArray< int, int > numberOfOptionParameters
CArray< CStringArray *, CStringArray * > optionParameterNames
CStringArray basicBehaviorName
CArray< int, int > numberOfBasicBehaviorParameters
CArray< CStringArray *, CStringArray * > basicBehaviorParameterNames
SolutionRequest::xabsl2EngineID currentEngineID
CString selectedBehaviorControlName
CString selectedAgentName
int numberOfActiveOptions
CStringArray activeOptionName
CStringArray activeOptionDurationOfActivation
CStringArray activeOptionActiveState
CStringArray activeOptionDurationOfStateActivation
CArray< int, int > activeOptionNumberOfParameters
CStringArray activeOptionParameterName [20]
CStringArray activeOptionParameterValue [20]
CString activeBasicBehaviorName
CString activeBasicBehaviorDurationOfActivation
char activeBasicBehaviorNumberOfParameters
CString activeBasicBehaviorParameterName [20]
CString activeBasicBehaviorParameterValue [20]
CString generatedAction
int horizontalSpacing
int numberOfLines
int lineHeight
double leftOfColumnPercent [numberOfColumns]
int leftOfColumnPosition [numberOfColumns]
CArray< int, int > horizontalLineList
CArray< VerticalLine, VerticalLineverticalLineList
CFont * oldFont
CFont normalFont
CFont italicFont
CFont boldFont

Classes

struct  VerticalLine

Detailed Description

A dialog bar to test and debug behavior that was developed with Xabsl2

Author:
Matthias Jüngel

Martin Lötzsch

Definition at line 25 of file Xabsl2DlgBar.h.


Member Typedef Documentation

typedef CTypedPtrMap<CMapStringToOb,CString,int> CXabsl2DlgBar::CMapStringToInt [private]

Definition at line 108 of file Xabsl2DlgBar.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 36 of file Xabsl2DlgBar.h.

anonymous enum [private]

Indicates, wether the current selection is an option or a basic behavior

Enumerator:
option 
basicBehavior 
nothing 

Definition at line 106 of file Xabsl2DlgBar.h.

anonymous enum [private]

Enumerator:
numberOfColumns 

Definition at line 181 of file Xabsl2DlgBar.h.

enum CXabsl2DlgBar::FontType [private]

Enumerator:
normal 
bold 
italic 

Definition at line 172 of file Xabsl2DlgBar.h.

enum CXabsl2DlgBar::InputSymbolType [private]

Enumerator:
decimal 
boolean 
enumerated 

Definition at line 124 of file Xabsl2DlgBar.h.


Constructor & Destructor Documentation

CXabsl2DlgBar::CXabsl2DlgBar (  ) 

Default constructor.

Definition at line 24 of file Xabsl2DlgBar.cpp.

References bmpOffScreen, horizontalSpacing, leftOfColumnPercent, lineHeight, and oldBitmap.

CXabsl2DlgBar::~CXabsl2DlgBar (  ) 

Definition at line 49 of file Xabsl2DlgBar.cpp.

References activeBasicBehaviorParameterName, activeBasicBehaviorParameterValue, activeOptionParameterName, activeOptionParameterValue, basicBehaviorParameterNames, bmpOffScreen, dcOffScreen, numberOfBasicBehaviors, numberOfOptions, numberOfOutputSymbols, oldBitmap, optionParameterNames, and outputSymbolAlternatives.


Member Function Documentation

void CXabsl2DlgBar::clear (  )  [private]

Initializes all variables

Definition at line 709 of file Xabsl2DlgBar.cpp.

References activeBasicBehaviorDurationOfActivation, activeBasicBehaviorName, activeBasicBehaviorNumberOfParameters, activeBasicBehaviorParameterName, activeBasicBehaviorParameterValue, activeOptionActiveState, activeOptionDurationOfActivation, activeOptionDurationOfStateActivation, activeOptionName, activeOptionNumberOfParameters, activeOptionParameterName, activeOptionParameterValue, basicBehaviorName, basicBehaviorParameterNames, currentEngineID, currentSelection, generatedAction, inputSymbolIndex, inputSymbolName, inputSymbolValue, m_OptionsCombo, m_OutputSymbolCombo, m_OutputSymbolValueCombo, nothing, numberOfActiveOptions, numberOfBasicBehaviorParameters, numberOfBasicBehaviors, numberOfInputSymbols, numberOfOptionParameters, numberOfOptions, numberOfOutputSymbolAlternatives, numberOfOutputSymbols, numberOfShownInputAndOutputSymbols, numberOfShownInputSymbols, numberOfShownOutputSymbols, optionName, optionParameterNames, outputSymbolAlternatives, outputSymbolIndex, outputSymbolName, outputSymbolValue, selectedAgentName, selectedBehaviorControlName, selectedOutputSymbolAlternative, showInputSymbol, showOutputSymbol, typeOfInputSymbol, and SolutionRequest::undefined.

Referenced by handleMessage().

void CXabsl2DlgBar::countNumberOfShownInputAndOutputSymbols (  )  [private]

Definition at line 694 of file Xabsl2DlgBar.cpp.

References numberOfInputSymbols, numberOfOutputSymbols, numberOfShownInputAndOutputSymbols, numberOfShownInputSymbols, numberOfShownOutputSymbols, showInputSymbol, and showOutputSymbol.

Referenced by OnContextMenu(), reload(), and sendDebugRequest().

void CXabsl2DlgBar::createFonts (  )  [private]

creates some Fonts

Definition at line 668 of file Xabsl2DlgBar.cpp.

References boldFont, dcOffScreen, FALSE, italicFont, normalFont, oldFont, and TRUE.

Referenced by OnPaint().

CXabsl2DlgBar::DECLARE_MESSAGE_MAP (  )  [protected]

Reimplemented from CDynamicBarDlg.

void CXabsl2DlgBar::deleteFonts (  )  [private]

deletes the fonts

Definition at line 685 of file Xabsl2DlgBar.cpp.

References boldFont, dcOffScreen, italicFont, normalFont, and oldFont.

Referenced by OnPaint().

void CXabsl2DlgBar::DoDataExchange ( CDataExchange *  pDX  )  [protected, virtual]

Definition at line 82 of file Xabsl2DlgBar.cpp.

References IDC_XABSL2_OPTIONS_COMBO, IDC_XABSL2_OUTPUT_SYMBOL_COMBO, IDC_XABSL2_OUTPUT_SYMBOL_VALUE_COMBO, IDC_XABSL2_PARAM_EDIT1, IDC_XABSL2_PARAM_EDIT2, IDC_XABSL2_PARAM_EDIT3, IDC_XABSL2_PARAM_EDIT4, IDC_XABSL2_PARAM_EDIT5, IDC_XABSL2_PARAMETER_STATIC, IDC_XABSL2_SEND_BUTTON, IDC_XABSL2_TEST_HEADCONTROL_CHECK, IDC_XABSL2_TEST_ON_ROBOT_CHECK, m_OptionsCombo, m_OutputSymbolCombo, m_OutputSymbolValueCombo, m_Param1Edit, m_Param2Edit, m_Param3Edit, m_Param4Edit, m_Param5Edit, m_ParameterStatic, m_SendButton, m_testHeadControlCheck, and m_TestOnRobotCheck.

void CXabsl2DlgBar::drawHorizontalLines (  )  [private]

Definition at line 612 of file Xabsl2DlgBar.cpp.

References currentRect, dcOffScreen, horizontalLineList, horizontalSpacing, and lineHeight.

Referenced by OnPaint().

void CXabsl2DlgBar::drawText ( FontType  fontType,
int  line,
int  column,
CString  string 
) [private]

Draws a text to dcOffScreen.

Parameters:
fontType The type of the font. (normal, bold, italic)
line The line to paint to.
column The column to paint to.
string The text to paint.

Definition at line 580 of file Xabsl2DlgBar.cpp.

Referenced by OnPaint().

void CXabsl2DlgBar::drawTextFixedX ( FontType  fontType,
int  line,
int  x,
CString  string 
) [private]

Draws a text to dcOffScreen.

Parameters:
fontType The type of the font. (normal, bold, italic)
line The line to paint to.
x The x position to paint to.
string The string to paint.

Definition at line 636 of file Xabsl2DlgBar.cpp.

Referenced by OnPaint().

void CXabsl2DlgBar::drawVerticalLines (  )  [private]

Definition at line 621 of file Xabsl2DlgBar.cpp.

References dcOffScreen, leftOfColumnPosition, lineHeight, and verticalLineList.

Referenced by OnPaint().

void CXabsl2DlgBar::enableButtons (  )  [private]

grayes the edit boxes depending on the numbers of parameters

Definition at line 1049 of file Xabsl2DlgBar.cpp.

References basicBehavior, currentSelection, enableParam1Edit, enableParam2Edit, enableParam3Edit, enableParam4Edit, enableParam5Edit, m_OptionsCombo, numberOfBasicBehaviorParameters, numberOfOptionParameters, numberOfOptions, and option.

Referenced by OnSelchangeXabsl2OptionsCombo().

bool CXabsl2DlgBar::handleMessage ( InMessage message  )  [virtual]

Called from a MessageQueue to distribute messages

Parameters:
message The message that can be read.
Returns:
true if the message was read (handled).

Reimplemented from CRobotControlDialogBar.

Definition at line 420 of file Xabsl2DlgBar.cpp.

References activeBasicBehaviorName, activeBasicBehaviorNumberOfParameters, activeBasicBehaviorParameterName, activeBasicBehaviorParameterValue, activeOptionActiveState, activeOptionDurationOfActivation, activeOptionDurationOfStateActivation, activeOptionName, activeOptionNumberOfParameters, activeOptionParameterName, activeOptionParameterValue, InMessage::bin, clear(), currentEngineID, generatedAction, InMessage::getMessageID(), SolutionRequest::getXabsl2EngineIDName(), idXabsl2DebugMessage, inputSymbolIndex, inputSymbolValue, numberOfActiveOptions, outputSymbolIndex, outputSymbolValue, reload(), selectedAgentName, and selectedBehaviorControlName.

void CXabsl2DlgBar::OnContextMenu ( CWnd *  pWnd,
CPoint  point 
) [protected]

Definition at line 283 of file Xabsl2DlgBar.cpp.

References countNumberOfShownInputAndOutputSymbols(), IDC_XABSL_DIALOG_CONTEXT_MENU_INPUT, IDC_XABSL_DIALOG_CONTEXT_MENU_OUTPUT, IDP_XABSL2, inputSymbolName, int(), numberOfInputSymbols, numberOfOutputSymbols, numberOfShownInputAndOutputSymbols, outputSymbolName, reload(), selectedBehaviorControlName, sendDebugRequest(), sendIntermediateCode(), showInputSymbol, and showOutputSymbol.

BOOL CXabsl2DlgBar::OnInitDialog (  )  [protected, virtual]

Reimplemented from CDynamicDialog.

Definition at line 117 of file Xabsl2DlgBar.cpp.

References CDynamicDialog::OnInitDialog(), and TRUE.

void CXabsl2DlgBar::OnPaint (  )  [protected]

Definition at line 136 of file Xabsl2DlgBar.cpp.

References activeBasicBehaviorName, activeBasicBehaviorNumberOfParameters, activeBasicBehaviorParameterName, activeBasicBehaviorParameterValue, activeOptionActiveState, activeOptionDurationOfActivation, activeOptionDurationOfStateActivation, activeOptionName, activeOptionNumberOfParameters, activeOptionParameterName, activeOptionParameterValue, bold, createFonts(), currentEngineID, currentRect, dcOffScreen, deleteFonts(), drawHorizontalLines(), drawText(), drawTextFixedX(), drawVerticalLines(), generatedAction, horizontalLineList, inputSymbolName, inputSymbolValue, normal, numberOfActiveOptions, numberOfInputSymbols, numberOfLines, numberOfOutputSymbols, numberOfShownInputAndOutputSymbols, outputSymbolName, outputSymbolValue, paintRect, selectedAgentName, selectedBehaviorControlName, showInputSymbol, showOutputSymbol, text, SolutionRequest::undefined, and verticalLineList.

void CXabsl2DlgBar::OnSelchangeXabsl2OptionsCombo (  )  [protected]

Definition at line 953 of file Xabsl2DlgBar.cpp.

References basicBehavior, basicBehaviorName, basicBehaviorParameterNames, currentSelection, enableButtons(), m_OptionsCombo, m_Param1Edit, m_Param2Edit, m_Param3Edit, m_Param4Edit, m_Param5Edit, m_ParameterStatic, min, nothing, numberOfBasicBehaviorParameters, numberOfBasicBehaviors, numberOfOptionParameters, numberOfOptions, option, optionName, optionParameterNames, selectedBehaviorControlName, and sendDebugRequest().

Referenced by reload().

void CXabsl2DlgBar::OnSelchangeXabsl2OutputSymbolCombo (  )  [protected]

Definition at line 1027 of file Xabsl2DlgBar.cpp.

References m_OutputSymbolCombo, m_OutputSymbolValueCombo, numberOfOutputSymbolAlternatives, outputSymbolAlternatives, and selectedOutputSymbolAlternative.

Referenced by reload().

void CXabsl2DlgBar::OnSelchangeXabsl2OutputSymbolValueCombo (  )  [protected]

Definition at line 1041 of file Xabsl2DlgBar.cpp.

References m_OutputSymbolCombo, m_OutputSymbolValueCombo, selectedOutputSymbolAlternative, and sendDebugRequest().

void CXabsl2DlgBar::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Reimplemented from CDynamicDialog.

Definition at line 242 of file Xabsl2DlgBar.cpp.

References bmpOffScreen, currentRect, dcOffScreen, horizontalSpacing, leftOfColumnPercent, leftOfColumnPosition, lineHeight, numberOfColumns, numberOfLines, oldBitmap, CDynamicDialog::OnSize(), and paintRect.

void CXabsl2DlgBar::OnXabsl2SendButton (  )  [protected]

Definition at line 948 of file Xabsl2DlgBar.cpp.

References sendDebugRequest().

void CXabsl2DlgBar::OnXabsl2TestHeadcontrolCheck (  )  [protected]

Definition at line 943 of file Xabsl2DlgBar.cpp.

References sendDebugRequest().

void CXabsl2DlgBar::OnXabsl2TestOnRobotCheck (  )  [protected]

Definition at line 938 of file Xabsl2DlgBar.cpp.

References sendDebugRequest().

void CXabsl2DlgBar::reload (  )  [private]

Reloads the debug symbols

Definition at line 795 of file Xabsl2DlgBar.cpp.

References basicBehavior, basicBehaviorName, basicBehaviorParameterNames, countNumberOfShownInputAndOutputSymbols(), currentEngineID, decimal, enumerated, InFile::exists(), OutMessage::finishMessage(), getQueues(), SolutionRequest::getXabsl2EngineFileID(), idText, inputSymbolIndex, inputSymbolName, inputSymbolValue, m_OptionsCombo, m_OutputSymbolCombo, numberOfBasicBehaviorParameters, numberOfBasicBehaviors, numberOfInputSymbols, numberOfOptionParameters, numberOfOptions, numberOfOutputSymbolAlternatives, numberOfOutputSymbols, numberOfShownInputAndOutputSymbols, OnSelchangeXabsl2OptionsCombo(), OnSelchangeXabsl2OutputSymbolCombo(), option, optionName, optionParameterNames, MessageQueue::out, outputSymbolAlternatives, outputSymbolIndex, outputSymbolName, outputSymbolValue, selectedBehaviorControlName, selectedOutputSymbolAlternative, sendDebugRequest(), showInputSymbol, showOutputSymbol, OutMessage::text, CRobotControlQueues::toGUI, typeOfInputSymbol, and SolutionRequest::undefined.

Referenced by handleMessage(), and OnContextMenu().

void CXabsl2DlgBar::sendDebugRequest (  )  [private]

sends the debug request to the local Processes or to the robot

Definition at line 1082 of file Xabsl2DlgBar.cpp.

References basicBehavior, basicBehaviorName, basicBehaviorParameterNames, OutMessage::bin, countNumberOfShownInputAndOutputSymbols(), currentEngineID, currentSelection, decimal, DebugKey::disabled, enumerated, DebugKey::every_n_ms, OutMessage::finishMessage(), CRobotControlDebugKeyTables::forPhysicalRobots, CRobotControlDebugKeyTables::forSimulatedRobots, getDebugKeyTables(), getQueues(), idXabsl2DebugRequest, inputSymbolName, m_OptionsCombo, m_Param1Edit, m_Param2Edit, m_Param3Edit, m_Param4Edit, m_Param5Edit, m_testHeadControlCheck, m_TestOnRobotCheck, min, nothing, numberOfBasicBehaviorParameters, numberOfInputSymbols, numberOfOptionParameters, numberOfOptions, numberOfOutputSymbols, numberOfShownInputSymbols, numberOfShownOutputSymbols, option, optionName, optionParameterNames, MessageQueue::out, outputSymbolAlternatives, outputSymbolName, selectedBehaviorControlName, selectedOutputSymbolAlternative, CRobotControlQueuesToRobots::selectedRobot, CRobotControlDebugKeyTables::sendForPhysicalRobots(), CRobotControlDebugKeyTables::sendForSimulatedRobots(), DebugKeyTable::sendXabsl2DebugMessagesForBehaviorControl, DebugKeyTable::sendXabsl2DebugMessagesForHeadControl, DebugKeyTable::set(), showInputSymbol, showOutputSymbol, CRobotControlQueues::toPhysical, CRobotControlQueues::toSimulated, and typeOfInputSymbol.

Referenced by OnContextMenu(), OnSelchangeXabsl2OptionsCombo(), OnSelchangeXabsl2OutputSymbolValueCombo(), OnXabsl2SendButton(), OnXabsl2TestHeadcontrolCheck(), OnXabsl2TestOnRobotCheck(), and reload().

void CXabsl2DlgBar::sendIntermediateCode (  )  [private]

sends the intermediate code to the local Processes or to the robot

Definition at line 1231 of file Xabsl2DlgBar.cpp.

References OutMessage::bin, currentEngineID, InFile::exists(), OutMessage::finishMessage(), getQueues(), SolutionRequest::getXabsl2EngineFileID(), idText, idXabsl2IntermediateCode, MessageQueue::out, InStream< S, R >::read(), CRobotControlQueuesToRobots::selectedRobot, OutMessage::text, CRobotControlQueues::toGUI, CRobotControlQueues::toPhysical, CRobotControlQueues::toSimulated, and OutStream< S, W >::write().

Referenced by OnContextMenu().

void CXabsl2DlgBar::updateUI ( CCmdUI *  pCmdUI  )  [protected, virtual]

Enables the controls in the toolbar. This function is called from the main window for all controls.

Parameters:
pCmdUI An interface to the control that allows enabling/disabling, checking etc.

Reimplemented from CRobotControlDialogBar.

Definition at line 1260 of file Xabsl2DlgBar.cpp.

References enableParam1Edit, enableParam2Edit, enableParam3Edit, enableParam4Edit, enableParam5Edit, IDC_XABSL2_PARAM_EDIT1, IDC_XABSL2_PARAM_EDIT2, IDC_XABSL2_PARAM_EDIT3, IDC_XABSL2_PARAM_EDIT4, and IDC_XABSL2_PARAM_EDIT5.


Member Data Documentation

CString CXabsl2DlgBar::activeBasicBehaviorDurationOfActivation [private]

Definition at line 161 of file Xabsl2DlgBar.h.

Referenced by clear().

CString CXabsl2DlgBar::activeBasicBehaviorName [private]

Definition at line 160 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

char CXabsl2DlgBar::activeBasicBehaviorNumberOfParameters [private]

Definition at line 162 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CString CXabsl2DlgBar::activeBasicBehaviorParameterName[20] [private]

Definition at line 163 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), and ~CXabsl2DlgBar().

CString CXabsl2DlgBar::activeBasicBehaviorParameterValue[20] [private]

Definition at line 164 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), and ~CXabsl2DlgBar().

CStringArray CXabsl2DlgBar::activeOptionActiveState [private]

Definition at line 154 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CStringArray CXabsl2DlgBar::activeOptionDurationOfActivation [private]

Definition at line 153 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CStringArray CXabsl2DlgBar::activeOptionDurationOfStateActivation [private]

Definition at line 155 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CStringArray CXabsl2DlgBar::activeOptionName [private]

Definition at line 152 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CArray<int,int> CXabsl2DlgBar::activeOptionNumberOfParameters [private]

Definition at line 156 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CStringArray CXabsl2DlgBar::activeOptionParameterName[20] [private]

Definition at line 157 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), and ~CXabsl2DlgBar().

CStringArray CXabsl2DlgBar::activeOptionParameterValue[20] [private]

Definition at line 158 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), and ~CXabsl2DlgBar().

CStringArray CXabsl2DlgBar::basicBehaviorName [private]

Definition at line 140 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OptionsCombo(), reload(), and sendDebugRequest().

CArray<CStringArray*,CStringArray*> CXabsl2DlgBar::basicBehaviorParameterNames [private]

Definition at line 142 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OptionsCombo(), reload(), sendDebugRequest(), and ~CXabsl2DlgBar().

CBitmap* CXabsl2DlgBar::bmpOffScreen [protected]

A bitmap that is selected by dcOffScreen

Definition at line 75 of file Xabsl2DlgBar.h.

Referenced by CXabsl2DlgBar(), OnSize(), and ~CXabsl2DlgBar().

CFont CXabsl2DlgBar::boldFont [private]

Definition at line 241 of file Xabsl2DlgBar.h.

Referenced by createFonts(), and deleteFonts().

SolutionRequest::xabsl2EngineID CXabsl2DlgBar::currentEngineID [private]

Definition at line 145 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), reload(), sendDebugRequest(), and sendIntermediateCode().

CRect CXabsl2DlgBar::currentRect [protected]

the rectangle in the bitmap for painting

Definition at line 69 of file Xabsl2DlgBar.h.

Referenced by drawHorizontalLines(), OnPaint(), and OnSize().

enum { ... } CXabsl2DlgBar::currentSelection [private]

Indicates, wether the current selection is an option or a basic behavior

Referenced by clear(), enableButtons(), OnSelchangeXabsl2OptionsCombo(), and sendDebugRequest().

CDC CXabsl2DlgBar::dcOffScreen [protected]

An off screen device cotext for painting

Definition at line 72 of file Xabsl2DlgBar.h.

Referenced by createFonts(), deleteFonts(), drawHorizontalLines(), drawVerticalLines(), OnPaint(), OnSize(), and ~CXabsl2DlgBar().

bool CXabsl2DlgBar::enableParam1Edit

Definition at line 259 of file Xabsl2DlgBar.h.

Referenced by enableButtons(), and updateUI().

bool CXabsl2DlgBar::enableParam2Edit

Definition at line 260 of file Xabsl2DlgBar.h.

Referenced by enableButtons(), and updateUI().

bool CXabsl2DlgBar::enableParam3Edit

Definition at line 261 of file Xabsl2DlgBar.h.

Referenced by enableButtons(), and updateUI().

bool CXabsl2DlgBar::enableParam4Edit

Definition at line 262 of file Xabsl2DlgBar.h.

Referenced by enableButtons(), and updateUI().

bool CXabsl2DlgBar::enableParam5Edit

Definition at line 263 of file Xabsl2DlgBar.h.

Referenced by enableButtons(), and updateUI().

CString CXabsl2DlgBar::generatedAction [private]

Definition at line 166 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CArray<int,int> CXabsl2DlgBar::horizontalLineList [private]

Definition at line 201 of file Xabsl2DlgBar.h.

Referenced by drawHorizontalLines(), and OnPaint().

int CXabsl2DlgBar::horizontalSpacing [private]

The horizontal spacing of the drawing area.

Definition at line 169 of file Xabsl2DlgBar.h.

Referenced by CXabsl2DlgBar(), drawHorizontalLines(), and OnSize().

CMapStringToInt CXabsl2DlgBar::inputSymbolIndex [private]

Definition at line 110 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and reload().

CStringArray CXabsl2DlgBar::inputSymbolName [private]

Definition at line 122 of file Xabsl2DlgBar.h.

Referenced by clear(), OnContextMenu(), OnPaint(), reload(), and sendDebugRequest().

CStringArray CXabsl2DlgBar::inputSymbolValue [private]

Definition at line 123 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), and reload().

CFont CXabsl2DlgBar::italicFont [private]

Definition at line 238 of file Xabsl2DlgBar.h.

Referenced by createFonts(), and deleteFonts().

double CXabsl2DlgBar::leftOfColumnPercent[numberOfColumns] [private]

The relative postion of the columns

Definition at line 184 of file Xabsl2DlgBar.h.

Referenced by CXabsl2DlgBar(), and OnSize().

int CXabsl2DlgBar::leftOfColumnPosition[numberOfColumns] [private]

The position of the columns calculated by OnSize

Definition at line 187 of file Xabsl2DlgBar.h.

Referenced by drawVerticalLines(), and OnSize().

int CXabsl2DlgBar::lineHeight [private]

The heiht of a single line

Definition at line 178 of file Xabsl2DlgBar.h.

Referenced by CXabsl2DlgBar(), drawHorizontalLines(), drawVerticalLines(), and OnSize().

CComboBox CXabsl2DlgBar::m_OptionsCombo

Definition at line 48 of file Xabsl2DlgBar.h.

Referenced by clear(), DoDataExchange(), enableButtons(), OnSelchangeXabsl2OptionsCombo(), reload(), and sendDebugRequest().

CComboBox CXabsl2DlgBar::m_OutputSymbolCombo

Definition at line 47 of file Xabsl2DlgBar.h.

Referenced by clear(), DoDataExchange(), OnSelchangeXabsl2OutputSymbolCombo(), OnSelchangeXabsl2OutputSymbolValueCombo(), and reload().

CComboBox CXabsl2DlgBar::m_OutputSymbolValueCombo

Definition at line 46 of file Xabsl2DlgBar.h.

Referenced by clear(), DoDataExchange(), OnSelchangeXabsl2OutputSymbolCombo(), and OnSelchangeXabsl2OutputSymbolValueCombo().

CEdit CXabsl2DlgBar::m_Param1Edit

Definition at line 45 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), OnSelchangeXabsl2OptionsCombo(), and sendDebugRequest().

CEdit CXabsl2DlgBar::m_Param2Edit

Definition at line 44 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), OnSelchangeXabsl2OptionsCombo(), and sendDebugRequest().

CEdit CXabsl2DlgBar::m_Param3Edit

Definition at line 43 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), OnSelchangeXabsl2OptionsCombo(), and sendDebugRequest().

CEdit CXabsl2DlgBar::m_Param4Edit

Definition at line 42 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), OnSelchangeXabsl2OptionsCombo(), and sendDebugRequest().

CEdit CXabsl2DlgBar::m_Param5Edit

Definition at line 41 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), OnSelchangeXabsl2OptionsCombo(), and sendDebugRequest().

CStatic CXabsl2DlgBar::m_ParameterStatic

Definition at line 40 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), and OnSelchangeXabsl2OptionsCombo().

CButton CXabsl2DlgBar::m_SendButton

Definition at line 39 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange().

CButton CXabsl2DlgBar::m_testHeadControlCheck

Definition at line 37 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), and sendDebugRequest().

CButton CXabsl2DlgBar::m_TestOnRobotCheck

Definition at line 38 of file Xabsl2DlgBar.h.

Referenced by DoDataExchange(), and sendDebugRequest().

CFont CXabsl2DlgBar::normalFont [private]

Definition at line 235 of file Xabsl2DlgBar.h.

Referenced by createFonts(), and deleteFonts().

int CXabsl2DlgBar::numberOfActiveOptions [private]

Definition at line 151 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CArray<int,int> CXabsl2DlgBar::numberOfBasicBehaviorParameters [private]

Definition at line 141 of file Xabsl2DlgBar.h.

Referenced by clear(), enableButtons(), OnSelchangeXabsl2OptionsCombo(), reload(), and sendDebugRequest().

int CXabsl2DlgBar::numberOfBasicBehaviors [private]

Definition at line 116 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OptionsCombo(), reload(), and ~CXabsl2DlgBar().

int CXabsl2DlgBar::numberOfInputSymbols [private]

Definition at line 113 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), OnContextMenu(), OnPaint(), reload(), and sendDebugRequest().

int CXabsl2DlgBar::numberOfLines [private]

The number of lines (calculated in OnSize)

Definition at line 175 of file Xabsl2DlgBar.h.

Referenced by OnPaint(), and OnSize().

CArray<int,int> CXabsl2DlgBar::numberOfOptionParameters [private]

Definition at line 137 of file Xabsl2DlgBar.h.

Referenced by clear(), enableButtons(), OnSelchangeXabsl2OptionsCombo(), reload(), and sendDebugRequest().

int CXabsl2DlgBar::numberOfOptions [private]

Definition at line 115 of file Xabsl2DlgBar.h.

Referenced by clear(), enableButtons(), OnSelchangeXabsl2OptionsCombo(), reload(), sendDebugRequest(), and ~CXabsl2DlgBar().

CArray<int,int> CXabsl2DlgBar::numberOfOutputSymbolAlternatives [private]

Definition at line 132 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OutputSymbolCombo(), and reload().

int CXabsl2DlgBar::numberOfOutputSymbols [private]

Definition at line 114 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), OnContextMenu(), OnPaint(), reload(), sendDebugRequest(), and ~CXabsl2DlgBar().

int CXabsl2DlgBar::numberOfShownInputAndOutputSymbols [private]

Definition at line 118 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), OnContextMenu(), OnPaint(), and reload().

int CXabsl2DlgBar::numberOfShownInputSymbols [private]

Definition at line 119 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), and sendDebugRequest().

int CXabsl2DlgBar::numberOfShownOutputSymbols [private]

Definition at line 120 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), and sendDebugRequest().

CBitmap* CXabsl2DlgBar::oldBitmap [protected]

The old bitmap that is selected by dcOffScreen at the end to enable the destruction of bmpOffScreen.

Definition at line 80 of file Xabsl2DlgBar.h.

Referenced by CXabsl2DlgBar(), OnSize(), and ~CXabsl2DlgBar().

CFont* CXabsl2DlgBar::oldFont [private]

The old font is selected to the dcOffScreen at the end to enable the destruction of the fonts created by create fonts.

Definition at line 232 of file Xabsl2DlgBar.h.

Referenced by createFonts(), and deleteFonts().

CStringArray CXabsl2DlgBar::optionName [private]

Definition at line 136 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OptionsCombo(), reload(), and sendDebugRequest().

CArray<CStringArray*,CStringArray*> CXabsl2DlgBar::optionParameterNames [private]

Definition at line 138 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OptionsCombo(), reload(), sendDebugRequest(), and ~CXabsl2DlgBar().

CArray<CStringArray*,CStringArray*> CXabsl2DlgBar::outputSymbolAlternatives [private]

Definition at line 133 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OutputSymbolCombo(), reload(), sendDebugRequest(), and ~CXabsl2DlgBar().

CMapStringToInt CXabsl2DlgBar::outputSymbolIndex [private]

Definition at line 111 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and reload().

CStringArray CXabsl2DlgBar::outputSymbolName [private]

Definition at line 128 of file Xabsl2DlgBar.h.

Referenced by clear(), OnContextMenu(), OnPaint(), reload(), and sendDebugRequest().

CStringArray CXabsl2DlgBar::outputSymbolValue [private]

Definition at line 129 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnPaint(), and reload().

CRect CXabsl2DlgBar::paintRect [protected]

the rectangle in the dialog for painting

Definition at line 66 of file Xabsl2DlgBar.h.

Referenced by OnPaint(), and OnSize().

CString CXabsl2DlgBar::selectedAgentName [private]

Definition at line 149 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), and OnPaint().

CString CXabsl2DlgBar::selectedBehaviorControlName [private]

Definition at line 148 of file Xabsl2DlgBar.h.

Referenced by clear(), handleMessage(), OnContextMenu(), OnPaint(), OnSelchangeXabsl2OptionsCombo(), reload(), and sendDebugRequest().

CArray<int,int> CXabsl2DlgBar::selectedOutputSymbolAlternative [private]

Definition at line 134 of file Xabsl2DlgBar.h.

Referenced by clear(), OnSelchangeXabsl2OutputSymbolCombo(), OnSelchangeXabsl2OutputSymbolValueCombo(), reload(), and sendDebugRequest().

CArray<bool,bool> CXabsl2DlgBar::showInputSymbol [private]

Definition at line 126 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), OnContextMenu(), OnPaint(), reload(), and sendDebugRequest().

CArray<bool,bool> CXabsl2DlgBar::showOutputSymbol [private]

Definition at line 130 of file Xabsl2DlgBar.h.

Referenced by clear(), countNumberOfShownInputAndOutputSymbols(), OnContextMenu(), OnPaint(), reload(), and sendDebugRequest().

CArray<InputSymbolType,InputSymbolType> CXabsl2DlgBar::typeOfInputSymbol [private]

Definition at line 125 of file Xabsl2DlgBar.h.

Referenced by clear(), reload(), and sendDebugRequest().

CArray<VerticalLine,VerticalLine> CXabsl2DlgBar::verticalLineList [private]

Definition at line 212 of file Xabsl2DlgBar.h.

Referenced by drawVerticalLines(), and OnPaint().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:27:18 2006 for DT2005.panorama by  doxygen 1.4.7