RayZaler 0.1
The free opto-mechanical simulation framework
RZ::Recipe Class Reference

Public Member Functions

 Recipe (std::string const &, Recipe *)
 
std::list< std::string > const & scripts () const
 
std::list< std::string > const & searchPaths () const
 
RecipeContextcurrentContext () const
 
Recipeparent () const
 
RecipeContextrootContext () const
 
std::vector< RecipeContext * > const & contexts () const
 
std::vector< RecipeElementStep * > const & elements () const
 
std::vector< RecipeOpticalPath * > const & paths () const
 
std::map< std::string, RecipeContext * > const & ports () const
 
std::map< std::string, Recipe * > const & customElements () const
 
std::map< std::string, RecipeParameter > const & dofs () const
 
std::map< std::string, RecipeParameter > const & params () const
 
RecipeContextlookupReferenceFrame (std::string const &) const
 
RecipeElementSteplookupElement (std::string const &) const
 
RecipeOpticalPathlookupOpticalPath (std::string const &="") const
 
RecipeElementStepresolveElement (std::string const &) const
 
RecipemakeCustomElement (std::string const &)
 
bool addScript (std::string const &scriptPath)
 
void pushSearchPath (std::string const &path)
 
void pushVariable (std::string const &name, std::string const &value)
 
void pushRotation (std::string const &angle, std::string const &eX, std::string const &eY, std::string const &eZ, std::string const &name="")
 
void pushTranslation (std::string const &dX, std::string const &dY, std::string const &dZ, std::string const &name="")
 
void pushPortContext (RecipeElementStep *, std::string const &port)
 
bool pop ()
 
RecipeElementStepaddElement (std::string const &name, std::string const &factory, std::map< std::string, std::string > const &parameters=std::map< std::string, std::string >())
 
RecipeOpticalPathallocatePath (std::string const &name="")
 
void addPort (std::string const &name)
 
bool addDof (std::string const &name, Real defVal, Real min=-INFINITY, Real max=+INFINITY)
 
bool addParam (std::string const &name, Real defVal, Real min=-INFINITY, Real max=+INFINITY)
 
void debug ()
 

Friends

class RecipeElementStep
 

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