gtkIOStream
1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
|
#include <JackPortMonitorGui.H>
Public Member Functions | |
virtual | ~JackBaseWithPortNamesGui () |
Destructor. More... | |
void | reSyncPortGui (void) |
virtual bool | dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length) |
Public Member Functions inherited from JackBaseWithPortNames | |
void | findInputConnections () |
Public Member Functions inherited from JackBase | |
JackBase () | |
JackBase (string clientName_) | |
JackBase (string clientName_, string serverName) | |
virtual | ~JackBase () |
Destructor. More... | |
virtual int | stopClient (void) |
virtual int | disconnect (void) |
int | getSampleRate (void) const |
virtual int | createPorts (string inName, int inCnt, string outName, int outCnt) |
virtual int | destroyPorts () |
void | getPhysicalPorts (vector< jack_port_t *> &inPorts, vector< jack_port_t *> &outPorts) |
void | getPhysicalPortCount (int &in, int &out) |
bool | connected () |
virtual int | connect (string clientName_) |
virtual int | connect (const string &clientName_, const string &serverName) |
virtual void | print (ostream &os) |
string | getClientName () |
virtual void | setClientName (string cn) |
string | portNameFromPort (jack_port_id_t p) |
string | portNameFromPort (jack_port_t *p) |
string | clientNameFromPort (jack_port_id_t p) |
string | clientNameFromPort (jack_port_t *p) |
string | clientNameFromPortName (string fullPortName) |
string | clientNameFromPortNames (string fullPortName, string shortPortName) |
string | shortPortNameFromPortName (const string fullPortName) |
bool | operator== (const string &cn) |
int | getInputPortSize () |
jack_port_t * | getInputPort (int i) |
jack_port_t * | getOutputPort (int i) |
void | addInputPort (jack_port_t *inP) |
void | addOutputPort (jack_port_t *outP) |
int | populatInOutPorts (const string &inName, vector< string > &inPorts, const string &outName, vector< string > &outPorts) |
int | connectPorts (const string inName, const string outName) |
virtual int | disconnectPorts (const string &inName, const string &outName) |
void | setClient (jack_client_t *c) |
Public Member Functions inherited from EventBox | |
EventBox (void) | |
void | setBackgroundColour (GdkColor *colour, GtkStateType state=GTK_STATE_NORMAL) |
void | setBackgroundColour (const char *colourName, GtkStateType state=GTK_STATE_NORMAL) |
void | setAboveChild (bool aboveChild) |
void | setVisibleWindow (bool visible) |
Public Member Functions inherited from Box | |
Box (void) | |
constructor More... | |
Box & | operator<< (BoxIS bis) |
destructor destroys the widget to neatly cleanup. More... | |
Box & | operator<< (Box &b) |
Box & | operator<< (int val) |
Box & | operator<< (Box *b) |
Box & | operator<< (Container &b) |
Box & | operator<< (Container *b) |
Box & | operator<< (GtkWidget *b) |
Box & | operator<< (Widget *w) |
Box & | operator<< (Widget &w) |
Box & | operator<< (LinkList< GtkWidget *> &ll) |
Box & | operator>> (GtkWidget *b) |
Box & | operator>> (Container *b) |
Box & | operator>> (Container &b) |
Box & | operator= (const Box b) |
Public Member Functions inherited from BoxIS | |
BoxIS (void) | |
BoxIS (bool expandIn, bool fillIn) | |
BoxIS (bool expandIn, bool fillIn, bool startIn) | |
void | reset (void) |
void | setDefaultStart (bool startIn) |
void | setDefaultExpand (bool expandIn) |
void | setDefaultFill (bool fillIn) |
BoxIS & | operator= (BoxIS &bis) |
BoxIS & | operator= (const BoxIS bis) |
void | dump (void) |
Public Member Functions inherited from Container | |
void | setBorder (unsigned int size) |
unsigned int | getBorder (void) |
Container & | operator<< (Container &c) |
Container & | operator<< (Container *c) |
Container & | operator<< (Widget &w) |
Container & | operator<< (Widget *w) |
Container & | operator<< (LinkList< GtkWidget *> &ll) |
Container & | operator>> (GtkWidget *w) |
Container & | operator>> (Container *c) |
Container & | operator>> (Container &c) |
Container & | operator>> (LinkList< GtkWidget *> &ll) |
void | setChildrensSensitivity (bool sens) |
bool | areAnyChildrensSensitive (void) |
unsigned int | size () |
Public Member Functions inherited from Widget | |
Widget () | |
Construcotr. More... | |
Widget (GtkWidget *w) | |
virtual | ~Widget () |
Destructor. More... | |
GtkWidget * | ref (void) |
void | unref (void) |
GtkWidget * | show (void) |
GtkWidget * | hide (void) |
bool | getVisible (void) |
GtkWidget * | getWidget (void) |
bool | getSensitive (void) |
void | setSensitive (bool sens) |
void | getSize (int &width, int &height) |
virtual void | setSize (int width, int height) |
void | getLocationSize (int &x, int &y, int &width, int &height) |
void | queueDraw () |
GdkWindow * | getWindow () |
void | connect (const char *event, GCallback callback, gpointer data) |
void | connectAfter (const char *event, GCallback callback, gpointer data) |
void | connectExposeEventCallback (GCallback callback, void *data) |
void | connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data) |
void | connectConfigureEventCallback (GCallback callback, void *data) |
void | connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data) |
Widget & | operator<< (DragNDrop &dnd) |
Widget & | operator>> (DragNDrop &dnd) |
Public Attributes | |
ClientIOGui | inputPortGui |
The input port gui. More... | |
ClientIOGui | outputPortGui |
The output port gui. More... | |
Public Attributes inherited from JackBaseWithPortNames | |
map< string, map< string, vector< string > > > | inputPortNamesAndConnections |
The input port names which map to a vector of the connected clients and each of their connected ports. More... | |
vector< string > | outputPortNames |
The output port names. More... | |
Public Attributes inherited from JackBase | |
bool | connect1To1 |
When true, then connections are made in a 1 to 1 manner. When False, then connections are made in an all to all manner. More... | |
Public Attributes inherited from BoxIS | |
bool | expand |
Set to expand the box contents. More... | |
bool | fill |
Set to fill the box. More... | |
bool | start |
Set to pack the start. More... | |
Private Member Functions | |
virtual int | chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd) |
Additional Inherited Members | |
Public Types inherited from Box | |
enum | { EXPAND =1, FILL =2, START =4, RESET =8, END =16, NOFILL =32, NOEXPAND =64 } |
Protected Member Functions inherited from JackBase | |
virtual void | determineLatencies () |
int | getPortListAndCount (JackPortFlags flags, vector< jack_port_t *> *ports, const char *portNamePattern, const char *typeNamePattern) |
int | getPortListAndCount (JackPortFlags flags, vector< string > *ports, const char *portNamePattern, const char *typeNamePattern) |
virtual void | reSyncPorts (void) |
virtual void | reSyncConnections (void) |
Protected Member Functions inherited from Widget | |
virtual bool | checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData) |
virtual void | dragLeave (GtkWidget *w, GtkWidget *sourceWidget) |
virtual bool | dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y) |
virtual void | dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info) |
virtual void | dragDataDelete (GtkWidget *w) |
virtual void | dragBegin (GtkWidget *w) |
virtual void | dragEnd (GtkWidget *w) |
Protected Attributes inherited from JackBase | |
jack_client_t * | client |
The jack client. More... | |
string | clientName |
The name of this client. More... | |
jack_options_t | jackOptions |
Options for jack. More... | |
jack_status_t | status |
The status of jack. More... | |
int | physicalInputPortCnt |
The number of physical input ports. More... | |
int | physicalOutputPortCnt |
The number of physical input ports. More... | |
vector< jack_port_t * > | inputPorts |
The input ports. More... | |
vector< jack_port_t * > | outputPorts |
The output ports. More... | |
vector< jack_nframes_t > | inputLatencies |
The input latencies, one for each port. More... | |
vector< jack_nframes_t > | outputLatencies |
The output latencies, one for each port. More... | |
Protected Attributes inherited from Widget | |
GtkWidget * | widget |
The container based widget. More... | |
A full duplex client GUI components. Maintains two half duplex port systems for input and output. Inherits from an EventBox to handle drag and drop features.
Definition at line 137 of file JackPortMonitorGui.H.
|
inlinevirtual |
Destructor.
Definition at line 151 of file JackPortMonitorGui.H.
|
privatevirtual |
Executed when the target is dropped. This method specifies whether we are connecting or disconnecting ports. Drags from inputs connect and drags from outputs disconnect.
w | the GtkWidget which is the destination of the drag. |
sourceWidget | The widget being dragged. |
dnd | The drag and drop data contexts |
Reimplemented from Widget.
Definition at line 164 of file JackPortMonitorGui.C.
|
virtual |
Executed when the user drops and completes the drag. This is executed in the destination widget's class.
w | the GtkWidget which is the destination of the drag. |
info | the info that has been registered with the target in the GtkTargetList. |
selectionStoredData | The raw data which is sent by the other side, cast to a unsigned char pointer. |
length | The length of the stored data |
Reimplemented from Widget.
Definition at line 141 of file JackPortMonitorGui.C.
void JackBaseWithPortNamesGui::reSyncPortGui | ( | void | ) |
Resynchronise the Gui from the knows set of ports.
Definition at line 131 of file JackPortMonitorGui.C.
ClientIOGui JackBaseWithPortNamesGui::inputPortGui |
The input port gui.
Definition at line 148 of file JackPortMonitorGui.H.
ClientIOGui JackBaseWithPortNamesGui::outputPortGui |
The output port gui.
Definition at line 149 of file JackPortMonitorGui.H.
GTK+ IOStream
Beta
|