BowlerKernel
Public Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.bootloader.Core Class Reference
Collaboration diagram for com.neuronrobotics.sdk.bootloader.Core:
Collaboration graph
[legend]

Public Member Functions

 Core (int core, ArrayList< hexLine > lines, NRBootCoreType type)
 
 Core (int core, String file, NRBootCoreType type)
 
void setIndex (int index)
 
int getIndex ()
 
void setType (NRBootCoreType type)
 
NRBootCoreType getType ()
 
void setLines (ArrayList< hexLine > lines)
 
ArrayList< hexLinegetLines ()
 
String toString ()
 

Private Attributes

int index
 
NRBootCoreType type
 
ArrayList< hexLinelines = new ArrayList<hexLine>()
 

Detailed Description

The Class Core.

Definition at line 13 of file Core.java.

Constructor & Destructor Documentation

◆ Core() [1/2]

com.neuronrobotics.sdk.bootloader.Core.Core ( int  core,
ArrayList< hexLine lines,
NRBootCoreType  type 
)

Instantiates a new core.

Parameters
corethe core
linesthe lines
typethe type

Definition at line 31 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.lines, com.neuronrobotics.sdk.bootloader.Core.setIndex(), and com.neuronrobotics.sdk.bootloader.Core.setType().

Here is the call graph for this function:

◆ Core() [2/2]

com.neuronrobotics.sdk.bootloader.Core.Core ( int  core,
String  file,
NRBootCoreType  type 
)

Instantiates a new core.

Parameters
corethe core
filethe file
typethe type

Definition at line 44 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.setIndex(), com.neuronrobotics.sdk.bootloader.Core.setLines(), and com.neuronrobotics.sdk.bootloader.Core.setType().

Here is the call graph for this function:

Member Function Documentation

◆ getIndex()

int com.neuronrobotics.sdk.bootloader.Core.getIndex ( )

Gets the index.

Returns
the index

Definition at line 83 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.index.

Referenced by com.neuronrobotics.sdk.bootloader.NRBoot.load().

◆ getLines()

ArrayList<hexLine> com.neuronrobotics.sdk.bootloader.Core.getLines ( )

Gets the lines.

Returns
the lines

Definition at line 119 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.lines.

Referenced by com.neuronrobotics.sdk.bootloader.NRBoot.getParser().

◆ getType()

NRBootCoreType com.neuronrobotics.sdk.bootloader.Core.getType ( )

◆ setIndex()

void com.neuronrobotics.sdk.bootloader.Core.setIndex ( int  index)

Sets the index.

Parameters
indexthe new index

Definition at line 74 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.index.

Referenced by com.neuronrobotics.sdk.bootloader.Core.Core().

◆ setLines()

void com.neuronrobotics.sdk.bootloader.Core.setLines ( ArrayList< hexLine lines)

Sets the lines.

Parameters
linesthe new lines

Definition at line 110 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.lines.

Referenced by com.neuronrobotics.sdk.bootloader.Core.Core().

◆ setType()

void com.neuronrobotics.sdk.bootloader.Core.setType ( NRBootCoreType  type)

Sets the type.

Parameters
typethe new type

Definition at line 92 of file Core.java.

References com.neuronrobotics.sdk.bootloader.Core.type.

Referenced by com.neuronrobotics.sdk.bootloader.Core.Core().

◆ toString()

String com.neuronrobotics.sdk.bootloader.Core.toString ( )

Member Data Documentation

◆ index

int com.neuronrobotics.sdk.bootloader.Core.index
private

◆ lines

ArrayList<hexLine> com.neuronrobotics.sdk.bootloader.Core.lines = new ArrayList<hexLine>()
private

◆ type

NRBootCoreType com.neuronrobotics.sdk.bootloader.Core.type
private

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