#include <vtql_event.h>
Inheritance diagram for VTQL::CEModul:
Public Methods | |
virtual | ~CEModul () |
CEModul (Event_generic &event_con, const std::string &match, ShowMode mode) | |
Send a command to a connection. More... | |
virtual bool | Wait (bool block=true) |
Wait for a incomming event of our command. More... | |
Protected Methods | |
virtual void | Handle (const Arg &p)=0 |
Handle events of the command, that was sent by this instance. More... | |
void | SetInvalid () |
Mark the incomming page as invalid. |
The main problem we have to handle, that you do never know whether
|
Send a command to a connection. It puts the command only into the output queue. Call Wait(bool) to try to send it. Of course we do the callback stuff right, so that we do not loose any event.
|
|
Wait for a incomming event of our command. In detail, the event has to be read completly and must not be invalid (see SetInvalid()), to let this method return true. If you wait in blocking mode, it return always true.
Reimplemented from VTQL::CModul. |
|
Handle events of the command, that was sent by this instance. This gets only called, if the incomming event is of the specified type.
|