moved readFromBus to BusHandler, fix for polling ChainedMessages, increased log level for loaded files and written messages, added error message for failed writes, derive all scan messages and store them, added all message counts to info result

This commit is contained in:
john30
2016-10-29 21:03:24 +02:00
parent d8f98d0658
commit 66817b3423
4 changed files with 73 additions and 55 deletions
+6 -9
View File
@@ -47,6 +47,12 @@ public:
*/
~MainLoop();
/**
* Get the @a BusHandler instance.
* @return the created @a BusHandler instance.
*/
BusHandler* getBusHandler() { return m_busHandler; }
/**
* Run the main loop.
*/
@@ -110,15 +116,6 @@ private:
*/
result_t parseHexMaster(vector<string> &args, size_t argPos, SymbolString& master);
/**
* Prepare the master part for the @a Message, send it to the bus and wait for the answer.
* @param message the @a Message instance.
* @param inputStr the input @a string from which to read master values (if any).
* @param dstAddress the destination address to set, or @a SYN to keep the address defined during construction.
* @return the result code.
*/
result_t readFromBus(Message* message, string inputStr, const unsigned char dstAddress=SYN);
/**
* Execute the read command.
* @param args the arguments passed to the command (starting with the command itself), or empty for help.