A Channel of communication that can be bound with a GVarProp both ways. More...
Public Member Functions | |
GSocketChannel & | operator<<= (GVarProp &sender) |
Output binding: when sender value will change, this value will be sent on this channel. | |
GSocketChannel & | operator^= (GVarProp &synced_prop) |
Binds both ways. | |
GSocketChannel & | operator<< (GFunction const &fun) |
Adds a callback function that is fired when the channel receives data. | |
GSocketChannel & | operator= (GString const &data) |
Sends data on this channel. | |
GSocket * | socket () |
Returns the socket that is bound to this channel. | |
const GPropList & | props () const |
Returns callbacks. | |
virtual void | error (GString const &funname, GString const &message) const |
Prints an error message. More... | |
void | operator delete (void *) |
delete does nothing, see GObject class. | |
void | forgetSmartPointers () |
Forgets all smart pointers pointing this object. More... | |
unsigned int | useCount () const |
Returns the numbers of smart pointers referencing the object. | |
virtual void | removeNotifiers (void *obj) |
[Implementation] Notifies this object that it must no longer refer obj. | |
template<class Subclass > | |
Subclass * | to () |
Class conversions. | |
void | ignoreSmartPointers () |
Checks/sets whether this object can be auto-deleted by smart pointers. More... | |
GSocketChannel & | operator>>= (GVarProp &receiver) |
Input binding: when data will arrive on this channel, receiver value will be updated. More... | |
A Channel of communication that can be bound with a GVarProp both ways.
channel["*"] is a special channel that sends/receives all data unformatted.
GSocketChannel & guit::GSocketChannel::operator>>= | ( | GVarProp & | receiver) |
Input binding: when data will arrive on this channel, receiver value will be updated.
|
virtualinherited |
Prints an error message.
|
inlineinherited |
Checks/sets whether this object can be auto-deleted by smart pointers.
ignoreSmartPointers() has a permanent effect, contrary to forgetSmartPointers(). Objects not created by calling new are never auto-deleted by smart pointers.
|
inlineinherited |
Forgets all smart pointers pointing this object.
The smart pointers that are currently pointing to the object won't auto-delete it. forgetSmartPointers() has a temporary effect, contrary to ignoreSmartPointers().