#include <vtql_query.h>
Inheritance diagram for VTQL::CQModul:
Public Methods | |
virtual | ~CQModul () |
CQModul (Query_generic &query_con, const std::string &command) | |
Send a command to a connection. More... | |
virtual bool | Wait (bool=true) |
wait for this command to complete. More... | |
Public Attributes | |
QMError_flag | error_flag |
Command status flag. | |
Protected Methods | |
virtual void | Handle (const Arg &p)=0 |
Handle the command output. More... |
This class tries to abstrct form all the server error handling and makes sure, that a child class only gets a callback, if the server answers successfully to the query of the child.
|
Send a command to a connection. It puts the command only into the output queue. Call Wait(bool) to try to send it. Of cource we care about the ID stuff.
|
|
wait for this command to complete. Call this function to wait until this command has completed, blocking or nonblocking.
Reimplemented from VTQL::CModul. |
|
Handle the command output. This mathod gets called, if the server responds to your query sucessfully. You get a call for every output line.
|