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

#include <CanFileResolutionHelper.h>

Inheritance diagram for icl_hardware::can::CanFileResolutionHelper:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< const CanFileResolutionHelperConstPtr
 Convenience shared pointer shorthand (const version). More...
 
typedef boost::shared_ptr< CanFileResolutionHelperPtr
 Convenience shared pointer shorthand. More...
 

Public Member Functions

virtual bool advance ()
 
 CanFileResolutionHelper (const std::string &filename)
 
virtual CanFileResolutionHelperclone () const
 
virtual icl_sourcesink::Position current () const
 
CanMessageStamped::Ptr currentMessage () const
 
virtual bool good () const
 
virtual bool seekg (std::ifstream::pos_type position)
 
virtual bool seekg (std::ifstream::off_type offset, std::ios_base::seekdir direction)
 
virtual std::ifstream::pos_type size () const
 
virtual std::ifstream::pos_type tellg () const
 

Static Public Member Functions

static boost::posix_time::ptime timestampToPtime (double stamp)
 

Protected Member Functions

bool resolveHere ()
 
bool tryParse (const std::string &line, uint64_t current_pos)
 

Private Attributes

CanMessageStamped::Ptr m_current_message
 
icl_sourcesink::Position m_current_position
 
std::ifstream m_file
 
std::string m_filename
 

Detailed Description

Definition at line 37 of file CanFileResolutionHelper.h.

Member Typedef Documentation

Convenience shared pointer shorthand (const version).

Definition at line 43 of file CanFileResolutionHelper.h.

Convenience shared pointer shorthand.

Definition at line 41 of file CanFileResolutionHelper.h.

Constructor & Destructor Documentation

icl_hardware::can::CanFileResolutionHelper::CanFileResolutionHelper ( const std::string &  filename)

Definition at line 31 of file CanFileResolutionHelper.cpp.

Member Function Documentation

bool icl_hardware::can::CanFileResolutionHelper::advance ( )
virtual

Definition at line 67 of file CanFileResolutionHelper.cpp.

virtual CanFileResolutionHelper* icl_hardware::can::CanFileResolutionHelper::clone ( ) const
inlinevirtual

Definition at line 47 of file CanFileResolutionHelper.h.

virtual icl_sourcesink::Position icl_hardware::can::CanFileResolutionHelper::current ( ) const
inlinevirtual

Definition at line 60 of file CanFileResolutionHelper.h.

CanMessageStamped::Ptr icl_hardware::can::CanFileResolutionHelper::currentMessage ( ) const
inline

Definition at line 97 of file CanFileResolutionHelper.h.

virtual bool icl_hardware::can::CanFileResolutionHelper::good ( ) const
inlinevirtual

Definition at line 55 of file CanFileResolutionHelper.h.

bool icl_hardware::can::CanFileResolutionHelper::resolveHere ( )
protected

Definition at line 136 of file CanFileResolutionHelper.cpp.

virtual bool icl_hardware::can::CanFileResolutionHelper::seekg ( std::ifstream::pos_type  position)
inlinevirtual

Definition at line 81 of file CanFileResolutionHelper.h.

virtual bool icl_hardware::can::CanFileResolutionHelper::seekg ( std::ifstream::off_type  offset,
std::ios_base::seekdir  direction 
)
inlinevirtual

Definition at line 88 of file CanFileResolutionHelper.h.

virtual std::ifstream::pos_type icl_hardware::can::CanFileResolutionHelper::size ( ) const
inlinevirtual

Definition at line 67 of file CanFileResolutionHelper.h.

virtual std::ifstream::pos_type icl_hardware::can::CanFileResolutionHelper::tellg ( ) const
inlinevirtual

Definition at line 76 of file CanFileResolutionHelper.h.

boost::posix_time::ptime icl_hardware::can::CanFileResolutionHelper::timestampToPtime ( double  stamp)
static

Definition at line 59 of file CanFileResolutionHelper.cpp.

bool icl_hardware::can::CanFileResolutionHelper::tryParse ( const std::string &  line,
uint64_t  current_pos 
)
protected

Definition at line 95 of file CanFileResolutionHelper.cpp.

Member Data Documentation

CanMessageStamped::Ptr icl_hardware::can::CanFileResolutionHelper::m_current_message
private

Definition at line 108 of file CanFileResolutionHelper.h.

icl_sourcesink::Position icl_hardware::can::CanFileResolutionHelper::m_current_position
private

Definition at line 107 of file CanFileResolutionHelper.h.

std::ifstream icl_hardware::can::CanFileResolutionHelper::m_file
mutableprivate

Definition at line 106 of file CanFileResolutionHelper.h.

std::string icl_hardware::can::CanFileResolutionHelper::m_filename
private

Definition at line 105 of file CanFileResolutionHelper.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