Visitor Class Reference

A visitor for the hierarchical memory data structure. More...

#include <RobotAPI/libraries/armem/core/wm/visitor/Visitor.h>

+ Inheritance diagram for Visitor:

Public Member Functions

bool applyTo (const CoreSegment &coreSegment)
 
bool applyTo (const Entity &entity)
 
bool applyTo (const EntityInstance &instance)
 
bool applyTo (const EntitySnapshot &snapshot)
 
bool applyTo (const Memory &memory)
 
bool applyTo (const ProviderSegment &providerSegment)
 
bool applyTo (CoreSegment &coreSegment)
 
bool applyTo (Entity &entity)
 
bool applyTo (EntityInstance &instance)
 
bool applyTo (EntitySnapshot &snapshot)
 
bool applyTo (Memory &memory)
 
bool applyTo (ProviderSegment &providerSegment)
 
virtual bool visit (const EntityInstance &instance)
 
virtual bool visit (EntityInstance &instance)
 
virtual bool visitEnter (const CoreSegment &coreSegment)
 
virtual bool visitEnter (const Entity &entity)
 
virtual bool visitEnter (const EntitySnapshot &snapshot)
 
virtual bool visitEnter (const Memory &memory)
 
virtual bool visitEnter (const ProviderSegment &providerSegment)
 
virtual bool visitEnter (CoreSegment &coreSegment)
 
virtual bool visitEnter (Entity &entity)
 
virtual bool visitEnter (EntitySnapshot &snapshot)
 
virtual bool visitEnter (Memory &memory)
 
virtual bool visitEnter (ProviderSegment &providerSegment)
 
virtual bool visitExit (const CoreSegment &coreSegment)
 
virtual bool visitExit (const Entity &entity)
 
virtual bool visitExit (const EntitySnapshot &snapshot)
 
virtual bool visitExit (const Memory &memory)
 
virtual bool visitExit (const ProviderSegment &providerSegment)
 
virtual bool visitExit (CoreSegment &coreSegment)
 
virtual bool visitExit (Entity &entity)
 
virtual bool visitExit (EntitySnapshot &snapshot)
 
virtual bool visitExit (Memory &memory)
 
virtual bool visitExit (ProviderSegment &providerSegment)
 
 Visitor ()
 
virtual ~Visitor ()
 

Detailed Description

A visitor for the hierarchical memory data structure.

Definition at line 17 of file Visitor.h.

Constructor & Destructor Documentation

◆ Visitor()

Visitor ( )

Definition at line 13 of file Visitor.cpp.

◆ ~Visitor()

~Visitor ( )
virtual

Definition at line 17 of file Visitor.cpp.

Member Function Documentation

◆ applyTo() [1/12]

bool applyTo ( const CoreSegment coreSegment)

Definition at line 93 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [2/12]

bool applyTo ( const Entity entity)

Definition at line 115 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [3/12]

bool applyTo ( const EntityInstance instance)

Definition at line 137 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [4/12]

bool applyTo ( const EntitySnapshot snapshot)

Definition at line 126 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [5/12]

bool applyTo ( const Memory memory)

Definition at line 82 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [6/12]

bool applyTo ( const ProviderSegment providerSegment)

Definition at line 104 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [7/12]

bool applyTo ( CoreSegment coreSegment)

Definition at line 32 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [8/12]

bool applyTo ( Entity entity)

Definition at line 54 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [9/12]

bool applyTo ( EntityInstance instance)

Definition at line 76 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [10/12]

bool applyTo ( EntitySnapshot snapshot)

Definition at line 65 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ applyTo() [11/12]

bool applyTo ( Memory memory)

Definition at line 21 of file Visitor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyTo() [12/12]

bool applyTo ( ProviderSegment providerSegment)

Definition at line 43 of file Visitor.cpp.

+ Here is the call graph for this function:

◆ visit() [1/2]

virtual bool visit ( const EntityInstance instance)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 144 of file Visitor.h.

◆ visit() [2/2]

virtual bool visit ( EntityInstance instance)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 75 of file Visitor.h.

+ Here is the caller graph for this function:

◆ visitEnter() [1/10]

virtual bool visitEnter ( const CoreSegment coreSegment)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 97 of file Visitor.h.

◆ visitEnter() [2/10]

virtual bool visitEnter ( const Entity entity)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 107 of file Visitor.h.

◆ visitEnter() [3/10]

virtual bool visitEnter ( const EntitySnapshot snapshot)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 112 of file Visitor.h.

◆ visitEnter() [4/10]

virtual bool visitEnter ( const Memory memory)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 92 of file Visitor.h.

◆ visitEnter() [5/10]

virtual bool visitEnter ( const ProviderSegment providerSegment)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 102 of file Visitor.h.

◆ visitEnter() [6/10]

virtual bool visitEnter ( CoreSegment coreSegment)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 37 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitEnter() [7/10]

virtual bool visitEnter ( Entity entity)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 45 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitEnter() [8/10]

virtual bool visitEnter ( EntitySnapshot snapshot)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 49 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitEnter() [9/10]

virtual bool visitEnter ( Memory memory)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 33 of file Visitor.h.

+ Here is the caller graph for this function:

◆ visitEnter() [10/10]

virtual bool visitEnter ( ProviderSegment providerSegment)
inlinevirtual

Reimplemented in FunctionalVisitor.

Definition at line 41 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitExit() [1/10]

virtual bool visitExit ( const CoreSegment coreSegment)
inlinevirtual

Definition at line 123 of file Visitor.h.

◆ visitExit() [2/10]

virtual bool visitExit ( const Entity entity)
inlinevirtual

Definition at line 133 of file Visitor.h.

◆ visitExit() [3/10]

virtual bool visitExit ( const EntitySnapshot snapshot)
inlinevirtual

Definition at line 138 of file Visitor.h.

◆ visitExit() [4/10]

virtual bool visitExit ( const Memory memory)
inlinevirtual

Definition at line 118 of file Visitor.h.

◆ visitExit() [5/10]

virtual bool visitExit ( const ProviderSegment providerSegment)
inlinevirtual

Definition at line 128 of file Visitor.h.

◆ visitExit() [6/10]

virtual bool visitExit ( CoreSegment coreSegment)
inlinevirtual

Definition at line 58 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitExit() [7/10]

virtual bool visitExit ( Entity entity)
inlinevirtual

Definition at line 66 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitExit() [8/10]

virtual bool visitExit ( EntitySnapshot snapshot)
inlinevirtual

Definition at line 70 of file Visitor.h.

+ Here is the call graph for this function:

◆ visitExit() [9/10]

virtual bool visitExit ( Memory memory)
inlinevirtual

Definition at line 54 of file Visitor.h.

+ Here is the caller graph for this function:

◆ visitExit() [10/10]

virtual bool visitExit ( ProviderSegment providerSegment)
inlinevirtual

Definition at line 62 of file Visitor.h.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: