#include <MutRouteWnd.h>

Klassen | |
| struct | MurFileDataType |
Öffentliche Methoden | |
| MutRouteWnd (wxWindow *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
| void | InitShapes () |
| fills the window with the corresponding shapes. | |
| void | InitDevices () |
| void | ClearDevices () |
| bool | AddInputDevice (MutInputDeviceShape *device, const wxSizerFlags &flags) |
| Adds an input device shape. | |
| void | ClearInputDevices () |
| Clears all input device shapes. | |
| bool | AddOutputDevice (MutOutputDeviceShape *device, const wxSizerFlags &flags) |
| Adds an output device shape. | |
| void | ClearOutputDevices () |
| Clears all output device shapes. | |
| bool | AddBox (MutBoxShape *box, const wxSizerFlags &flags) |
| Adds a box shape. | |
| void | ClearBoxes () |
| Clears all box shapes. | |
| wxSizer * | GetInputDevices () const |
| wxSizer * | GetBoxes () const |
| wxSizer * | GetOutputDevices () const |
| virtual void | OnDraw (wxDC &dc) |
Öffentliche, statische Methoden | |
| static void | CmRouteLoad (wxCommandEvent &event) |
| interactive route loading | |
| static void | CmRouteSave (wxCommandEvent &event) |
| save routes to disk. | |
| static void | CmRouteSaveAs (wxCommandEvent &event) |
| save routes with a new file name | |
Private Methoden | |
| void | createInputDevices (wxSizerFlags flags) |
| void | createBoxes (wxSizerFlags flags) |
| void | createOutputDevices (wxSizerFlags flags) |
Private Attribute | |
| int | spacex |
| int | spacey |
| int | x1 |
| int | x2 |
| int | x3 |
| int | x4 |
| int | x5 |
| wxIcon * | DevIcon [4] |
| wxBitmap * | ConIcon [4] |
| wxIcon * | PlopIcon [4] |
| wxSizer * | InputSizer |
| wxSizer * | OutputSizer |
| wxSizer * | BoxSizer |
| MutDeviceShapeList | InputDevices |
| MutDeviceShapeList | OutputDevices |
| MutBoxShape * | BoxPTRs [MAX_BOX] |
| MutBoxShapeList | Boxes |
Statische private Attribute | |
| static MurFileDataType | MurFileData |
Definiert in Zeile 37 der Datei MutRouteWnd.h.
| bool MutRouteWnd::AddBox | ( | MutBoxShape * | box, |
| const wxSizerFlags & | flags | ||
| ) | [inline] |
Adds a box shape.
| box | (MutInputDeviceShape *) box to be added |
| flags | (wxSizerFlages &) Sizer flags, which shall be applied |
Definiert in Zeile 148 der Datei MutRouteWnd.h.
Wird benutzt von createBoxes() und NewMutBoxShape::replaceSelfBy().
| bool MutRouteWnd::AddInputDevice | ( | MutInputDeviceShape * | device, |
| const wxSizerFlags & | flags | ||
| ) | [inline] |
Adds an input device shape.
| device | (MutInputDeviceShape *) device to be added |
| flags | (wxSizerFlages &) Sizer flags, which shall be applied |
Definiert in Zeile 115 der Datei MutRouteWnd.h.
Benutzt InputSizer.
Wird benutzt von MutNewInputDeviceShape::replaceSelfBy().
{
wxASSERT(InputSizer);
InputSizer -> Add(device,flags);
Layout();
FitInside();
SetVirtualSize(wxDefaultSize);
return true;
}
| bool MutRouteWnd::AddOutputDevice | ( | MutOutputDeviceShape * | device, |
| const wxSizerFlags & | flags | ||
| ) | [inline] |
Adds an output device shape.
| device | (MutInputDeviceShape *) device to be added |
| flags | (wxSizerFlages &) Sizer flags, which shall be applied |
Definiert in Zeile 132 der Datei MutRouteWnd.h.
Benutzt OutputSizer.
Wird benutzt von MutNewOutputDeviceShape::replaceSelfBy().
{
wxASSERT(OutputSizer);
OutputSizer -> Add(device, flags);
Layout();
FitInside();
SetVirtualSize(wxDefaultSize);
return true;
}
| wxSizer* MutRouteWnd::GetBoxes | ( | ) | const [inline] |
Definiert in Zeile 166 der Datei MutRouteWnd.h.
Benutzt BoxSizer.
Wird benutzt von MutBoxChannelShape::InitializeRoute().
{
return BoxSizer;
}
| wxSizer* MutRouteWnd::GetInputDevices | ( | ) | const [inline] |
Definiert in Zeile 161 der Datei MutRouteWnd.h.
Benutzt InputSizer.
Wird benutzt von MutBoxChannelShape::InitializeInputFilter().
{
return InputSizer;
}
| wxSizer* MutRouteWnd::GetOutputDevices | ( | ) | const [inline] |
Definiert in Zeile 171 der Datei MutRouteWnd.h.
Benutzt OutputSizer.
Wird benutzt von MutBoxChannelShape::InitializeOutputFilter().
{
return OutputSizer;
}
MutBoxShapeList MutRouteWnd::Boxes [private] |
Definiert in Zeile 62 der Datei MutRouteWnd.h.
Wird benutzt von AddBox(), ClearBoxes(), createOutputDevices() und InitShapes().
MutBoxShape* MutRouteWnd::BoxPTRs[MAX_BOX] [private] |
Definiert in Zeile 61 der Datei MutRouteWnd.h.
Wird benutzt von createBoxes().
wxSizer* MutRouteWnd::BoxSizer [private] |
Definiert in Zeile 58 der Datei MutRouteWnd.h.
Wird benutzt von AddBox(), ClearBoxes(), createBoxes(), GetBoxes() und OnDraw().
wxBitmap* MutRouteWnd::ConIcon[4] [private] |
Definiert in Zeile 54 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
wxIcon* MutRouteWnd::DevIcon[4] [private] |
Definiert in Zeile 53 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
MutDeviceShapeList MutRouteWnd::InputDevices [private] |
Definiert in Zeile 59 der Datei MutRouteWnd.h.
Wird benutzt von ClearInputDevices(), createBoxes(), createInputDevices() und InitShapes().
wxSizer* MutRouteWnd::InputSizer [private] |
Definiert in Zeile 56 der Datei MutRouteWnd.h.
Wird benutzt von AddInputDevice(), ClearInputDevices(), createInputDevices() und GetInputDevices().
MutDeviceShapeList MutRouteWnd::OutputDevices [private] |
Definiert in Zeile 59 der Datei MutRouteWnd.h.
Wird benutzt von ClearOutputDevices(), createOutputDevices() und InitShapes().
wxSizer* MutRouteWnd::OutputSizer [private] |
Definiert in Zeile 57 der Datei MutRouteWnd.h.
Wird benutzt von AddOutputDevice(), ClearOutputDevices(), createOutputDevices() und GetOutputDevices().
wxIcon* MutRouteWnd::PlopIcon[4] [private] |
Definiert in Zeile 55 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
int MutRouteWnd::spacex [private] |
Definiert in Zeile 51 der Datei MutRouteWnd.h.
int MutRouteWnd::spacey [private] |
Definiert in Zeile 51 der Datei MutRouteWnd.h.
int MutRouteWnd::x1 [private] |
Definiert in Zeile 52 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
int MutRouteWnd::x2 [private] |
Definiert in Zeile 52 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
int MutRouteWnd::x3 [private] |
Definiert in Zeile 52 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
int MutRouteWnd::x4 [private] |
Definiert in Zeile 52 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
int MutRouteWnd::x5 [private] |
Definiert in Zeile 52 der Datei MutRouteWnd.h.
Wird benutzt von OnDraw().
1.7.4