ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
VirtualMachine::Command::OperationParam Union Reference

Description:

A union of different parameter types for the commands.

Definition at line 97 of file virtualmachine.hpp.

#include <virtualmachine.hpp>

Collaboration diagram for VirtualMachine::Command::OperationParam:
[legend]

Public Field Index:

CallbackDecl Callback
 A C++ callback function to invoke.
 
PC Distance
 A distance to jump.
 
ProgramNestedProgram
 The nested virtual machine program to invoke.
 

Public Method Index:

 OperationParam ()
 Default constructor leaving this instance uninitialized.
 
 OperationParam (CallbackDecl callback)
 
 OperationParam (integer distance)
 
 OperationParam (Program *program)
 

Field Details:

◆ Callback

CallbackDecl Callback

A C++ callback function to invoke.

Definition at line 100 of file virtualmachine.hpp.

◆ Distance

PC Distance

A distance to jump.

Definition at line 99 of file virtualmachine.hpp.

◆ NestedProgram

Program* NestedProgram

The nested virtual machine program to invoke.

Definition at line 101 of file virtualmachine.hpp.

Constructor(s) / Destructor Details:

◆ OperationParam() [1/4]

OperationParam ( )
inline

Default constructor leaving this instance uninitialized.

Definition at line 104 of file virtualmachine.hpp.

◆ OperationParam() [2/4]

OperationParam ( integer distance)
inline

Union constructor.

Parameters
distanceStored in Distance.

Definition at line 108 of file virtualmachine.hpp.

◆ OperationParam() [3/4]

OperationParam ( CallbackDecl callback)
inline

Union constructor.

Parameters
callbackStored in Callback.

Definition at line 112 of file virtualmachine.hpp.

◆ OperationParam() [4/4]

OperationParam ( Program * program)
inline

Union constructor.

Parameters
programStored in NestedProgram.

Definition at line 116 of file virtualmachine.hpp.


The documentation for this union was generated from the following file: