conexus logo

Conexus::Gtk::PortEntry Class Reference

TODO need to add TCP/UDP service lookup for those that do differ. More...

#include <portentry.h>

List of all members.

Public Member Functions

 PortEntry (unsigned lookup=LOOKUP_IPV4|LOOKUP_IPV6)
 PortEntry (IPAddressInterface *addr, unsigned lookup=LOOKUP_IPV4)
 PortEntry (IPAddressInterface::pointer addr, unsigned lookup=LOOKUP_IPV4)
 PortEntry (IPv4::Address &addr, unsigned lookup=LOOKUP_IPV4)
 PortEntry (IPv6::Address &addr, unsigned lookup=LOOKUP_IPV6)
 ~PortEntry ()
IPAddressInterfaceaddress ()
void set_address (IPAddressInterface *addr, unsigned lookup=LOOKUP_IPV4)
void set_address (IPAddressInterface::pointer addr, unsigned lookup=LOOKUP_IPV4)
void set_address (IPv4::Address &addr, unsigned lookup=LOOKUP_IPV4)
void set_address (IPv6::Address &addr, unsigned lookup=LOOKUP_IPV6)
void unset_address ()
::Gtk::SpinButton & port_widget ()
::Gtk::Adjustment & port_widget_adjustment ()
uint32_t port ()
void set_port (uint32_t p)
std::string servicename ()
bool is_servicename_label_visible ()
void show_servicename_label (bool show=true)
::Gtk::Button & apply_button ()
bool is_immediate_apply_enabled ()
void enable_immediate_apply (bool enable=true)
void apply ()

Protected Member Functions

virtual void on_controlled_port_changed ()
virtual void on_port_widget_changed ()
void on_spinbutton_text_entry (const Glib::ustring &text, int *position)
void on_spinbutton_text_delete (int start, int end)

Protected Attributes

IPAddressInterfacem_address
unsigned m_lookup
bool m_immediate_apply
sigc::connection m_conn_address_port
::Gtk::SpinButton m_port_widget
sigc::connection m_conn_port_widget_changed
::Gtk::Adjustment m_port_widget_adjustment
::Gtk::Label m_servicename_label
::Gtk::Button m_apply_button

Private Member Functions

void setup_widget ()


Detailed Description

TODO need to add TCP/UDP service lookup for those that do differ.

Author:
Rick L Vinyard Jr

Constructor & Destructor Documentation

Conexus::Gtk::PortEntry::PortEntry ( unsigned  lookup = LOOKUP_IPV4|LOOKUP_IPV6  ) 

References setup_widget().

Conexus::Gtk::PortEntry::PortEntry ( IPAddressInterface addr,
unsigned  lookup = LOOKUP_IPV4 
)

References setup_widget().

Conexus::Gtk::PortEntry::PortEntry ( IPAddressInterface::pointer  addr,
unsigned  lookup = LOOKUP_IPV4 
)

References setup_widget().

Conexus::Gtk::PortEntry::PortEntry ( IPv4::Address addr,
unsigned  lookup = LOOKUP_IPV4 
)

References setup_widget().

Conexus::Gtk::PortEntry::PortEntry ( IPv6::Address &  addr,
unsigned  lookup = LOOKUP_IPV6 
)

References setup_widget().

Conexus::Gtk::PortEntry::~PortEntry (  ) 


Member Function Documentation

IPAddressInterface * Conexus::Gtk::PortEntry::address (  ) 

References m_address.

void Conexus::Gtk::PortEntry::apply (  ) 

Gtk::Button & Conexus::Gtk::PortEntry::apply_button (  ) 

References m_apply_button.

void Conexus::Gtk::PortEntry::enable_immediate_apply ( bool  enable = true  ) 

bool Conexus::Gtk::PortEntry::is_immediate_apply_enabled (  ) 

References m_immediate_apply.

bool Conexus::Gtk::PortEntry::is_servicename_label_visible (  ) 

References m_servicename_label.

void Conexus::Gtk::PortEntry::on_controlled_port_changed (  )  [protected, virtual]

void Conexus::Gtk::PortEntry::on_port_widget_changed (  )  [protected, virtual]

References apply(), m_apply_button, and m_immediate_apply.

Referenced by setup_widget().

void Conexus::Gtk::PortEntry::on_spinbutton_text_delete ( int  start,
int  end 
) [protected]

References apply(), m_apply_button, and m_immediate_apply.

Referenced by setup_widget().

void Conexus::Gtk::PortEntry::on_spinbutton_text_entry ( const Glib::ustring &  text,
int *  position 
) [protected]

References apply(), m_apply_button, and m_immediate_apply.

Referenced by setup_widget().

uint32_t Conexus::Gtk::PortEntry::port (  ) 

Gtk::SpinButton & Conexus::Gtk::PortEntry::port_widget (  ) 

References m_port_widget.

Gtk::Adjustment & Conexus::Gtk::PortEntry::port_widget_adjustment (  ) 

std::string Conexus::Gtk::PortEntry::servicename (  ) 

void Conexus::Gtk::PortEntry::set_address ( IPv6::Address &  addr,
unsigned  lookup = LOOKUP_IPV6 
)

References set_address().

void Conexus::Gtk::PortEntry::set_address ( IPv4::Address addr,
unsigned  lookup = LOOKUP_IPV4 
)

References set_address().

void Conexus::Gtk::PortEntry::set_address ( IPAddressInterface::pointer  addr,
unsigned  lookup = LOOKUP_IPV4 
)

References set_address().

void Conexus::Gtk::PortEntry::set_address ( IPAddressInterface addr,
unsigned  lookup = LOOKUP_IPV4 
)

void Conexus::Gtk::PortEntry::set_port ( uint32_t  p  ) 

References m_port_widget.

Referenced by unset_address().

void Conexus::Gtk::PortEntry::setup_widget (  )  [private]

void Conexus::Gtk::PortEntry::show_servicename_label ( bool  show = true  ) 

References m_servicename_label.

void Conexus::Gtk::PortEntry::unset_address (  ) 


Member Data Documentation

::Gtk::Button Conexus::Gtk::PortEntry::m_apply_button [protected]

sigc::connection Conexus::Gtk::PortEntry::m_conn_address_port [protected]

Referenced by set_address(), and unset_address().

unsigned Conexus::Gtk::PortEntry::m_lookup [protected]

::Gtk::SpinButton Conexus::Gtk::PortEntry::m_port_widget [protected]


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

Generated on Wed Jul 8 15:51:27 2009 for conexus by doxygen 1.5.8