#include <rpn_handler.h>
Public Member Functions | |
| RpnHandler (VirtualBoardChannel *parent, const char *expression_def) | |
| ~RpnHandler (void) | |
| bool | Parse (const char *expression_def) |
| const char * | Format (void) |
| bool | Test (void) |
| bool | Eval (double &result) |
| unsigned int | GetBufferCount (void) |
Protected Member Functions | |
| bool | DoEval (double *p_result) |
Protected Attributes | |
| RpnItem * | m_rpn_items_array |
| RpnItem * | m_tmp_rpn_items_array |
| int | m_rpn_array_alloc_size |
| int | m_rpn_array_real_size |
| char * | m_expression_def |
| VirtualBoardChannel * | m_parent |
| int | m_ref_channel_index |
Definition at line 72 of file rpn_handler.h.
|
||||||||||||
|
Definition at line 29 of file rpn_handler.cpp. References m_expression_def, m_parent, m_ref_channel_index, m_rpn_array_alloc_size, m_rpn_array_real_size, m_rpn_items_array, m_tmp_rpn_items_array, and Parse(). Referenced by VirtualChannelDefDialog::OnVchDefOkButtonClick(), and VirtualChannelDefDialog::OnVchDefTestButtonClick(). |
|
|
Definition at line 41 of file rpn_handler.cpp. References m_expression_def, m_rpn_items_array, and m_tmp_rpn_items_array. |
|
|
Definition at line 154 of file rpn_handler.cpp. References m_rpn_array_real_size, RPN_OPERAND_CH0, RPN_OPERAND_CH1, RPN_OPERAND_CH2, RPN_OPERAND_CH3, RPN_OPERAND_CH4, RPN_OPERAND_CH5, RPN_OPERAND_CH6, RPN_OPERAND_CH7, RPN_OPERAND_CONST, RPN_OPERATOR_ADD, RPN_OPERATOR_DIV, RPN_OPERATOR_MUL, and RPN_OPERATOR_SUB. |
|
|
Definition at line 150 of file rpn_handler.cpp. References DoEval(). |
|
|
Definition at line 139 of file rpn_handler.cpp. References m_expression_def. Referenced by VirtualBoardChannel::GetExpressionDef(), and VirtualChannelDefDialog::OnVchDefAddConstantButtonClick(). |
|
|
Definition at line 331 of file rpn_handler.cpp. Referenced by VirtualBoardChannel::GetBufferCount(). |
|
|
Definition at line 52 of file rpn_handler.cpp. References m_expression_def, RpnItem::m_processed, m_ref_channel_index, m_rpn_array_alloc_size, m_rpn_array_real_size, m_rpn_items_array, RpnItem::m_type, RPN_OPERAND_CH0, RPN_OPERAND_CH1, RPN_OPERAND_CH2, RPN_OPERAND_CH3, RPN_OPERAND_CH4, RPN_OPERAND_CH5, RPN_OPERAND_CH6, RPN_OPERAND_CH7, RPN_OPERAND_CONST, and RpnTypesNames. Referenced by RpnHandler(), and VirtualBoardChannel::SetExpressionDef(). |
|
|
Definition at line 143 of file rpn_handler.cpp. References DoEval(). Referenced by VirtualChannelDefDialog::OnVchDefOkButtonClick(), and VirtualChannelDefDialog::OnVchDefTestButtonClick(). |
|
|
Definition at line 88 of file rpn_handler.h. Referenced by Format(), Parse(), RpnHandler(), and ~RpnHandler(). |
|
|
Definition at line 90 of file rpn_handler.h. Referenced by RpnHandler(). |
|
|
Definition at line 91 of file rpn_handler.h. Referenced by Parse(), and RpnHandler(). |
|
|
Definition at line 86 of file rpn_handler.h. Referenced by Parse(), and RpnHandler(). |
|
|
Definition at line 87 of file rpn_handler.h. Referenced by DoEval(), Parse(), and RpnHandler(). |
|
|
Definition at line 84 of file rpn_handler.h. Referenced by Parse(), RpnHandler(), and ~RpnHandler(). |
|
|
Definition at line 85 of file rpn_handler.h. Referenced by RpnHandler(), and ~RpnHandler(). |
1.4.6-NO