![]() |
VR-Forces 4.5 Class Documentation
|
The DtFileCommChannel class is a simple class that will use two files based on the given output file for communication. More...

Signals | |
| void | commFileMessagesReceived (const QStringList &) |
Public Member Functions | |
| DtFileCommChannel (const QString &file, bool listener=false) | |
| Constructor. | |
| virtual | ~DtFileCommChannel () |
| DTOR. | |
| virtual void | sendMessage (const QString &) |
| Writes a message to the output channel. | |
| virtual void | done () |
| Call when done to cleanup cleanly. | |
Protected Member Functions | |
| virtual void | run () |
Protected Attributes | |
| QString | myFileCommChannel |
| bool | myIsListener |
| bool | myIsDone |
The DtFileCommChannel class is a simple class that will use two files based on the given output file for communication.
An Output file to place messages to be "sent" to a listening application and an Input file that can be used for the listening application to send messages to this channel. Once the messages are received a signal will be emitted and the file in question erased. This object is run as a thread so it can check file contents every so often
| makVrf::DtFileCommChannel::DtFileCommChannel | ( | const QString & | file, |
| bool | listener = false |
||
| ) |
Constructor.
|
virtual |
DTOR.
|
virtual |
Writes a message to the output channel.
|
virtual |
Call when done to cleanup cleanly.
|
signal |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |