All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencv.core.TickMeter Maven / Gradle / Ivy

There is a newer version: 2.0.5
Show newest version
/*
 * Copyright (c) 2010-2019, sikuli.org, sikulix.com - MIT license
 */

//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.core;



// C++: class TickMeter
//javadoc: TickMeter

public class TickMeter {

    protected final long nativeObj;
    protected TickMeter(long addr) { nativeObj = addr; }

    public long getNativeObjAddr() { return nativeObj; }

    // internal usage only
    public static TickMeter __fromPtr__(long addr) { return new TickMeter(addr); }

    //
    // C++:   TickMeter()
    //

    //javadoc: TickMeter::TickMeter()
    public   TickMeter()
    {
        
        nativeObj = TickMeter_0();
        
        return;
    }


    //
    // C++:  double getTimeMicro()
    //

    //javadoc: TickMeter::getTimeMicro()
    public  double getTimeMicro()
    {
        
        double retVal = getTimeMicro_0(nativeObj);
        
        return retVal;
    }


    //
    // C++:  double getTimeMilli()
    //

    //javadoc: TickMeter::getTimeMilli()
    public  double getTimeMilli()
    {
        
        double retVal = getTimeMilli_0(nativeObj);
        
        return retVal;
    }


    //
    // C++:  double getTimeSec()
    //

    //javadoc: TickMeter::getTimeSec()
    public  double getTimeSec()
    {
        
        double retVal = getTimeSec_0(nativeObj);
        
        return retVal;
    }


    //
    // C++:  int64 getCounter()
    //

    //javadoc: TickMeter::getCounter()
    public  long getCounter()
    {
        
        long retVal = getCounter_0(nativeObj);
        
        return retVal;
    }


    //
    // C++:  int64 getTimeTicks()
    //

    //javadoc: TickMeter::getTimeTicks()
    public  long getTimeTicks()
    {
        
        long retVal = getTimeTicks_0(nativeObj);
        
        return retVal;
    }


    //
    // C++:  void reset()
    //

    //javadoc: TickMeter::reset()
    public  void reset()
    {
        
        reset_0(nativeObj);
        
        return;
    }


    //
    // C++:  void start()
    //

    //javadoc: TickMeter::start()
    public  void start()
    {
        
        start_0(nativeObj);
        
        return;
    }


    //
    // C++:  void stop()
    //

    //javadoc: TickMeter::stop()
    public  void stop()
    {
        
        stop_0(nativeObj);
        
        return;
    }


    @Override
    protected void finalize() throws Throwable {
        delete(nativeObj);
    }



    // C++:   TickMeter()
    private static native long TickMeter_0();

    // C++:  double getTimeMicro()
    private static native double getTimeMicro_0(long nativeObj);

    // C++:  double getTimeMilli()
    private static native double getTimeMilli_0(long nativeObj);

    // C++:  double getTimeSec()
    private static native double getTimeSec_0(long nativeObj);

    // C++:  int64 getCounter()
    private static native long getCounter_0(long nativeObj);

    // C++:  int64 getTimeTicks()
    private static native long getTimeTicks_0(long nativeObj);

    // C++:  void reset()
    private static native void reset_0(long nativeObj);

    // C++:  void start()
    private static native void start_0(long nativeObj);

    // C++:  void stop()
    private static native void stop_0(long nativeObj);

    // native support for java finalize()
    private static native void delete(long nativeObj);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy