UseCanNoLxrt.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00025 //----------------------------------------------------------------------
00026 #ifndef _icl_hardware_can_UseCanNoLxrt_h_
00027 #define _icl_hardware_can_UseCanNoLxrt_h_
00028 
00029 #include "icl_hardware_can/tCanMessage.h"
00030 
00031 namespace icl_hardware {
00032 namespace can {
00033 
00035 inline bool CanDriverLxrtSupport()
00036 {
00037   return false;
00038 }
00039 
00041 inline int CreateCanFifoUser(int device_id,
00042                              unsigned acceptance_code, unsigned acceptance_mask, unsigned int baud_rate,
00043                              unsigned send_fifo_size, unsigned receive_fifo_size)
00044 {
00045   errno = ENOSYS;
00046   return -1;
00047 }
00048 
00050 inline int DestroyCanFifoUser(int device_id, int user_id)
00051 {
00052   errno = ENOSYS;
00053   return -1;
00054 }
00055 
00057 inline int CanFifoSend(int device_id, const tCanMessage *msg)
00058 {
00059   errno = ENOSYS;
00060   return -1;
00061 }
00062 
00064 inline int CanFifoReceive(int device_id, int user, tCanMessage *msg)
00065 {
00066   errno = ENOSYS;
00067   return -1;
00068 }
00069 
00070 
00072 inline int CanFifoReset(int device_id)
00073 {
00074   errno = ENOSYS;
00075   return -1;
00076 }
00077 
00078 }
00079 }
00080 
00081 #endif


fzi_icl_can
Author(s):
autogenerated on Tue Aug 8 2017 03:07:51