#include <CanFileResolutionHelper.h>
Public Types | |
typedef boost::shared_ptr < const CanFileResolutionHelper > | ConstPtr |
Convenience shared pointer shorthand (const version). | |
typedef boost::shared_ptr < CanFileResolutionHelper > | Ptr |
Convenience shared pointer shorthand. | |
Public Member Functions | |
virtual bool | advance () |
CanFileResolutionHelper (const std::string &filename) | |
virtual CanFileResolutionHelper * | clone () 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 |
Definition at line 37 of file CanFileResolutionHelper.h.
typedef boost::shared_ptr<const CanFileResolutionHelper> icl_hardware::can::CanFileResolutionHelper::ConstPtr |
Convenience shared pointer shorthand (const version).
Definition at line 43 of file CanFileResolutionHelper.h.
typedef boost::shared_ptr<CanFileResolutionHelper> icl_hardware::can::CanFileResolutionHelper::Ptr |
Convenience shared pointer shorthand.
Definition at line 41 of file CanFileResolutionHelper.h.
icl_hardware::can::CanFileResolutionHelper::CanFileResolutionHelper | ( | const std::string & | filename | ) |
Definition at line 31 of file CanFileResolutionHelper.cpp.
bool icl_hardware::can::CanFileResolutionHelper::advance | ( | ) | [virtual] |
Definition at line 67 of file CanFileResolutionHelper.cpp.
virtual CanFileResolutionHelper* icl_hardware::can::CanFileResolutionHelper::clone | ( | ) | const [inline, virtual] |
Definition at line 47 of file CanFileResolutionHelper.h.
virtual icl_sourcesink::Position icl_hardware::can::CanFileResolutionHelper::current | ( | ) | const [inline, virtual] |
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 [inline, virtual] |
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 | ) | [inline, virtual] |
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 | ||
) | [inline, virtual] |
Definition at line 88 of file CanFileResolutionHelper.h.
virtual std::ifstream::pos_type icl_hardware::can::CanFileResolutionHelper::size | ( | ) | const [inline, virtual] |
Definition at line 67 of file CanFileResolutionHelper.h.
virtual std::ifstream::pos_type icl_hardware::can::CanFileResolutionHelper::tellg | ( | ) | const [inline, virtual] |
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.
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 [mutable, private] |
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.