blob: 064892ee8f9526216ae5157a1f6729560845234d [file] [log] [blame]
/*****************************************************************************
*
* Copyright (c) 2016 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* CEA LIST Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.moka.fmi.master.jnr;
import org.eclipse.papyrus.moka.fmi.master.jnr.FMI2Callbacks.FMI2Logger;
import jnr.ffi.Pointer;
public class SimpleFMI2LoggerImpl implements FMI2Logger {
@Override
public void call(Pointer cmp, String cmpName, int status, String category, String message) {
//TODO implement an FMI console and handle related category/status functionalities
System.out.println("==>Component " + cmpName + " : "+ message);
}
}