OpenASIP  2.0
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. More...
 
 ~FUResultType ()
 The destructor. Frees all memory. More...
 

Public Attributes

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

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),
99  numberOfElements(0) {}

◆ ~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:
FUResultType::size
const int size
size of the array
Definition: CompiledSimulation.hh:89
FUResultElementType
Definition: CompiledSimulation.hh:71
FUResultType::data
FUResultElementType * data
array of result elements
Definition: CompiledSimulation.hh:91
FUResultType::numberOfElements
int numberOfElements
Number of active elements in the buffer.
Definition: CompiledSimulation.hh:93