All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
openfluid::machine::Generator Class Reference

#include <machine/Generator.hpp>

Inheritance diagram for openfluid::machine::Generator:
openfluid::ware::PluggableSimulator openfluid::ware::SimulationContributorWare openfluid::ware::SimulationInspectorWare openfluid::ware::SimulationDrivenWare openfluid::ware::PluggableWare openfluid::machine::FixedGenerator openfluid::machine::InjectGenerator openfluid::machine::InterpGenerator openfluid::machine::RandomGenerator

List of all members.

Public Member Functions

 Generator ()
 ~Generator ()
void setInfos (openfluid::core::VariableName_t VarName, openfluid::core::UnitClass_t UnitClass, openfluid::fluidx::GeneratorDescriptor::GeneratorMethod GenMethod, unsigned int VarSize=1)
openfluid::core::VariableName_t getVariableName () const
openfluid::core::UnitClass_t getUnitClass () const
openfluid::fluidx::GeneratorDescriptor::GeneratorMethod getGeneratorMethod () const
bool isVectorVariable () const
bool isScalarVariable () const
unsigned int getVariableSize () const
virtual void prepareData ()

Protected Attributes

openfluid::core::VariableName_t m_VarName
openfluid::core::UnitClass_t m_UnitClass
openfluid::fluidx::GeneratorDescriptor::GeneratorMethod m_GenMethod
unsigned int m_VarSize

Constructor & Destructor Documentation


Member Function Documentation

unsigned int openfluid::machine::Generator::getVariableSize ( ) const [inline]
virtual void openfluid::machine::Generator::prepareData ( ) [inline, virtual]

Prepares data. Internally called by the framework.

Implements openfluid::ware::PluggableSimulator.

Reimplemented in openfluid::machine::InjectGenerator, and openfluid::machine::InterpGenerator.


Member Data Documentation

unsigned int openfluid::machine::Generator::m_VarSize [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines