Overview

Namespaces

  • Csim
    • Controller
    • Model
    • Util
  • PHP

Classes

  • Controller
  • SessionManager
  • Overview
  • Namespace
  • Class
  • Tree

Class Controller

The application's only controller. All calls to the model pass through here.

Namespace: Csim\Controller
Located at classes/Csim/Controller/Controller.php
Methods summary
public Csim\Model\SimulationState
# defineCache( Csim\Model\CacheLayout $layout )

Creates a cache with the specified layout.

Creates a cache with the specified layout.

Parameters

$layout
Csim\Model\CacheLayout
$layout The layout of the cache that shall be created.

Returns

Csim\Model\SimulationState
The state of the newly created, empty, cahce.
public Csim\Model\SimulationState
# simulateInstruction( Csim\Model\Instruction $instruction )

Simulates the specified instruction.

Simulates the specified instruction.

Parameters

$instruction
type
$instruction The instruction that shall be simulated.

Returns

Csim\Model\SimulationState
The state after simulating the specified instruction.
csim-jquery-nophpfw API documentation generated by ApiGen 2.8.0