vrmlproc & togeom
 
Loading...
Searching...
No Matches
vrml_proc::action::ConversionContextAction< ConversionContext > Class Template Referenceabstract

Base abstract class representing Action object. The Action defines an interface with method called Execute() which returns a shared pointer owning a ConversionContext object. The Action object is encapsulation of a "program" or a "function", which returns a ConversionContext object. More...

#include <ConversionContextAction.hpp>

Public Member Functions

virtual ~ConversionContextAction ()=default
 Virtual default destructor.
 
virtual std::shared_ptr< ConversionContext > Execute ()=0
 Pure virtual method which executes on the given Action object.
 

Detailed Description

template<vrml_proc::core::contract::ConversionContextable ConversionContext>
class vrml_proc::action::ConversionContextAction< ConversionContext >

Base abstract class representing Action object. The Action defines an interface with method called Execute() which returns a shared pointer owning a ConversionContext object. The Action object is encapsulation of a "program" or a "function", which returns a ConversionContext object.

Member Function Documentation

◆ Execute()

virtual std::shared_ptr< ConversionContext > vrml_proc::action::ConversionContextAction< ConversionContext >::Execute ( )
pure virtual

Pure virtual method which executes on the given Action object.

Returns
Shared pointer containing the ConversionContext object (of type base class BaseConversionContext).

Implemented in to_geom::action::BoxAction, to_geom::action::GeometryAction, to_geom::action::GroupAction, to_geom::action::HelperCoordinateAction, to_geom::action::IndexedFaceSetAction, to_geom::action::IndexedLineSetAction, to_geom::action::ShapeAction, to_geom::action::SwitchAction, and to_geom::action::TransformAction.


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