public abstract class AbstractSingleComponentController extends Abstract4diacPluginController
CommLayerParams
,
IForteSocket
,
IPluginController
INVALID_INDEX
Constructor and Description |
---|
AbstractSingleComponentController()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Method for disconnecting the communication sockets.
|
getCreator, getPropertiesToHide, getVersion, initialiseSimulation, terminateSimulation
addPreSimulatableComponent, build, closeResources, exportResource, getControlSignal, getControlSignalIndex, getControlSignals, getControlSignalsToHide, getControlSignalsUsed, getCSIdx, getDescription, getDocumentation, getFixedTimestep, getId, getLogs, getProp, getProperty, getPropertyIndex, getPropertyValue, getPropertyValue, getSensor, getSensor, getSensorIndex, getSensors, getSensorsToHide, getSnIdx, isEnabled, isPreSimulatableComponentAvailable, setControlSignal
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
control, getConfiguration, getName
public AbstractSingleComponentController() throws com.velasolaris.plugin.controller.spi.PluginControllerException
com.velasolaris.plugin.controller.spi.PluginControllerException
public void disconnect()
Abstract4diacPluginController
try { // implement control() method here } catch (PluginControllerException e) { disconnect(); throw e; // rethrow exception }