LoadRuntime Struct Reference

#include <vm.h>

详细描述

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

公共成员函数

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

Private Attributes

DEFAULTRUNTIME   _defaultRuntime
const Url   _runtimePath
const Runtime _runtime

构造函数 & 析构函数文档编制

◆  LoadRuntime() [1/2]

MAXON_IMPLICIT LoadRuntime ( DEFAULTRUNTIME   defaultRuntime )

◆  LoadRuntime() [2/2]

MAXON_IMPLICIT LoadRuntime ( const Runtime runtime )

成员函数文档编制

◆  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