OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FUResultType Struct Reference

#include <CompiledSimulation.hh>

Collaboration diagram for FUResultType:
Collaboration graph

Public Member Functions

 FUResultType (int maxLatency)
 A constructor that resets the variables.
 
 ~FUResultType ()
 The destructor. Frees all memory.
 

Public Attributes

const int size
 size of the array
 
FUResultElementTypedata
 array of result elements
 
int numberOfElements
 Number of active elements in the buffer.
 

Detailed Description

A struct for dynamic array containing the FU results

Definition at line 87 of file CompiledSimulation.hh.

Constructor & Destructor Documentation

◆ FUResultType()

FUResultType::FUResultType ( int  maxLatency)
inline

A constructor that resets the variables.

Definition at line 96 of file CompiledSimulation.hh.

97 : size(maxLatency),
int numberOfElements
Number of active elements in the buffer.
const int size
size of the array
FUResultElementType * data
array of result elements

◆ ~FUResultType()

FUResultType::~FUResultType ( )
inline

The destructor. Frees all memory.

Definition at line 101 of file CompiledSimulation.hh.

101{ delete[] data; data = 0; }

References data.

Member Data Documentation

◆ data

FUResultElementType* FUResultType::data

array of result elements

Definition at line 91 of file CompiledSimulation.hh.

Referenced by ~FUResultType().

◆ numberOfElements

int FUResultType::numberOfElements

Number of active elements in the buffer.

Definition at line 93 of file CompiledSimulation.hh.

◆ size

const int FUResultType::size

size of the array

Definition at line 89 of file CompiledSimulation.hh.


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