Open Search
    LoadRuntime Struct Reference

    #include <vm.h>

    Detailed Description

    A helper struct to initialized a virtual machine. Can be initialized by a predefined enum, or a given custom runtime object.

    Public Member Functions

    MAXON_IMPLICIT LoadRuntime (DEFAULTRUNTIME defaultRuntime)
     
    MAXON_IMPLICIT LoadRuntime (const Runtime &runtime)
     
    const RuntimeGetRuntime () const
     
    DEFAULTRUNTIME GetDefaultRuntime () const
     

    Private Attributes

    DEFAULTRUNTIME _defaultRuntime
     
    const Url _runtimePath
     
    const Runtime_runtime
     

    Constructor & Destructor Documentation

    ◆ LoadRuntime() [1/2]

    ◆ LoadRuntime() [2/2]

    MAXON_IMPLICIT LoadRuntime ( const Runtime runtime)

    Member Function Documentation

    ◆ GetRuntime()

    const Runtime* GetRuntime ( ) const

    ◆ GetDefaultRuntime()

    DEFAULTRUNTIME GetDefaultRuntime ( ) const

    Member Data Documentation

    ◆ _defaultRuntime

    DEFAULTRUNTIME _defaultRuntime
    private

    ◆ _runtimePath

    const Url _runtimePath
    private

    ◆ _runtime

    const Runtime* _runtime
    private