X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fbinding%2Fapplication.hpp;h=c445c899ce841329da98976d38c9725ee88cf8f1;hb=HEAD;hp=a5d2285c3c0df01069a6894b3b09a8662ffee058;hpb=22e1fe8db6686ee6ae32cfe58a10aad9f7dfb3a7;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/binding/application.hpp b/low-can-binding/binding/application.hpp index a5d2285c..c445c899 100644 --- a/low-can-binding/binding/application.hpp +++ b/low-can-binding/binding/application.hpp @@ -57,6 +57,7 @@ class application_t //std::shared_ptr socket_address_claiming_; #endif application_t(); ///< Private constructor with implementation generated by the AGL generator. + void set_parents(std::shared_ptr new_message_set); public: static application_t& instance(); @@ -65,21 +66,21 @@ class application_t std::map >& get_can_devices(); - const std::string get_diagnostic_bus() const; - diagnostic_manager_t& get_diagnostic_manager() ; uint8_t get_active_message_set() const; + int add_message_set(std::shared_ptr new_message_set); + std::vector > get_message_set(); - std::vector > get_all_signals(); + vect_ptr_signal_t get_all_signals(); - std::vector > get_diagnostic_messages(); + vect_ptr_diag_msg_t get_diagnostic_messages(); const std::vector& get_signals_prefix() const; - std::vector > get_messages_definition(); + vect_ptr_msg_def_t get_messages_definition(); std::shared_ptr get_message_definition(uint32_t id); @@ -87,7 +88,7 @@ class application_t uint32_t get_signal_id(signal_t& sig) const; - bool isEngineOn(); + bool is_engine_on(); void set_active_message_set(uint8_t id); @@ -117,4 +118,3 @@ class application_t bool isBusActive(can_bus_dev_t* bus); */ }; -