Core

class bci_framework.framework.core.BCIFramework(*args, **kwargs)[source]
build_collapse_button() None[source]

Custom collapsible widgets area.

connect() None[source]

Connect events.

kafka_message() None[source]

Error on kafka.

kafka_produser_connected() None[source]

If produser connected is posible the consumer too.

keep_updated() None[source]

The status is update each 3 seconds.

load_fonts() None[source]

Load custom fonts.

on_kafka_event(value: bci_framework.framework.core.KafkaMessage) None[source]

Register annotations and markers.

save_subprocess() None[source]

Save in a file all the child subprocess.

set_dock_collapsed(collapsed: bool) None[source]

Collapse widgets area.

set_editor() None[source]

Change some styles.

set_icons() None[source]

The Qt resource system has been deprecated.

show_about(*args, **wargs) None[source]

Display about window.

show_configurations(*args, **kwargs) None[source]

Show configuration window.

show_interface(interface: str, sub_widget: Optional[int] = None) None[source]

Switch between environs.

show_widget(index: int) None[source]

Call on_focus method for all widgets.

status_bar(message: Optional[str] = None, right_message: Optional[str] = None) None[source]

Update messages for status bar.

stop_kafka() None[source]

Stop kafka.

style_home_page() None[source]

Set the styles for home page.

update_kafka(host: bci_framework.framework.core.HostLike) None[source]

Try to restart kafka services.

class bci_framework.framework.core.ClockOffset[source]
set_host(host: bci_framework.framework.core.HostLike) None[source]

Set the host for kafka.

class bci_framework.framework.core.Kafka[source]
create_consumer() None[source]

Basic consumer to check stream status and availability.

create_produser() None[source]

The produser is used for stream annotations and markers.

run() None[source]

Start the produser and consumer for Kafka.

set_host(host: bci_framework.framework.core.HostLike) None[source]

Set the host for kafka.

stop() None[source]

Kill the thread.