#include <busconsoleplugin.h>

Definition at line 14 of file busconsoleplugin.h.
| void BusConsolePlugin::CoreInit | ( | const BCore * | core | ) | [virtual] |
Called by BCore Initialize - Sets variables, loads classes for message bus, and loads saved settings.
Implements CoreInterface.
Definition at line 41 of file busconsoleplugin.cpp.
References bcore, BusConsoleDlog, and LoadSettings().

| void BusConsolePlugin::SaveSettings | ( | ) | [virtual] |
Saves state of all dialogs and any other settings this plugin needs.
Implements CoreInterface.
Definition at line 55 of file busconsoleplugin.cpp.
References QList::at(), bcore, BusConsoleDlog, QMap::keys(), Modules, BCore::settings, BBoB_Settings::setValue(), and QList::size().

| void BusConsolePlugin::LoadSettings | ( | ) |
Loads state of all dialogs and any other settings this plugin needs.
Definition at line 74 of file busconsoleplugin.cpp.
References bcore, commands(), getDock(), BBoB_Settings::getValue(), BCore::settings, and QVariant::toBool().
Referenced by CoreInit().

| void BusConsolePlugin::Module | ( | const QString | name, | |
| const QStringList | params | |||
| ) | [virtual] |
Implements CoreInterface.
Definition at line 5 of file busconsoleplugin.cpp.
References QMap::contains(), and Modules.
Referenced by getDock().

| BBoB_Channel * BusConsolePlugin::ChannelPointer | ( | QString | mod, | |
| QString | input | |||
| ) | const [virtual] |
Implements CoreInterface.
Definition at line 3 of file busconsoleplugin-module.cpp.
References QMap::contains(), and Modules.

| BBoB_Module * BusConsolePlugin::ModulePointer | ( | const QString | mod | ) | const [virtual] |
Implements CoreInterface.
Definition at line 59 of file busconsoleplugin-module.cpp.
References QMap::contains(), Modules, and QMap::value().
Referenced by getDock().

| QStringList BusConsolePlugin::ModuleList | ( | ) | const [virtual] |
Implements CoreInterface.
Definition at line 54 of file busconsoleplugin-module.cpp.
References QMap::keys(), and Modules.

Implements CoreInterface.
Definition at line 21 of file busconsoleplugin-module.cpp.
References QMap::contains(), and Modules.

Implements CoreInterface.
Definition at line 31 of file busconsoleplugin-module.cpp.
References Channel_Dir_In, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

Implements CoreInterface.
Definition at line 43 of file busconsoleplugin-module.cpp.
References Channel_Dir_Out, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

| void BusConsolePlugin::saveChannels | ( | ) |
Definition at line 12 of file busconsoleplugin-module.cpp.
References QList::at(), bcore, QMap::keys(), Modules, BCore::settings, and QList::size().

| bool BusConsolePlugin::loadBus | ( | const int | ID | ) | [virtual] |
Initialize BusID.
Implements MessageBusInterface.
Definition at line 128 of file busconsoleplugin.cpp.
References MyID, and QByteArray::setNum().

| QString BusConsolePlugin::BusName | ( | ) | [virtual] |
Returns the name of this bus.
Implements MessageBusInterface.
Definition at line 139 of file busconsoleplugin.cpp.
| void BusConsolePlugin::BitBus | ( | const int | FromID, | |
| const int | bit | |||
| ) | [virtual] |
Receives bus data.
Implements MessageBusInterface.
Definition at line 146 of file busconsoleplugin.cpp.
References Modules, remote_data(), and QByteArray::setNum().
Referenced by getDock(), and Input().

| void BusConsolePlugin::ByteBus | ( | const int | FromID, | |
| const int | byte | |||
| ) | [virtual] |
Receives bus data.
Implements MessageBusInterface.
Definition at line 157 of file busconsoleplugin.cpp.
References Modules, remote_data(), and QByteArray::setNum().
Referenced by getDock(), and Input().

| void BusConsolePlugin::StringBus | ( | const int | FromID, | |
| const QString | str | |||
| ) | [virtual] |
Receives bus data.
Implements MessageBusInterface.
Definition at line 167 of file busconsoleplugin.cpp.
References Modules, and remote_data().
Referenced by getDock(), and Input().

| void BusConsolePlugin::remote_data | ( | int | ID, | |
| QString | data | |||
| ) |
Receives remote command string and process.
Definition at line 176 of file busconsoleplugin.cpp.
References bcore, BusConsoleDlog, BCore::BusName(), BusConsoleDialog::SetData(), BusConsoleDialog::SetID(), and QByteArray::setNum().
Referenced by BitBus(), ByteBus(), and StringBus().

Receives remote channel string and process.
Definition at line 186 of file busconsoleplugin.cpp.
References BusConsoleDlog, BusConsoleDialog::SetData(), and BusConsoleDialog::SetID().
Referenced by Input().
Definition at line 23 of file busconsoleplugin.cpp.
References BitBus(), ByteBus(), MyID, remote_channel(), StringBus(), and QString::toInt().

| QStringList BusConsolePlugin::commands | ( | ) | const [virtual] |
List of menu commands - Text shown in menu and in dock titlebar.
Implements DisplayInterface.
Definition at line 85 of file busconsoleplugin.cpp.
References QObject::tr().
Referenced by getDock(), and LoadSettings().

| QDockWidget * BusConsolePlugin::getDock | ( | const QString & | command | ) | [virtual] |
Displayable widget - Creates Dialog and connects signals/slots. Then creates QDockWidget so dock options can be set, then it's passed to BCore which can pass to the MainWindow.
Implements DisplayInterface.
Definition at line 94 of file busconsoleplugin.cpp.
References BCore::addDock(), bcore, BitBus(), BusConsoleDlog, BCore::BusName(), ByteBus(), commands(), DlogIdChanged(), BusConsoleDialog::getDestID(), Module(), ModulePointer(), MyID, BusConsoleDialog::SetIDname(), QDockWidget::setWidget(), and StringBus().
Referenced by LoadSettings().

| QWidget* BusConsolePlugin::getConfig | ( | ) | [inline, virtual] |
| void BusConsolePlugin::DlogIdChanged | ( | int | ID | ) | [private, slot] |
Gets the name of a Bus ID and sets the name in the dialog.
Definition at line 194 of file busconsoleplugin.cpp.
References bcore, BusConsoleDlog, BCore::BusName(), and BusConsoleDialog::SetIDname().
Referenced by getDock().
BusConsoleDialog* BusConsolePlugin::BusConsoleDlog [private] |
Definition at line 21 of file busconsoleplugin.h.
Referenced by CoreInit(), DlogIdChanged(), getDock(), remote_channel(), remote_data(), and SaveSettings().
Definition at line 37 of file busconsoleplugin.h.
Referenced by BitBus(), ByteBus(), ChannelPointer(), Module(), ModuleInputs(), ModuleList(), ModuleOutputs(), ModuleParams(), ModulePointer(), saveChannels(), SaveSettings(), and StringBus().
Definition at line 40 of file busconsoleplugin.h.
Referenced by CoreInit(), DlogIdChanged(), getDock(), LoadSettings(), remote_data(), saveChannels(), and SaveSettings().
1.5.3