Class HierarchicalCoeStateComponent

  • All Implemented Interfaces:
    org.intocps.fmi.IFmiComponent

    public abstract class HierarchicalCoeStateComponent
    extends java.lang.Object
    implements org.intocps.fmi.IFmiComponent
    Created by kel on 09/10/2017.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.intocps.fmi.Fmi2Status freeState​(org.intocps.fmi.IFmiComponentState iFmiComponentState)  
      org.intocps.fmi.FmuResult<boolean[]> getBooleans​(long[] longs)  
      org.intocps.fmi.FmuResult<double[]> getDirectionalDerivative​(long[] longs, long[] longs1, double[] doubles)  
      org.intocps.fmi.FmuResult<int[]> getInteger​(long[] longs)  
      org.intocps.fmi.FmuResult<double[]> getReal​(long[] longs)  
      org.intocps.fmi.FmuResult<double[]> getRealOutputDerivatives​(long[] longs, int[] ints)  
      org.intocps.fmi.FmuResult<org.intocps.fmi.IFmiComponentState> getState()  
      org.intocps.fmi.FmuResult<java.lang.String[]> getStrings​(long[] longs)  
      org.intocps.fmi.Fmi2Status setBooleans​(long[] longs, boolean[] booleen)  
      org.intocps.fmi.Fmi2Status setIntegers​(long[] longs, int[] ints)  
      org.intocps.fmi.Fmi2Status setRealInputDerivatives​(long[] longs, int[] ints, double[] doubles)  
      org.intocps.fmi.Fmi2Status setReals​(long[] longs, double[] doubles)  
      org.intocps.fmi.Fmi2Status setState​(org.intocps.fmi.IFmiComponentState iFmiComponentState)  
      org.intocps.fmi.Fmi2Status setStrings​(long[] longs, java.lang.String[] strings)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.intocps.fmi.IFmiComponent

        doStep, enterInitializationMode, exitInitializationMode, freeInstance, getBooleanStatus, getFmu, getIntegerStatus, getMaxStepSize, getRealStatus, getStatus, getStringStatus, isValid, reset, setDebugLogging, setupExperiment, terminate
    • Constructor Detail

      • HierarchicalCoeStateComponent

        public HierarchicalCoeStateComponent()
    • Method Detail

      • getReal

        public org.intocps.fmi.FmuResult<double[]> getReal​(long[] longs)
                                                    throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getReal in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • getInteger

        public org.intocps.fmi.FmuResult<int[]> getInteger​(long[] longs)
                                                    throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getInteger in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • getBooleans

        public org.intocps.fmi.FmuResult<boolean[]> getBooleans​(long[] longs)
                                                         throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getBooleans in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • getStrings

        public org.intocps.fmi.FmuResult<java.lang.String[]> getStrings​(long[] longs)
                                                                 throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getStrings in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • setBooleans

        public org.intocps.fmi.Fmi2Status setBooleans​(long[] longs,
                                                      boolean[] booleen)
                                               throws org.intocps.fmi.InvalidParameterException,
                                                      org.intocps.fmi.FmiInvalidNativeStateException
        Specified by:
        setBooleans in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.InvalidParameterException
        org.intocps.fmi.FmiInvalidNativeStateException
      • setReals

        public org.intocps.fmi.Fmi2Status setReals​(long[] longs,
                                                   double[] doubles)
                                            throws org.intocps.fmi.InvalidParameterException,
                                                   org.intocps.fmi.FmiInvalidNativeStateException
        Specified by:
        setReals in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.InvalidParameterException
        org.intocps.fmi.FmiInvalidNativeStateException
      • setIntegers

        public org.intocps.fmi.Fmi2Status setIntegers​(long[] longs,
                                                      int[] ints)
                                               throws org.intocps.fmi.InvalidParameterException,
                                                      org.intocps.fmi.FmiInvalidNativeStateException
        Specified by:
        setIntegers in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.InvalidParameterException
        org.intocps.fmi.FmiInvalidNativeStateException
      • setStrings

        public org.intocps.fmi.Fmi2Status setStrings​(long[] longs,
                                                     java.lang.String[] strings)
                                              throws org.intocps.fmi.InvalidParameterException,
                                                     org.intocps.fmi.FmiInvalidNativeStateException
        Specified by:
        setStrings in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.InvalidParameterException
        org.intocps.fmi.FmiInvalidNativeStateException
      • setRealInputDerivatives

        public org.intocps.fmi.Fmi2Status setRealInputDerivatives​(long[] longs,
                                                                  int[] ints,
                                                                  double[] doubles)
                                                           throws org.intocps.fmi.FmuInvocationException
        Specified by:
        setRealInputDerivatives in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • getRealOutputDerivatives

        public org.intocps.fmi.FmuResult<double[]> getRealOutputDerivatives​(long[] longs,
                                                                            int[] ints)
                                                                     throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getRealOutputDerivatives in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • getDirectionalDerivative

        public org.intocps.fmi.FmuResult<double[]> getDirectionalDerivative​(long[] longs,
                                                                            long[] longs1,
                                                                            double[] doubles)
                                                                     throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getDirectionalDerivative in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • getState

        public org.intocps.fmi.FmuResult<org.intocps.fmi.IFmiComponentState> getState()
                                                                               throws org.intocps.fmi.FmuInvocationException
        Specified by:
        getState in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • setState

        public org.intocps.fmi.Fmi2Status setState​(org.intocps.fmi.IFmiComponentState iFmiComponentState)
                                            throws org.intocps.fmi.FmuInvocationException
        Specified by:
        setState in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException
      • freeState

        public org.intocps.fmi.Fmi2Status freeState​(org.intocps.fmi.IFmiComponentState iFmiComponentState)
                                             throws org.intocps.fmi.FmuInvocationException
        Specified by:
        freeState in interface org.intocps.fmi.IFmiComponent
        Throws:
        org.intocps.fmi.FmuInvocationException