Goby v2
Public Types | Public Member Functions | Public Attributes | List of all members
goby::common::LiaisonCommander::ControlsContainer::CommandContainer Struct Reference
Inheritance diagram for goby::common::LiaisonCommander::ControlsContainer::CommandContainer:
Inheritance graph
[legend]

Public Types

enum  DatabaseDialogResponse { RESPONSE_EDIT, RESPONSE_MERGE, RESPONSE_CANCEL }
 

Public Member Functions

 CommandContainer (MOOSNode *moos_node, const protobuf::ProtobufCommanderConfig &pb_commander_config, const std::string &protobuf_name, Wt::Dbo::Session *session)
 
void generate_root ()
 
void generate_tree (Wt::WTreeTableNode *parent, google::protobuf::Message *message)
 
void generate_tree_row (Wt::WTreeTableNode *parent, google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc)
 
void generate_tree_field (Wt::WFormWidget *&value_field, google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, int index=-1)
 
Wt::WLineEdit * generate_single_line_edit_field (google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, const std::string &current_value, const std::string &default_value, Wt::WValidator *validator, int index=-1)
 
Wt::WComboBox * generate_combo_box_field (google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, const std::vector< Wt::WString > &strings, int current_value, const std::string &default_value, int index=-1)
 
void generate_field_info_box (Wt::WFormWidget *&value_field, const google::protobuf::FieldDescriptor *field_desc)
 
void set_time_field (Wt::WFormWidget *value_field, const google::protobuf::FieldDescriptor *field_desc)
 
void dccl_default_value_field (Wt::WFormWidget *&value_field, const google::protobuf::FieldDescriptor *field_desc)
 
void dccl_default_modify_field (Wt::WFormWidget *&modify_field, const google::protobuf::FieldDescriptor *field_desc)
 
std::string string_from_dccl_double (double *value, const google::protobuf::FieldDescriptor *field_desc)
 
void handle_toggle_single_message (const Wt::WMouseEvent &mouse, google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, Wt::WPushButton *field, Wt::WTreeTableNode *parent)
 
void handle_line_field_changed (google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, Wt::WLineEdit *field, int index)
 
void handle_combo_field_changed (google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, Wt::WComboBox *field, int index)
 
void handle_repeated_size_change (int size, google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field_desc, Wt::WTreeTableNode *parent)
 
void handle_database_double_click (const Wt::WModelIndex &index, const Wt::WMouseEvent &event)
 
void handle_database_dialog (DatabaseDialogResponse response, boost::shared_ptr< google::protobuf::Message > message)
 

Public Attributes

MOOSNode * moos_node_
 
boost::shared_ptr< google::protobuf::Messagemessage_
 
std::map< Wt::WFormWidget *, const google::protobuf::FieldDescriptor * > time_fields_
 
goby::uint64 latest_time_
 
Wt::WGroupBox * tree_box_
 
Wt::WTreeTable * tree_table_
 
Wt::Dbo::Session * session_
 
Wt::Dbo::QueryModel< Wt::Dbo::ptr< CommandEntry > > * query_model_
 
Wt::WGroupBox * query_box_
 
Wt::WTreeView * query_table_
 
boost::posix_time::ptime last_reload_time_
 
boost::shared_ptr< Wt::WDialog > database_dialog_
 
const protobuf::ProtobufCommanderConfigpb_commander_config_
 

Detailed Description

Definition at line 138 of file liaison_commander.h.


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