Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWFunctorList0


RWFunctorList0 RWFunctor0

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Member Functions

Package

Functor List, subpackage of Functor

Header File

#include <rw/functor/list/RWFunctorList0.h>

Description

The RWFunctor0List class is a sequence of functors whose invocation takes no arguments.

A function object, or a functor, is an object that encapsulates a call to an associated function. When a functor is invoked, it calls the associated function.

A functor list is a sequence of such functors. The list's invocation results in the invocation of all functors contained in the list. This is useful when you wish to connect more that one invocation to a particular action.

Example

Public Constructors

RWFunctorList0(void);
RWFunctorList0(const RWFunctorList0& second);

Public Operators

RWFunctorList0&
operator=(const RWFunctorList0& second);
void 
operator()() const;

Public Member Functions

void 
add(const RWFunctor0& functor, RWCallbackScope scope);
void 
remove(const RWFunctor0& functor);
void 
update(void);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.