ArduinoTemplate.java
/*******************************************************************************
* jArduino: Arduino C++ Code Generation From Java
* Copyright 2020 Tony Washer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package net.sourceforge.jarduino.message;
/**
* Arduino templates.
*/
public final class ArduinoTemplate {
/**
* Private constructor.
*/
private ArduinoTemplate() {
}
/**
* The field template.
*/
static final String HDRFIELD = ArduinoLibrary.loadLibraryTemplate("field.h");
/**
* The fieldDefs template.
*/
static final String HDRFIELDDEF = ArduinoLibrary.loadLibraryTemplate("defField.h");
/**
* The fieldDefs template.
*/
static final String BDYFIELDDEF = ArduinoLibrary.loadLibraryTemplate("defField.cpp");
/**
* The header setter template.
*/
static final String HDRSETTER = ArduinoLibrary.loadLibraryTemplate("setter.h");
/**
* The header getter template.
*/
static final String HDRGETTER = ArduinoLibrary.loadLibraryTemplate("getter.h");
/**
* The mux setter template.
*/
static final String MUXSETTER = ArduinoLibrary.loadLibraryTemplate("muxsetter.h");
/**
* The body parser template.
*/
static final String BDYPARSER = ArduinoLibrary.loadLibraryTemplate("readField.cpp");
/**
* The body writer template.
*/
static final String BDYWRITER = ArduinoLibrary.loadLibraryTemplate("writeField.cpp");
/**
* The muxSetPriv template.
*/
static final String MUXSETPRIV = ArduinoLibrary.loadLibraryTemplate("muxsetpriv.cpp");
/**
* The muxSetPub template.
*/
static final String MUXSETPUB = ArduinoLibrary.loadLibraryTemplate("muxsetpub.cpp");
/**
* The muxSwitchPriv template.
*/
static final String MUXSWITCHPRIV = ArduinoLibrary.loadLibraryTemplate("muxswitchpriv.cpp");
/**
* The muxSwitchPub template.
*/
static final String MUXSWITCHPUB = ArduinoLibrary.loadLibraryTemplate("muxswitchpub.cpp");
/**
* The header class template.
*/
static final String HDRCLASS = ArduinoLibrary.loadLibraryTemplate("class.h");
/**
* The header multiClass template.
*/
static final String HDRMULTICLASS = ArduinoLibrary.loadLibraryTemplate("multiclass.h");
/**
* The header parseClass template.
*/
static final String HDRPARSECLASS = ArduinoLibrary.loadLibraryTemplate("parse.class.h");
/**
* The header buildClass template.
*/
static final String HDRBUILDCLASS = ArduinoLibrary.loadLibraryTemplate("build.class.h");
/**
* The header buildMultiClass template.
*/
static final String HDRBUILDMULTICLASS = ArduinoLibrary.loadLibraryTemplate("buildMulti.class.h");
/**
* The body class template.
*/
static final String BDYCLASS = ArduinoLibrary.loadLibraryTemplate("class.cpp");
/**
* The body multiClass template.
*/
static final String BDYMULTICLASS = ArduinoLibrary.loadLibraryTemplate("multiclass.cpp");
/**
* The body parseClass template.
*/
static final String BDYPARSECLASS = ArduinoLibrary.loadLibraryTemplate("parse.class.cpp");
/**
* The body parseMultiClass template.
*/
static final String BDYPARSEMULTICLASS = ArduinoLibrary.loadLibraryTemplate("parseMulti.class.cpp");
/**
* The body buildClass template.
*/
static final String BDYBUILDCLASS = ArduinoLibrary.loadLibraryTemplate("build.class.cpp");
/**
* The body buildMultiClass template.
*/
static final String BDYBUILDMULTICLASS = ArduinoLibrary.loadLibraryTemplate("buildMulti.class.cpp");
/**
* The parse MsgCase template.
*/
static final String PRSMSGCASE = ArduinoLibrary.loadLibraryTemplate("caseMsg.cpp");
/**
* The parse multiClass template.
*/
static final String PRSMULTIMSG = ArduinoLibrary.loadLibraryTemplate("caseMulti.cpp");
/**
* The parse multiClassMsg template.
*/
static final String PRSMULTIMSGCASE = ArduinoLibrary.loadLibraryTemplate("caseMultiMsg.cpp");
/**
* The header template.
*/
static final String HEADER = ArduinoLibrary.loadLibraryTemplate("h");
/**
* The body template.
*/
static final String BODY = ArduinoLibrary.loadLibraryTemplate("cpp");
}