Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWTFunctorList1

Module:  Threads   Package:  Functor List, subpackage of Functor


RWTFunctorLIst1 RWTFunctor1<S1>

Local Index

Members

Header File

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

Description

The RWTFunctorList1 class is a sequence of functors whose invocation takes one argument.

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

RWTFunctorList1();
RWTFunctorList1(const RWTFunctorList1<S1>& second);

Public Destructor

~RWTFunctorList1();

Public Operator

void 
operator()(S1 s1) const;

Public Member Functions

void 
add(const RWTFunctor1<S1>& functor, RWCallbackScope scope);
void 
remove(const RWTFunctor1<S1>& functor);
void 
update();


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.