ProtelisDevice
class ProtelisDevice<P : Position<P>> @JvmOverloads constructor( val environment: Environment<Any, P>, val node: Node<Any>, networkManagers: Map<RunProtelisProgram<*>, AlchemistNetworkManager> = mapOf()) : NodeProperty<Any> , ExecutionEnvironment, DeviceUID
Content copied to clipboard
Base implementation of ProtelisDevice. Requires an environment to work.
Constructors
Link copied to clipboard
fun <P : Position<P>> ProtelisDevice( environment: Environment<Any, P>, node: Node<Any>, networkManagers: Map<RunProtelisProgram<*>, AlchemistNetworkManager> = mapOf())
Content copied to clipboard
Types
Functions
Link copied to clipboard
fun addNetworkManger(program: RunProtelisProgram<*>, networkManager: AlchemistNetworkManager)
Content copied to clipboard
Adds a new AlchemistNetworkManager.
Link copied to clipboard
Finds all the RunProtelisPrograms installed on this node.
Link copied to clipboard
Link copied to clipboard
fun getNetworkManager(program: RunProtelisProgram<*>): AlchemistNetworkManager
Content copied to clipboard