Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Geometry::ComponentVisitor Class Referenceabstract

ComponentVisitor : Visitor for IComponents. More...

#include <ComponentVisitor.h>

Inheritance diagram for Mantid::Geometry::ComponentVisitor:
Mantid::Geometry::InstrumentVisitor

Public Member Functions

virtual size_t registerComponentAssembly (const ICompAssembly &assembly)=0
 
virtual size_t registerDetector (const IDetector &detector)=0
 
virtual size_t registerGenericComponent (const IComponent &component)=0
 
virtual size_t registerGenericObjComponent (const IObjComponent &objComponent)=0
 
virtual size_t registerGridBank (const ICompAssembly &bank)=0
 
virtual size_t registerInfiniteComponent (const Mantid::Geometry::IComponent &component)=0
 
virtual size_t registerInfiniteObjComponent (const IObjComponent &component)=0
 
virtual size_t registerObjComponentAssembly (const ObjCompAssembly &obj)=0
 
virtual size_t registerRectangularBank (const ICompAssembly &bank)=0
 
virtual size_t registerStructuredBank (const ICompAssembly &bank)=0
 
virtual ~ComponentVisitor ()=default
 

Detailed Description

ComponentVisitor : Visitor for IComponents.

Enables parsing of a full doubly linked InstrumentTree without need for dynamic casts. Public methods are called by accepting IComponent

Definition at line 25 of file ComponentVisitor.h.

Constructor & Destructor Documentation

◆ ~ComponentVisitor()

virtual Mantid::Geometry::ComponentVisitor::~ComponentVisitor ( )
virtualdefault

Member Function Documentation

◆ registerComponentAssembly()

virtual size_t Mantid::Geometry::ComponentVisitor::registerComponentAssembly ( const ICompAssembly assembly)
pure virtual

◆ registerDetector()

virtual size_t Mantid::Geometry::ComponentVisitor::registerDetector ( const IDetector detector)
pure virtual

◆ registerGenericComponent()

virtual size_t Mantid::Geometry::ComponentVisitor::registerGenericComponent ( const IComponent component)
pure virtual

◆ registerGenericObjComponent()

virtual size_t Mantid::Geometry::ComponentVisitor::registerGenericObjComponent ( const IObjComponent objComponent)
pure virtual

◆ registerGridBank()

virtual size_t Mantid::Geometry::ComponentVisitor::registerGridBank ( const ICompAssembly bank)
pure virtual

◆ registerInfiniteComponent()

virtual size_t Mantid::Geometry::ComponentVisitor::registerInfiniteComponent ( const Mantid::Geometry::IComponent component)
pure virtual

◆ registerInfiniteObjComponent()

virtual size_t Mantid::Geometry::ComponentVisitor::registerInfiniteObjComponent ( const IObjComponent component)
pure virtual

◆ registerObjComponentAssembly()

virtual size_t Mantid::Geometry::ComponentVisitor::registerObjComponentAssembly ( const ObjCompAssembly obj)
pure virtual

◆ registerRectangularBank()

virtual size_t Mantid::Geometry::ComponentVisitor::registerRectangularBank ( const ICompAssembly bank)
pure virtual

◆ registerStructuredBank()

virtual size_t Mantid::Geometry::ComponentVisitor::registerStructuredBank ( const ICompAssembly bank)
pure virtual

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