Public Member Functions | Private Attributes | List of all members
novatel_oem7_driver::Oem7ReceiverFile Class Reference
Inheritance diagram for novatel_oem7_driver::Oem7ReceiverFile:
Inheritance graph
[legend]

Public Member Functions

virtual bool initialize (ros::NodeHandle &nh)
 
 Oem7ReceiverFile ()
 
virtual bool read (boost::asio::mutable_buffer buf, size_t &rlen)
 
virtual bool write (boost::asio::const_buffer buf)
 
 ~Oem7ReceiverFile ()
 
- Public Member Functions inherited from novatel_oem7_driver::Oem7ReceiverIf
virtual ~Oem7ReceiverIf ()
 

Private Attributes

size_t num_byte_read_
 Total number of bytes read from file. More...
 
std::ifstream oem7_file_
 Input. More...
 

Detailed Description

'Virtual' Oem7 interface, where input is read from a file. The contents of the file is any relevant receiver output.

Definition at line 38 of file oem7_receiver_file.cpp.

Constructor & Destructor Documentation

novatel_oem7_driver::Oem7ReceiverFile::Oem7ReceiverFile ( )
inline

Definition at line 46 of file oem7_receiver_file.cpp.

novatel_oem7_driver::Oem7ReceiverFile::~Oem7ReceiverFile ( )
inline

Definition at line 51 of file oem7_receiver_file.cpp.

Member Function Documentation

virtual bool novatel_oem7_driver::Oem7ReceiverFile::initialize ( ros::NodeHandle nh)
inlinevirtual

Prepares the input file for reading. The file is opened as binary/read only.

Implements novatel_oem7_driver::Oem7ReceiverIf.

Definition at line 58 of file oem7_receiver_file.cpp.

virtual bool novatel_oem7_driver::Oem7ReceiverFile::read ( boost::asio::mutable_buffer  buf,
size_t &  rlen 
)
inlinevirtual

Reads input from file.

Implements novatel_oem7_driver::Oem7ReceiverIf.

Definition at line 81 of file oem7_receiver_file.cpp.

virtual bool novatel_oem7_driver::Oem7ReceiverFile::write ( boost::asio::const_buffer  buf)
inlinevirtual

Takes no action.

Returns
false always.

Implements novatel_oem7_driver::Oem7ReceiverIf.

Definition at line 125 of file oem7_receiver_file.cpp.

Member Data Documentation

size_t novatel_oem7_driver::Oem7ReceiverFile::num_byte_read_
private

Total number of bytes read from file.

Definition at line 42 of file oem7_receiver_file.cpp.

std::ifstream novatel_oem7_driver::Oem7ReceiverFile::oem7_file_
private

Input.

Definition at line 40 of file oem7_receiver_file.cpp.


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


novatel_oem7_driver
Author(s):
autogenerated on Tue Mar 9 2021 03:48:00