Loading SRT/Interfaces/SRTDBESMInterface/idl/SRTDBESM.idl +4 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,10 @@ module Backends { string get_diag(in short b_addr) raises (BackendsErrors::BackendsErrorsEx); string get_cfg() raises (BackendsErrors::BackendsErrorsEx); string dbe_att(in string out_dbe, in string att_val) raises (BackendsErrors::BackendsErrorsEx); // string get_diag_all() raises (BackendsErrors::BackendsErrorsEx); /** Loading SRT/Servers/SRTDBESM/include/CommandSocket.h +8 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,10 @@ public: string get_diag(short b_addr); //throw (BackendsErrors::BackendsErrorsEx); string get_cfg(); string dbe_att(const char * out_dbe, const char * att_val); void parse_longSeq_response(string status_str, string start, string end, ACS::longSeq* vals); //throw (BackendsErrors::BackendsErrorsEx); void parse_doubleSeq_response(string status_str, string start, string end, ACS::doubleSeq* vals); //throw (BackendsErrors::BackendsErrorsEx); Loading Loading @@ -126,6 +130,10 @@ private: string get_diag_command(short b_addr); //throw (BackendsErrors::BackendsErrorsEx); string get_cfg_command(); string dbe_att_command(const char * out_dbe, const char * att_val); }; #endif /*COMMANDSOCKET_H_*/ No newline at end of file SRT/Servers/SRTDBESM/include/DBESMprotocol.h +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ class CDBESMCommand // inline static string comm_get_diag_all(){return Commands::m_get_diag_all + TAIL;} inline static string comm_get_diag(string b_addr){return Commands::m_get_diag + " BOARD " + b_addr + TAIL;} inline static string comm_get_comp(string b_addr){return Commands::m_get_comp + " BOARD " + b_addr + TAIL;} inline static string comm_get_cfg(){return Commands::m_get_cfg + TAIL;} inline static string comm_dbe_att(string out_dbe, string att_val){return Commands::m_dbe_att + " " + out_dbe + " " + att_val + TAIL;} private: /* Loading @@ -46,6 +48,8 @@ class CDBESMCommand //inline static const string m_get_diag_all { "DBE ALLDIAG" }; inline static const string m_get_diag { "DBE DIAG" }; inline static const string m_get_comp { "DBE GETCOMP" }; inline static const string m_get_cfg { "DBE GETCFG" }; inline static const string m_dbe_att { "DBE DBEATT" }; }; }; //class CDBESMCommand Loading SRT/Servers/SRTDBESM/include/SRTDBESMImpl.h +4 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,10 @@ public: virtual char * get_diag(short b_addr); //throw (BackendsErrors::BackendsErrorsEx); virtual char * get_cfg(); virtual char * dbe_att(const char * out_dbe, const char * att_val); //throw (BackendsErrors::BackendsErrorsEx); /** * Returns a reference to addr_1. * @return pointer to long property addr_1 Loading Loading
SRT/Interfaces/SRTDBESMInterface/idl/SRTDBESM.idl +4 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,10 @@ module Backends { string get_diag(in short b_addr) raises (BackendsErrors::BackendsErrorsEx); string get_cfg() raises (BackendsErrors::BackendsErrorsEx); string dbe_att(in string out_dbe, in string att_val) raises (BackendsErrors::BackendsErrorsEx); // string get_diag_all() raises (BackendsErrors::BackendsErrorsEx); /** Loading
SRT/Servers/SRTDBESM/include/CommandSocket.h +8 −0 Original line number Diff line number Diff line Loading @@ -74,6 +74,10 @@ public: string get_diag(short b_addr); //throw (BackendsErrors::BackendsErrorsEx); string get_cfg(); string dbe_att(const char * out_dbe, const char * att_val); void parse_longSeq_response(string status_str, string start, string end, ACS::longSeq* vals); //throw (BackendsErrors::BackendsErrorsEx); void parse_doubleSeq_response(string status_str, string start, string end, ACS::doubleSeq* vals); //throw (BackendsErrors::BackendsErrorsEx); Loading Loading @@ -126,6 +130,10 @@ private: string get_diag_command(short b_addr); //throw (BackendsErrors::BackendsErrorsEx); string get_cfg_command(); string dbe_att_command(const char * out_dbe, const char * att_val); }; #endif /*COMMANDSOCKET_H_*/ No newline at end of file
SRT/Servers/SRTDBESM/include/DBESMprotocol.h +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ class CDBESMCommand // inline static string comm_get_diag_all(){return Commands::m_get_diag_all + TAIL;} inline static string comm_get_diag(string b_addr){return Commands::m_get_diag + " BOARD " + b_addr + TAIL;} inline static string comm_get_comp(string b_addr){return Commands::m_get_comp + " BOARD " + b_addr + TAIL;} inline static string comm_get_cfg(){return Commands::m_get_cfg + TAIL;} inline static string comm_dbe_att(string out_dbe, string att_val){return Commands::m_dbe_att + " " + out_dbe + " " + att_val + TAIL;} private: /* Loading @@ -46,6 +48,8 @@ class CDBESMCommand //inline static const string m_get_diag_all { "DBE ALLDIAG" }; inline static const string m_get_diag { "DBE DIAG" }; inline static const string m_get_comp { "DBE GETCOMP" }; inline static const string m_get_cfg { "DBE GETCFG" }; inline static const string m_dbe_att { "DBE DBEATT" }; }; }; //class CDBESMCommand Loading
SRT/Servers/SRTDBESM/include/SRTDBESMImpl.h +4 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,10 @@ public: virtual char * get_diag(short b_addr); //throw (BackendsErrors::BackendsErrorsEx); virtual char * get_cfg(); virtual char * dbe_att(const char * out_dbe, const char * att_val); //throw (BackendsErrors::BackendsErrorsEx); /** * Returns a reference to addr_1. * @return pointer to long property addr_1 Loading