Repetier-Host Plugin  2.0.0
RepetierHostExtender.interfaces.PrinterConnectorBase Class Referenceabstract

Base class for all ways to connect a 3d printer to the host. Each connection type has to inherit and implement this interface. More...

Public Member Functions

delegate void OnPauseChanged (bool paused)
 
abstract void Activate ()
 
abstract void Deactivate ()
 
abstract bool Connect (bool failSilent=false)
 
abstract bool Disconnect (bool force)
 
abstract bool IsConnected ()
 
abstract void InjectManualCommand (string command)
 
abstract void InjectManualCommandFirst (string command)
 
abstract void InjectManualCommandReplace (string command)
 
abstract bool HasInjectedMCommand (int code)
 
abstract UserControl ConnectionDialog ()
 
virtual void ConnectionDialogVisible ()
 
virtual void ConnectionDialogHidden ()
 
abstract void SetConfiguration (IRegMemoryFolder key)
 
abstract void SaveToRegistry ()
 
abstract void LoadFromRegistry ()
 
abstract void Emergency ()
 
abstract void RunJob ()
 
abstract void PauseJob (string text)
 
abstract void ContinueJob ()
 
abstract void KillJob ()
 
abstract bool IsJobRunning ()
 
abstract void TrySendNextLine ()
 
abstract void ResendLine (int line)
 
abstract void GetInjectLock ()
 
abstract void ReturnInjectLock ()
 
abstract void RunPeriodicalTasks ()
 
abstract void ToggleETAMode ()
 
abstract void AnalyzeResponse (string res)
 
virtual void UploadCurrentGCode ()
 

Public Attributes

long linesSend = 0
 
OnPauseChanged eventPauseChanged
 These delegate methods are called after pause state is changed. More...
 

Properties

abstract string Name [get]
 
abstract string Id [get]
 
abstract bool IsPaused [get]
 
abstract int MaxLayer [get]
 
abstract string ETA [get]
 
abstract bool ETAModeNormal [get, set]
 
abstract IPrintJob Job [get]
 
abstract int InjectedCommands [get]
 
virtual bool ServerConnection [get]
 A server connection does handle printer initalization on it's own. It also handles print jobs on it's own which needs a different behaviour at several places. More...
 
virtual bool PrinterAccessible [get]
 Returns true if printer is accessible. For directly connected printers this is true when a printer is connected. For servers the printer might be disabled while connection to server is open. More...
 

Detailed Description

Base class for all ways to connect a 3d printer to the host. Each connection type has to inherit and implement this interface.

Member Data Documentation

◆ eventPauseChanged

OnPauseChanged RepetierHostExtender.interfaces.PrinterConnectorBase.eventPauseChanged

These delegate methods are called after pause state is changed.

Property Documentation

◆ PrinterAccessible

virtual bool RepetierHostExtender.interfaces.PrinterConnectorBase.PrinterAccessible
get

Returns true if printer is accessible. For directly connected printers this is true when a printer is connected. For servers the printer might be disabled while connection to server is open.

◆ ServerConnection

virtual bool RepetierHostExtender.interfaces.PrinterConnectorBase.ServerConnection
get

A server connection does handle printer initalization on it's own. It also handles print jobs on it's own which needs a different behaviour at several places.


The documentation for this class was generated from the following file:
About Us | Privacy Policy