OpenASIP
2.0
|
#include <SocketPortConnCmd.hh>
Public Member Functions | |
SocketPortConnCmd (TTAMachine::Socket *socket, TTAMachine::Port *port) | |
virtual | ~SocketPortConnCmd () |
virtual bool | Do () |
Public Member Functions inherited from ComponentCommand | |
ComponentCommand () | |
virtual | ~ComponentCommand () |
wxWindow * | parentWindow () |
void | setParentWindow (wxWindow *window) |
Private Attributes | |
TTAMachine::Socket * | socket_ |
Socket to connect. More... | |
TTAMachine::Port * | port_ |
Port to connect. More... | |
Command for connecting/disconencting ports to sockets.
Definition at line 46 of file SocketPortConnCmd.hh.
SocketPortConnCmd::SocketPortConnCmd | ( | TTAMachine::Socket * | socket, |
TTAMachine::Port * | port | ||
) |
The Constructor.
port | Port to connect/disconnect. |
socket | Socket to connect/disconnect. |
Definition at line 45 of file SocketPortConnCmd.cc.
|
virtual |
|
virtual |
Executes the command.
Implements ComponentCommand.
Definition at line 64 of file SocketPortConnCmd.cc.
References TTAMachine::Port::attachSocket(), TTAMachine::Port::detachSocket(), TTAMachine::Port::isConnectedTo(), port_, and socket_.
|
private |
|
private |