rwlogo
SourcePro 11.1

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

Functor List
[Functors]

Classes

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

Enumerations

enum  RWCallbackScope { RW_CALL_ONCE, RW_CALL_REPEATEDLY }

Detailed 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.

Enumeration Type Documentation

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.
Contact Rogue Wave about documentation or support issues.