BlowTorch
 All Classes Namespaces Files Functions Variables Enumerator Pages
Classes | Public Member Functions | Static Public Attributes | List of all members
com.offsetnull.bt.service.plugin.Plugin Class Reference
Inheritance diagram for com.offsetnull.bt.service.plugin.Plugin:
Inheritance graph
[legend]
Collaboration diagram for com.offsetnull.bt.service.plugin.Plugin:
Collaboration graph
[legend]

Classes

class  TriggerEnabledFunction
 

Public Member Functions

 Plugin (Handler h, ConnectionPluginCallback parent, String path, String dataDir) throws LuaException
 
 Plugin (PluginSettings settings, Handler h, ConnectionPluginCallback parent, String path, String dataDir) throws LuaException
 
void initTimers ()
 
void setSettings (PluginSettings settings)
 
PluginSettings getSettings ()
 
void initScripts (ArrayList< WindowToken > windows)
 
void shutdown ()
 
String getName ()
 
void displayLuaError (String message)
 
void execute (String callback, String args)
 
void xcallS (String function, String str)
 
LuaState getLuaState ()
 
void setFullPath (String fullPath)
 
String getFullPath ()
 
void setShortName (String shortName)
 
String getShortName ()
 
int getTriggerCount ()
 
int getAliasCount ()
 
int getTimerCount ()
 
int getScriptCount ()
 
String getStorageType ()
 
void handleGMCPCallback (String callback, HashMap< String, Object > data)
 
void addTrigger (TriggerData data)
 
void updateTrigger (TriggerData from, TriggerData to)
 
void buildAliases ()
 
byte[] doAliasReplacement (byte[] input, Boolean reprocess)
 
void startTimer (String key)
 
void stopTimer (String key)
 
void pauseTimer (String key)
 
void resetTimer (String obj)
 
void updateTimerProgress ()
 
void updateBooleanSetting (String key, boolean value)
 
void updateIntegerSetting (String key, int value)
 
void updateFloatSetting (String key, float value)
 
void updateStringSetting (String key, String value)
 
void setEncoding (String encoding)
 
void doBackgroundStartup ()
 
void scriptXmlExport (XmlSerializer out)
 
void sortTriggers ()
 
ArrayList< TriggerDatagetSortedTriggers ()
 
void buildTriggerSystem ()
 
void updateSetting (String key, String value)
 
void pushOptionsToLua ()
 
void setEnabled (boolean enabled)
 
boolean isEnabled ()
 
void markTriggersDirty ()
 
void callFunction (String function)
 
void callFunction (String function, String data)
 
boolean checkPluginSupports (String function)
 
boolean runLuaString (String str)
 
String getScriptBlock ()
 
void setScriptBlock (String scriptBlock)
 
String getOptionValue (String key)
 

Static Public Attributes

static final int LUA_TNIL = 0
 
static final int LUA_TBOOLEAN = 1
 
static final int LUA_TTABLE = 5
 
static final int LUA_TNUMBER = 3
 
static final int LUA_TSTRING = 4
 

Constructor & Destructor Documentation

com.offsetnull.bt.service.plugin.Plugin.Plugin ( Handler  h,
ConnectionPluginCallback  parent,
String  path,
String  dataDir 
) throws LuaException

Here is the call graph for this function:

com.offsetnull.bt.service.plugin.Plugin.Plugin ( PluginSettings  settings,
Handler  h,
ConnectionPluginCallback  parent,
String  path,
String  dataDir 
) throws LuaException

Here is the call graph for this function:

Member Function Documentation

void com.offsetnull.bt.service.plugin.Plugin.addTrigger ( TriggerData  data)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.buildAliases ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.buildTriggerSystem ( )

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.callFunction ( String  function)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.callFunction ( String  function,
String  data 
)

Here is the call graph for this function:

boolean com.offsetnull.bt.service.plugin.Plugin.checkPluginSupports ( String  function)

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.displayLuaError ( String  message)

Here is the call graph for this function:

Here is the caller graph for this function:

byte [] com.offsetnull.bt.service.plugin.Plugin.doAliasReplacement ( byte[]  input,
Boolean  reprocess 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.doBackgroundStartup ( )

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.execute ( String  callback,
String  args 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int com.offsetnull.bt.service.plugin.Plugin.getAliasCount ( )

Here is the call graph for this function:

String com.offsetnull.bt.service.plugin.Plugin.getFullPath ( )

Here is the caller graph for this function:

LuaState com.offsetnull.bt.service.plugin.Plugin.getLuaState ( )
String com.offsetnull.bt.service.plugin.Plugin.getName ( )

Here is the call graph for this function:

Here is the caller graph for this function:

String com.offsetnull.bt.service.plugin.Plugin.getOptionValue ( String  key)

Here is the call graph for this function:

Here is the caller graph for this function:

String com.offsetnull.bt.service.plugin.Plugin.getScriptBlock ( )
int com.offsetnull.bt.service.plugin.Plugin.getScriptCount ( )

Here is the call graph for this function:

PluginSettings com.offsetnull.bt.service.plugin.Plugin.getSettings ( )

Here is the caller graph for this function:

String com.offsetnull.bt.service.plugin.Plugin.getShortName ( )
ArrayList<TriggerData> com.offsetnull.bt.service.plugin.Plugin.getSortedTriggers ( )

Here is the call graph for this function:

Here is the caller graph for this function:

String com.offsetnull.bt.service.plugin.Plugin.getStorageType ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int com.offsetnull.bt.service.plugin.Plugin.getTimerCount ( )

Here is the call graph for this function:

int com.offsetnull.bt.service.plugin.Plugin.getTriggerCount ( )

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.handleGMCPCallback ( String  callback,
HashMap< String, Object >  data 
)

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.initScripts ( ArrayList< WindowToken windows)
void com.offsetnull.bt.service.plugin.Plugin.initTimers ( )

Here is the call graph for this function:

boolean com.offsetnull.bt.service.plugin.Plugin.isEnabled ( )

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.markTriggersDirty ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.pauseTimer ( String  key)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.pushOptionsToLua ( )

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.resetTimer ( String  obj)

Here is the call graph for this function:

boolean com.offsetnull.bt.service.plugin.Plugin.runLuaString ( String  str)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.scriptXmlExport ( XmlSerializer  out)

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.setEnabled ( boolean  enabled)

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.setEncoding ( String  encoding)
void com.offsetnull.bt.service.plugin.Plugin.setFullPath ( String  fullPath)
void com.offsetnull.bt.service.plugin.Plugin.setScriptBlock ( String  scriptBlock)
void com.offsetnull.bt.service.plugin.Plugin.setSettings ( PluginSettings  settings)

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.setShortName ( String  shortName)
void com.offsetnull.bt.service.plugin.Plugin.shutdown ( )

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.sortTriggers ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.startTimer ( String  key)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.stopTimer ( String  key)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateBooleanSetting ( String  key,
boolean  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateFloatSetting ( String  key,
float  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateIntegerSetting ( String  key,
int  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateSetting ( String  key,
String  value 
)

The method to call when a setting has changed.

Parameters
keyThe key of the setting that changed.
valueThe new value of the setting.

Implements com.offsetnull.bt.service.SettingsChangedListener.

Here is the call graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateStringSetting ( String  key,
String  value 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateTimerProgress ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.updateTrigger ( TriggerData  from,
TriggerData  to 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void com.offsetnull.bt.service.plugin.Plugin.xcallS ( String  function,
String  str 
)

Here is the call graph for this function:

Member Data Documentation

final int com.offsetnull.bt.service.plugin.Plugin.LUA_TBOOLEAN = 1
static
final int com.offsetnull.bt.service.plugin.Plugin.LUA_TNIL = 0
static
final int com.offsetnull.bt.service.plugin.Plugin.LUA_TNUMBER = 3
static
final int com.offsetnull.bt.service.plugin.Plugin.LUA_TSTRING = 4
static
final int com.offsetnull.bt.service.plugin.Plugin.LUA_TTABLE = 5
static

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