Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: test :: performance ::

interface XPerformanceTest

Base Interface
com::sun::star::uno::XInterface

Description
* A performance test object has to be implemented in a special way, that:
*
  • queryInterface() execution times remain (nearly) static
  • *
  • functions kept simple, thus there is (nearly) no execution time of the function itself
  • *
  • no dynamic data is ever returned except of createObject(), so return 0, empty strings etc.
  • * * The interface is divided into three sections:
    *
  • measuring asynchron/ synchron calls
  • *
  • complex data calls with/out return value; in/out parameters
  • *
  • single data types like long, float, string etc.
  • *
  • method calls versa attribute calls
  • *
  • raising RuntimeException
  • *


    Methods' Summary

    async
    sync
    complex_in
    complex_inout
    complex_oneway
    complex_noreturn
    createObject
    getLong
    setLong
    getHyper
    setHyper
    getFloat
    setFloat
    getDouble
    setDouble
    getString
    setString
    getInterface
    setInterface
    getAny
    setAny
    getSequence
    setSequence
    getStruct
    setStruct
    raiseRuntimeException

    Methods' Details

    async
     
    [ oneway ] void
    async();
    sync
     
    void
    sync();
    complex_in
     
    com::sun::star::test::performance::ComplexTypes
    complex_in(
    [ in ] com::sun::star::test::performance::ComplexTypes aVal );

    complex_inout
     
    com::sun::star::test::performance::ComplexTypes
    complex_inout(
    [ inout ] com::sun::star::test::performance::ComplexTypes aVal );

    complex_oneway
     
    [ oneway ] void
    complex_oneway(
    [ in ] com::sun::star::test::performance::ComplexTypes aVal );

    complex_noreturn
     
    void
    complex_noreturn(
    [ in ] com::sun::star::test::performance::ComplexTypes aVal );

    createObject
     
    com::sun::star::test::performance::XPerformanceTest
    createObject();
    getLong
     
    long
    getLong();
    setLong
     
    void
    setLong(
    [ in ] long n );

    getHyper
     
    hyper
    getHyper();
    setHyper
     
    void
    setHyper(
    [ in ] hyper n );

    getFloat
     
    float
    getFloat();
    setFloat
     
    void
    setFloat(
    [ in ] float f );

    getDouble
     
    double
    getDouble();
    setDouble
     
    void
    setDouble(
    [ in ] double f );

    getString
     
    string
    getString();
    setString
     
    void
    setString(
    [ in ] string s );

    getInterface
     
    com::sun::star::uno::XInterface
    getInterface();
    setInterface
     
    void
    setInterface(
    [ in ] com::sun::star::uno::XInterface x );

    getAny
     
    any
    getAny();
    setAny
     
    void
    setAny(
    [ in ] any a );

    getSequence
     
    sequence< com::sun::star::uno::XInterface >
    getSequence();
    setSequence
     
    void
    setSequence(
    [ in ] sequence< com::sun::star::uno::XInterface > seq );

    getStruct
     
    com::sun::star::test::performance::ComplexTypes
    getStruct();
    setStruct
     
    void
    setStruct(
    [ in ] com::sun::star::test::performance::ComplexTypes c );

    raiseRuntimeException
     
    void
    raiseRuntimeException();

    Top of Page