OpenStudio:measure
 All Classes Namespaces Functions Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType > Class Template Reference

#include <EmbeddedRubyMeasureInfoGetter.hpp>

+ Inheritance diagram for openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >:

Public Member Functions

 EmbeddedRubyMeasureInfoGetter (const std::shared_ptr< RubyInterpreterType > &rubyInterpreter)
 
OSMeasureInfo getInfo (const BCLMeasure &measure) override
 
OSMeasureInfo getInfo (const BCLMeasure &measure, const Workspace &workspace) override
 Use this method to pass in a (EnergyPlus) Workspace or a (OpenStudio) Model. More...
 
OSMeasureInfo getInfo (const BCLMeasure &measure, const model::Model &model, const Workspace &workspace) override
 
virtual ~EmbeddedRubyMeasureInfoGetter ()
 
- Public Member Functions inherited from openstudio::measure::OSMeasureInfoGetter
OSMeasureInfo getInfo (const BCLMeasure &measure, const boost::optional< model::Model > &model, const boost::optional< Workspace > &workspace)
 
virtual ~OSMeasureInfoGetter ()
 

Additional Inherited Members

Detailed Description

template<typename RubyInterpreterType>
class openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >

Should only be instantiated in C++ Applications.

For an example of how to use this, see src/measure/test/EmbeddedRuby_GTest.cpp.

Constructor & Destructor Documentation

template<typename RubyInterpreterType >
openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >::EmbeddedRubyMeasureInfoGetter ( const std::shared_ptr< RubyInterpreterType > &  rubyInterpreter)
inline
template<typename RubyInterpreterType >
virtual openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >::~EmbeddedRubyMeasureInfoGetter ( )
inlinevirtual

Member Function Documentation

template<typename RubyInterpreterType >
OSMeasureInfo openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >::getInfo ( const BCLMeasure &  measure)
inlineoverridevirtual
template<typename RubyInterpreterType >
OSMeasureInfo openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >::getInfo ( const BCLMeasure &  measure,
const Workspace &  workspace 
)
inlineoverridevirtual

Use this method to pass in a (EnergyPlus) Workspace or a (OpenStudio) Model.

Implements openstudio::measure::OSMeasureInfoGetter.

template<typename RubyInterpreterType >
OSMeasureInfo openstudio::measure::EmbeddedRubyMeasureInfoGetter< RubyInterpreterType >::getInfo ( const BCLMeasure &  measure,
const model::Model &  model,
const Workspace &  workspace 
)
inlineoverridevirtual