EvolvingObjects
eoFunctorStore Class Reference

eoFunctorStore is a class that stores functors that are allocated on the heap. More...

#include <eoFunctorStore.h>

Inheritance diagram for eoFunctorStore:
eoState

List of all members.

Public Member Functions

 eoFunctorStore ()
 Default Ctor.
virtual ~eoFunctorStore ()
 clears the memory
template<class Functor >
Functor & storeFunctor (Functor *r)
 Add an eoFunctorBase to the store.

Protected Attributes

std::vector< eoFunctorBase * > vec

Private Member Functions

 eoFunctorStore (const eoFunctorStore &)
 no copying allowed
eoFunctorStore operator= (const eoFunctorStore &)
 no assignment allowed

Detailed Description

eoFunctorStore is a class that stores functors that are allocated on the heap.

This class can be used in factories to store allocated memory for dynamically created functors.

Examples:
t-eoFunctor.cpp.

Definition at line 44 of file eoFunctorStore.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends