BowlerKernel
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.bowlerstudio.printbed.PrintBedManager Class Reference
Collaboration diagram for com.neuronrobotics.bowlerstudio.printbed.PrintBedManager:
Collaboration graph
[legend]

Public Member Functions

 PrintBedManager (String url, ArrayList< CSG > parts)
 
 PrintBedManager (File dir, ArrayList< CSG > parts)
 
boolean init (File dir, ArrayList< CSG > parts)
 
ArrayList< CSGmakePrintBeds ()
 
ArrayList< CSGget ()
 
boolean hasPrintBed ()
 
void setHasPrintBed (boolean hasPrintBed)
 

Static Public Attributes

static String file = "printbed.json"
 

Private Member Functions

synchronized void saveLocal ()
 
void write (String file, String content) throws InvalidRemoteException, TransportException, GitAPIException, IOException
 
void save ()
 

Private Attributes

UserManagedPrintBedData database = null
 
String url
 
ArrayList< CSGparts
 
HashSet< String > names = new HashSet<String>()
 
boolean hasPrintBed = false
 

Detailed Description

Definition at line 33 of file PrintBedManager.java.

Constructor & Destructor Documentation

◆ PrintBedManager() [1/2]

com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.PrintBedManager ( String  url,
ArrayList< CSG parts 
)

◆ PrintBedManager() [2/2]

com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.PrintBedManager ( File  dir,
ArrayList< CSG parts 
)

Member Function Documentation

◆ get()

ArrayList<CSG> com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.get ( )

Definition at line 186 of file PrintBedManager.java.

◆ hasPrintBed()

boolean com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.hasPrintBed ( )
Returns
the hasPrintBed

Definition at line 227 of file PrintBedManager.java.

References com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.hasPrintBed.

◆ init()

boolean com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.init ( File  dir,
ArrayList< CSG parts 
)

◆ makePrintBeds()

ArrayList<CSG> com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.makePrintBeds ( )

◆ save()

void com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.save ( )
private

◆ saveLocal()

synchronized void com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.saveLocal ( )
private

◆ setHasPrintBed()

void com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.setHasPrintBed ( boolean  hasPrintBed)

◆ write()

void com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.write ( String  file,
String  content 
) throws InvalidRemoteException, TransportException, GitAPIException, IOException
private

Member Data Documentation

◆ database

UserManagedPrintBedData com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.database = null
private

◆ file

String com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.file = "printbed.json"
static

◆ hasPrintBed

boolean com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.hasPrintBed = false
private

◆ names

HashSet<String> com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.names = new HashSet<String>()
private

◆ parts

ArrayList<CSG> com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.parts
private

◆ url

String com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.url
private

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