
com.codeminders.ardrone.controllers.Controller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javadrone-api Show documentation
Show all versions of javadrone-api Show documentation
Java API (without using native code) to control AR.Drone
The newest version!
package com.codeminders.ardrone.controllers;
import java.io.IOException;
/**
* Base abstract class for supported controllers
*
* @author lord
*
*/
public abstract class Controller
{
public abstract void close() throws IOException;
public abstract String getName();
public abstract String getManufacturerString();
public abstract String getProductString();
public abstract GameControllerState read() throws IOException;
@Override
public String toString()
{
StringBuilder builder = new StringBuilder();
builder.append(getName() + " [");
builder.append("manufacturer=");
builder.append(getManufacturerString());
builder.append(", product=");
builder.append(getProductString());
builder.append("]");
return builder.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy