Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

wftk::BoolMarshal Class Reference

A custom marshaller for bools. More...

#include <marshal.h>

List of all members.

Public Types

typedef bool InType
 return type expected from the callback
typedef bool OutType
 return type passed to the signal

Public Member Functions

OutType value ()
 value returned to the calling signal
bool marshal (const InType &val)
 handle the return value of a callback

Static Public Member Functions

bool default_value ()
 the default value to return if no callback is called


Detailed Description

A custom marshaller for bools.

This is a custom marshaller for signals which return bool used by wftk. It halts signal emmision if a callback returns 'true'. The signal returns 'true' if any of the callbacks did.

It is used in cases where we won't care where the signal comes from, we just want to know if it fires for any case (e.g. mouse entering our application window)

Author:
R Steinke


The documentation for this class was generated from the following file:

Generated Tue Oct 26 19:02:12 2004.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.