Module com.pi4j.plugin.raspberrypi
Class RaspberryPiPlatform
- java.lang.Object
-
- com.pi4j.common.IdentityBase<T>
-
- com.pi4j.extension.ExtensionBase<Platform>
-
- com.pi4j.platform.PlatformBase<RaspberryPiPlatform>
-
- com.pi4j.plugin.raspberrypi.platform.RaspberryPiPlatform
-
- All Implemented Interfaces:
Describable,Identity,Lifecycle<Platform>,Extension<Platform>,com.pi4j.internal.IOCreator,com.pi4j.internal.ProviderAliases,com.pi4j.internal.ProviderProvider,Platform
public class RaspberryPiPlatform extends PlatformBase<RaspberryPiPlatform> implements Platform
RaspberryPiPlatform class.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Field Summary
-
Fields inherited from class com.pi4j.platform.PlatformBase
context, logger, providers
-
Fields inherited from class com.pi4j.common.IdentityBase
description, id, metadata, name
-
-
Constructor Summary
Constructors Constructor Description RaspberryPiPlatform()Constructor for RaspberryPiPlatform.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanenabled(Context context)protected String[]getProviders()intpriority()-
Methods inherited from class com.pi4j.platform.PlatformBase
addProvider, create, create, create, initialize, provider, providers, shutdown
-
Methods inherited from class com.pi4j.common.IdentityBase
description, id, metadata, name
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.pi4j.common.Identity
description, getDescription, getId, getMetadata, getName, id, metadata, name
-
Methods inherited from interface com.pi4j.internal.IOCreator
create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create
-
Methods inherited from interface com.pi4j.common.Lifecycle
initialize, shutdown
-
Methods inherited from interface com.pi4j.platform.Platform
create, create, create, describe, hasProvider, hasProvider, hasProvider, provider, provider, provider, provider, providers
-
Methods inherited from interface com.pi4j.internal.ProviderAliases
ain, analogInput, analogOutput, aout, digitalInput, digitalOutput, din, dout, getAnalogInputProvider, getAnalogOutputProvider, getDigitalInputProvider, getDigitalOutputProvider, getI2CProvider, getPwmProvider, getSerialProvider, getSpiProvider, i2c, pwm, serial, spi
-
-
-
-
Method Detail
-
priority
public int priority()
- Specified by:
priorityin interfacePlatform- Specified by:
priorityin classPlatformBase<RaspberryPiPlatform>
-
enabled
public boolean enabled(Context context)
- Specified by:
enabledin interfacePlatform- Specified by:
enabledin classPlatformBase<RaspberryPiPlatform>
-
getProviders
protected String[] getProviders()
- Specified by:
getProvidersin classPlatformBase<RaspberryPiPlatform>
-
-