RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Connector::Panel Class Reference

#include <connector.h>

Inheritance diagram for Connector::Panel:
Event::Handler

Classes

struct  link_t
 

Public Member Functions

 Panel (QWidget *)
 
 ~Panel (void)
 
void receiveEvent (const Event::Object *)
 

Private Slots

void buildInputChannelList (void)
 
void buildOutputChannelList (void)
 
void highlightConnectionBox (QListWidgetItem *)
 
void toggleConnection (bool)
 
void updateConnectionButton (void)
 

Static Private Member Functions

static void buildConnectionList (IO::Block *, size_t, IO::Block *, size_t, void *)
 

Private Attributes

QMdiSubWindow * subWindow
 
QGroupBox * connectionGroup
 
QGroupBox * buttonGroup
 
QGroupBox * outputGroup
 
QGroupBox * inputGroup
 
QComboBox * inputBlock
 
QComboBox * inputChannel
 
QComboBox * outputBlock
 
QComboBox * outputChannel
 
QListWidget * connectionBox
 
QPushButton * connectionButton
 
std::vector< IO::Block * > blocks
 
std::vector< link_tlinks
 

Additional Inherited Members

- Private Member Functions inherited from Event::Handler
 Handler (void)
 
virtual ~Handler (void)
 

Detailed Description

Definition at line 35 of file connector.h.

Constructor & Destructor Documentation

Connector::Panel::Panel(QWidget * parent)

Definition at line 39 of file connector.cpp.

Connector::Panel::~Panel(void )

Definition at line 160 of file connector.cpp.

Member Function Documentation

void Connector::Panel::buildConnectionList(IO::Blocksrc,
size_t src_num,
IO::Blockdest,
size_t dest_num,
void * arg 
)
staticprivate

Definition at line 367 of file connector.cpp.

void Connector::Panel::buildInputChannelList(void )
privateslot

Definition at line 241 of file connector.cpp.

void Connector::Panel::buildOutputChannelList(void )
privateslot

Definition at line 257 of file connector.cpp.

void Connector::Panel::highlightConnectionBox(QListWidgetItem * item)
privateslot

Definition at line 273 of file connector.cpp.

void Connector::Panel::receiveEvent(const Event::Objectevent)
virtual

Function that is called in non-realtime everytime an non-realtime event is posted.

Parameters
eventThe the event being posted.
See also
Event::Object
Event::Manager::postEvent()

Reimplemented from Event::Handler.

Definition at line 165 of file connector.cpp.

void Connector::Panel::toggleConnection(bool on)
privateslot

Definition at line 332 of file connector.cpp.

void Connector::Panel::updateConnectionButton(void )
privateslot

Definition at line 348 of file connector.cpp.

Member Data Documentation

std::vector<IO::Block *> Connector::Panel::blocks
private

Definition at line 74 of file connector.h.

QGroupBox* Connector::Panel::buttonGroup
private

Definition at line 65 of file connector.h.

QListWidget* Connector::Panel::connectionBox
private

Definition at line 72 of file connector.h.

QPushButton* Connector::Panel::connectionButton
private

Definition at line 73 of file connector.h.

QGroupBox* Connector::Panel::connectionGroup
private

Definition at line 64 of file connector.h.

QComboBox* Connector::Panel::inputBlock
private

Definition at line 68 of file connector.h.

QComboBox* Connector::Panel::inputChannel
private

Definition at line 69 of file connector.h.

QGroupBox* Connector::Panel::inputGroup
private

Definition at line 67 of file connector.h.

std::vector<link_t> Connector::Panel::links
private

Definition at line 75 of file connector.h.

QComboBox* Connector::Panel::outputBlock
private

Definition at line 70 of file connector.h.

QComboBox* Connector::Panel::outputChannel
private

Definition at line 71 of file connector.h.

QGroupBox* Connector::Panel::outputGroup
private

Definition at line 66 of file connector.h.

QMdiSubWindow* Connector::Panel::subWindow
private

Definition at line 62 of file connector.h.


The documentation for this class was generated from the following files: