1 #ifndef SAIPROBEVISUALIZATION_HXX
2 #define SAIPROBEVISUALIZATION_HXX
4 #ifndef _GLIBCXX_CCTYPE
7 #ifndef _GLIBCXX_VECTOR
10 #ifndef AWT_CANVAS_HXX
16 #define sai_assert(cond) arb_assert(cond)
18 #define AWAR_SPV_SAI_2_PROBE "sai_visualize/sai_2_probe"
19 #define AWAR_SPV_DISP_SAI "sai_visualize/disp_sai"
20 #define AWAR_SPV_SAI_COLOR "sai_visualize/probeSai/color_0"
22 #define AWAR_SPV_DB_FIELD_NAME "sai_visualize/db_field_name"
23 #define AWAR_SPV_DB_FIELD_WIDTH "sai_visualize/db_field_width"
24 #define AWAR_SPV_ACI_COMMAND "sai_visualize/aci_command"
25 #define AWAR_SPV_SELECTED_PROBE "sai_visualize/selected_probe"
27 #define SAI_CLR_COUNT 10
65 return probeTarget.c_str();
68 return probeTarget.length();
75 unsigned int len = strlen(target);
77 for (
unsigned int i = 0; i < len; i++) {
78 temp[i] = toupper(target[i]);
98 void show(AW_device *device) OVERRIDE;
100 void paint(AW_device *device);
108 #error SaiProbeVisualization.hxx included twice
void paint(AW_device *device)
return string(buffer, length)
std::vector< std::string > probeSeq
const char * getProbeTarget() const
size_t getProbeTargetLen() const
SAI_graphic(AW_root *aw_root, GBDATA *gb_main)
void setHeadline(const char *hline)
const char * getHeadline() const
AW_gc_manager * init_devices(AW_window *, AW_device *, AWT_canvas *scr) OVERRIDE
void show(AW_device *device) OVERRIDE
std::vector< std::string > probeSpecies
void handle_command(AW_device *device, AWT_graphic_event &event) OVERRIDE
AW_window * createSaiProbeMatchWindow(AW_root *awr, GBDATA *gb_main)
void setProbeTarget(const char *target)
void transferProbeData(saiProbeData *spd)