public:
- SGSerial();
+ SGSerial( const string& device_name, const string& baud_rate );
~SGSerial();
// open the serial port based on specified direction
bool close();
inline string get_device() const { return device; }
- inline void set_device( const string& d ) { device = d; }
inline string get_baud() const { return baud; }
- inline void set_baud( const string& b ) { baud = b; }
};