Class UmlCom

This class manages the communications

This class may be defined as a 'singleton', but I prefer to use static
members allowing to just write 'UmlCom::member' rather than
'UmlCom::instance()->member' or other long sentence like this.

The operation you can use yourself are :

- connect()

- targetItem()

- trace()

- showTrace()

- traceAutoRaise()

- message()

- bye()

- close()

you must NOT call the others

Declaration :

Artifact : UmlCom

Operation connect

does the connexion

On error return FALSE in C++, produce a RuntimeException in Java

Declaration :

Operation targetItem

returns the item on which the tool is applied

Declaration :

Operation trace

to write messages in the tool window,
use Qt rich text : allows HTML like formatting

Declaration :

Operation showTrace

to show the trace window

Declaration :

Operation traceAutoRaise

to automatically raise the trace window
each time trace() is called

Declaration :

Operation message

to write a message in the status bar line
does not use Qt rich text

Declaration :

Operation bye

must be called just before the disconnexion

Declaration :

Operation close

disconnexion

Declaration :

Attribute sock

Declaration :

Attribute is

Declaration :

Attribute os

Declaration :

Attribute buffer_in

Declaration :

Attribute buffer_in_size

Declaration :

Attribute p_buffer_in

Declaration :

Attribute buffer_in_end

Declaration :

Attribute buffer_out

Declaration :

Attribute p_buffer_out

Declaration :

Attribute buffer_out_size

Declaration :

Attribute id_size

Declaration :

Attribute empty_string

Declaration :

Extra Class Member initialization

Definition :

Operation check_size_out

internal, do NOT use it

Declaration :

Operation read_if_needed

internal, do NOT use it

Declaration :

Operation read_buffer

internal, do NOT use it

Declaration :

Operation write_bool

internal, do NOT use it

Declaration :

Operation write_char

internal, do NOT use it

Declaration :

Operation write_unsigned

internal, do NOT use it

Declaration :

Operation write_id

internal, do NOT use it

Declaration :

Operation write_string

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation send_cmd

Declaration :

Operation send_cmd

internal, do NOT use it

Declaration :

Operation read_id

internal, do NOT use it

Declaration :

Operation read_string

internal, do NOT use it

Declaration :

Operation read_bool

internal, do NOT use it

Declaration :

Operation read_char

internal, do NOT use it

Declaration :

Operation read_unsigned

internal, do NOT use it

Declaration :

Operation read_item_list

internal, do NOT use it

Declaration :

Operation fatal_error

internal, do NOT use it

Declaration :

Operation flush

internal, do NOT use it

Declaration :

Operation check

internal, do NOT use it

Declaration :

All public operations : bye , check , close , connect , fatal_error , flush , message , read_bool , read_char , read_id , read_item_list , read_string , read_unsigned , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , send_cmd , showTrace , targetItem , trace , traceAutoRaise