Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
icl_hardware::can::tCanMessageMetaDumper Class Reference

#include <tCanMessageMetaDumper.h>

Public Member Functions

void close ()
 
bool constructXmlFile ()
 
void open (const std::string identifier="", const int baudrate=0)
 
 tCanMessageMetaDumper ()
 
 ~tCanMessageMetaDumper ()
 

Protected Member Functions

const boost::filesystem::path & getDataFileName () const
 
int prepareFile ()
 
void setDataFileName (const boost::filesystem::path &file_name)
 

Private Attributes

unsigned int m_baudrate
 
std::ifstream m_data_file
 
boost::filesystem::path * m_data_file_name
 

Static Private Attributes

static const short m_major_fileversion = 1
 
static const short m_minor_fileversion = 2
 

Detailed Description

Definition at line 50 of file tCanMessageMetaDumper.h.

Constructor & Destructor Documentation

icl_hardware::can::tCanMessageMetaDumper::tCanMessageMetaDumper ( )

Definition at line 46 of file tCanMessageMetaDumper.cpp.

icl_hardware::can::tCanMessageMetaDumper::~tCanMessageMetaDumper ( )

Definition at line 53 of file tCanMessageMetaDumper.cpp.

Member Function Documentation

void icl_hardware::can::tCanMessageMetaDumper::close ( )

Definition at line 89 of file tCanMessageMetaDumper.cpp.

bool icl_hardware::can::tCanMessageMetaDumper::constructXmlFile ( )

build the construct of a xml-can-file and outputs it to the console

This function reads through a file and outputs a block of meta-data for specific number of lines this number is declared by the given baudrate It returns false if no lines where read otherwise true

< do the first commit at line 1, line 0 is the header

Definition at line 104 of file tCanMessageMetaDumper.cpp.

const boost::filesystem::path & icl_hardware::can::tCanMessageMetaDumper::getDataFileName ( ) const
protected

Definition at line 187 of file tCanMessageMetaDumper.cpp.

void icl_hardware::can::tCanMessageMetaDumper::open ( const std::string  identifier = "",
const int  baudrate = 0 
)

gets the path to a can-file

Definition at line 58 of file tCanMessageMetaDumper.cpp.

int icl_hardware::can::tCanMessageMetaDumper::prepareFile ( )
protected

Definition at line 166 of file tCanMessageMetaDumper.cpp.

void icl_hardware::can::tCanMessageMetaDumper::setDataFileName ( const boost::filesystem::path &  file_name)
protected

Definition at line 178 of file tCanMessageMetaDumper.cpp.

Member Data Documentation

unsigned int icl_hardware::can::tCanMessageMetaDumper::m_baudrate
private

Definition at line 74 of file tCanMessageMetaDumper.h.

std::ifstream icl_hardware::can::tCanMessageMetaDumper::m_data_file
private

Definition at line 75 of file tCanMessageMetaDumper.h.

boost::filesystem::path* icl_hardware::can::tCanMessageMetaDumper::m_data_file_name
private

Definition at line 76 of file tCanMessageMetaDumper.h.

const short icl_hardware::can::tCanMessageMetaDumper::m_major_fileversion = 1
staticprivate

Definition at line 78 of file tCanMessageMetaDumper.h.

const short icl_hardware::can::tCanMessageMetaDumper::m_minor_fileversion = 2
staticprivate

Definition at line 79 of file tCanMessageMetaDumper.h.


The documentation for this class was generated from the following files:


fzi_icl_can
Author(s):
autogenerated on Mon Jun 10 2019 13:17:02