vdk 2.4.0
|
This class allows you to monitor inputs from one or more file descriptors and define member function(s) to be called whenever some activity is detected on that file descriptor. More...
#include <vdkinchannel.h>
This class allows you to monitor inputs from one or more file descriptors and define member function(s) to be called whenever some activity is detected on that file descriptor.
More informations can be found into an appendix of VDK/VDKBuilder tutorial Signals: INPUT_SIGNAL "input_signal"
VDKInputChannel::VDKInputChannel | ( | VDKForm * | owner, |
int | fd, | ||
GdkInputCondition | condition = GDK_INPUT_READ |
||
) |
Constructor
owner | the form that owns the input channel |
fd | file descriptor |
condition | the condition that activates the fd. |
VDKInputChannel::~VDKInputChannel | ( | ) | [virtual] |
destructor
int VDKInputChannel::getcondition | ( | ) | [inline] |
Returns the condition that caused the VDK signal to be fired.
int VDKInputChannel::getfd | ( | ) | [inline] |
Returns the file descriptor associated with the object