OpcUaCanOpen
CANopen OPC-UA server
CanModule Namespace Reference

© Copyright CERN, 2015. More...

Classes

class  CanBusAccess
 CanBusAccess class ensure a connection to can hardware. More...
 
class  CanLibLoader
 
class  CanLibLoaderLin
 
class  CanLibLoaderWin
 
class  CanModuleUtils
 
struct  CanParameters
 
class  CanStatistics
 
class  CCanAccess
 

Typedefs

typedef CCanAccessf_canAccess()
 

Functions

timeval convertTimepointToTimeval (const std::chrono::system_clock::time_point &t1)
 
std::chrono::system_clock::time_point convertTimevalToTimepoint (const timeval &t1)
 
double CanModulesubtractTimeval (const std::chrono::system_clock::time_point &t1, const std::chrono::system_clock::time_point &t2)
 
std::chrono::system_clock::time_point currentTimeTimeval ()
 
std::string CanModuleerrnoToString ()
 
static std::string version ()
 
typedef __declspec (dllimport) CCanAccess *f_CCanAccess()
 

Variables

const std::string LogItComponentName = "CanModule"
 

Detailed Description

© Copyright CERN, 2015.

All rights not expressly granted are reserved.

CanModuleUtils.h

Created on: Oct 22, 2014 Author: Piotr Nikiel piotr.nosp@m.@nik.nosp@m.iel.i.nosp@m.nfo

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CCanAccess.h

Created on: Apr 4, 2011 Author: vfilimon maintaining touches: mludwig, quasar team

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanBusAccess.cpp

Created on: Apr 4, 2011 Author: vfilimon maintaining touches: mludwig, quasar team

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanModuleUtils.cpp

Created on: Nov 24, 2014 Author: pnikiel * CanBusAccess.cpp

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanModuleUtils.cpp

CanStatistics.cpp

Created on: Mar 17, 2015 Author: pnikiel

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanLibLoader.h

Created on: Feb 22, 2012 Author: vfilimon mludwig at cern dot ch

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanLibLoaderLin.h

Created on: Feb 22, 2012 Author: vfilimon mludwig at cern dot ch

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanLibLoader.cpp

Created on: Feb 22, 2012 Author: vfilimon mludwig at cern dot ch

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanLibLoaderLin.cpp

Created on: Feb 22, 2012 Author: vfilimon mludwig at cern dot ch

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

All rights not expressly granted are reserved.

CanLibLoaderWin.cpp

Created on: Feb 22, 2012 Author: vfilimon mludwig at cern dot ch

This file is part of Quasar.

Quasar is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licence as published by the Free Software Foundation, either version 3 of the Licence.

Quasar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public Licence for more details.

You should have received a copy of the GNU Lesser General Public License along with Quasar. If not, see http://www.gnu.org/licenses/.

Typedef Documentation

◆ f_canAccess

typedef CCanAccess* CanModule::f_canAccess()

Definition at line 36 of file CanLibLoaderLin.cpp.

Function Documentation

◆ __declspec()

typedef CanModule::__declspec ( dllimport  )

◆ CanModuleerrnoToString()

std::string CanModule::CanModuleerrnoToString ( )

Definition at line 32 of file CanModuleUtils.cpp.

◆ CanModulesubtractTimeval()

double CanModule::CanModulesubtractTimeval ( const std::chrono::system_clock::time_point &  t1,
const std::chrono::system_clock::time_point &  t2 
)

Definition at line 76 of file CanModuleUtils.cpp.

◆ convertTimepointToTimeval()

timeval CanModule::convertTimepointToTimeval ( const std::chrono::system_clock::time_point &  t1)

Definition at line 44 of file CanModuleUtils.cpp.

◆ convertTimevalToTimepoint()

std::chrono::system_clock::time_point CanModule::convertTimevalToTimepoint ( const timeval &  t1)

Definition at line 53 of file CanModuleUtils.cpp.

◆ currentTimeTimeval()

std::chrono::system_clock::time_point CanModule::currentTimeTimeval ( )

Definition at line 60 of file CanModuleUtils.cpp.

◆ version()

static std::string CanModule::version ( )
static

Definition at line 53 of file CCanAccess.h.

Variable Documentation

◆ LogItComponentName

const std::string CanModule::LogItComponentName = "CanModule"

Definition at line 50 of file CCanAccess.h.