rwlogo
SourcePro C++ 12.5

SourcePro® C++ API Reference Guide

Product Documentation:

   SourcePro C++
Documentation Home

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Enumerations
Functor List

Module Description

The Functor List subpackage is made up of classes designed for creating functors which are themselves lists of functors to be invoked in turn. Functor list classes are an extension to the functor class hierarchy.

Class names are constructed from the base name RWTFunctorList for templatized classes or RWFunctorList for the few non-templatized classes by adding 0, 1 or 2 for the number of caller arguments.

The formal template parameters include:

S1 Type name of the functor list's first argument.
S2 Type name of the functor list's second argument.
Note
Functor lists do not provide R0, R1, or R2 classes.

Classes

class  RWFunctorList0
 A sequence of functors whose invocation takes no arguments. More...
 
class  RWTFunctorList1< A1 >
 A sequence of functors whose invocation takes one argument. More...
 
class  RWTFunctorList2< A1, A2 >
 A sequence of functors whose invocation takes two arguments. More...
 

Enumerations

enum  RWCallbackScope { RW_CALL_ONCE, RW_CALL_REPEATEDLY }
 

Enumeration Type Documentation

Deprecated:
This enum is used only in deprecated APIs.

Used when adding a callback functor to a callback list, to define how many times the functor can be invoked before being automatically removed from the list.

Header File

#include <rw/functor/list/RWCallbackListBase.h>
Enumerator
RW_CALL_ONCE 

Elements added to the list with this value will be removed from the list after their first invocation.

RW_CALL_REPEATEDLY 

Elements added to the list with this value will remain in the list until explicitly removed.


© 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.
Provide feedback to Rogue Wave about its documentation.