cornelluniversity::vetcpr::SerialCfg Class Reference

#include <serialcfg.h>

List of all members.

Public Member Functions

const std::string & device (void) const
const boost::asio::serial_port_base::baud_rate & baudrate (void) const
const boost::asio::serial_port_base::parity & parity (void) const
const boost::asio::serial_port_base::flow_control & flowcntrl (void) const
const boost::asio::serial_port_base::stop_bits & stopbits (void) const
const boost::asio::serial_port_base::character_size & databits (void) const
void device (const std::string &d)
void baudrate (const boost::asio::serial_port_base::baud_rate &br)
void parity (const boost::asio::serial_port_base::parity &p)
void flowcntrl (const boost::asio::serial_port_base::flow_control &fc)
void stopbits (const boost::asio::serial_port_base::stop_bits &sb)
void databits (const boost::asio::serial_port_base::character_size &cs)

Static Public Member Functions

static SerialCfginstance (void)
static void terminate (void)
 Releases dynamic memory from the heap; must be invoked prior to the destructor.

Protected Member Functions

 SerialCfg (void)
 SerialCfg (const std::string &device, const unsigned int baudrate, const boost::asio::serial_port_base::parity &parity=boost::asio::serial_port_base::parity(boost::asio::serial_port_base::parity::none), const boost::asio::serial_port_base::flow_control &flowcntrl=boost::asio::serial_port_base::flow_control(boost::asio::serial_port_base::flow_control::none), const boost::asio::serial_port_base::stop_bits &stopbits=boost::asio::serial_port_base::stop_bits(boost::asio::serial_port_base::stop_bits::one), const boost::asio::serial_port_base::character_size &charsz=boost::asio::serial_port_base::character_size(boost::asio::serial_port_base::character_size(8)))
virtual ~SerialCfg (void)
 SerialCfg (const SerialCfg &refcpy)


Constructor & Destructor Documentation

cornelluniversity::vetcpr::SerialCfg::SerialCfg ( void   )  [protected]

cornelluniversity::vetcpr::SerialCfg::SerialCfg ( const std::string &  device,
const unsigned int  baudrate,
const boost::asio::serial_port_base::parity &  parity = boost::asio::serial_port_base::parity(boost::asio::serial_port_base::parity::none),
const boost::asio::serial_port_base::flow_control &  flowcntrl = boost::asio::serial_port_base::flow_control(boost::asio::serial_port_base::flow_control::none),
const boost::asio::serial_port_base::stop_bits &  stopbits = boost::asio::serial_port_base::stop_bits(boost::asio::serial_port_base::stop_bits::one),
const boost::asio::serial_port_base::character_size &  charsz = boost::asio::serial_port_base::character_size(boost::asio::serial_port_base::character_size(8)) 
) [protected]

virtual cornelluniversity::vetcpr::SerialCfg::~SerialCfg ( void   )  [inline, protected, virtual]

cornelluniversity::vetcpr::SerialCfg::SerialCfg ( const SerialCfg refcpy  )  [inline, protected]


Member Function Documentation

void cornelluniversity::vetcpr::SerialCfg::baudrate ( const boost::asio::serial_port_base::baud_rate &  br  )  [inline]

const boost::asio::serial_port_base::baud_rate& cornelluniversity::vetcpr::SerialCfg::baudrate ( void   )  const [inline]

void cornelluniversity::vetcpr::SerialCfg::databits ( const boost::asio::serial_port_base::character_size &  cs  )  [inline]

const boost::asio::serial_port_base::character_size& cornelluniversity::vetcpr::SerialCfg::databits ( void   )  const [inline]

void cornelluniversity::vetcpr::SerialCfg::device ( const std::string &  d  )  [inline]

const std::string& cornelluniversity::vetcpr::SerialCfg::device ( void   )  const [inline]

void cornelluniversity::vetcpr::SerialCfg::flowcntrl ( const boost::asio::serial_port_base::flow_control &  fc  )  [inline]

const boost::asio::serial_port_base::flow_control& cornelluniversity::vetcpr::SerialCfg::flowcntrl ( void   )  const [inline]

static SerialCfg* cornelluniversity::vetcpr::SerialCfg::instance ( void   )  [static]

void cornelluniversity::vetcpr::SerialCfg::parity ( const boost::asio::serial_port_base::parity &  p  )  [inline]

const boost::asio::serial_port_base::parity& cornelluniversity::vetcpr::SerialCfg::parity ( void   )  const [inline]

void cornelluniversity::vetcpr::SerialCfg::stopbits ( const boost::asio::serial_port_base::stop_bits &  sb  )  [inline]

const boost::asio::serial_port_base::stop_bits& cornelluniversity::vetcpr::SerialCfg::stopbits ( void   )  const [inline]

static void cornelluniversity::vetcpr::SerialCfg::terminate ( void   )  [inline, static]

Releases dynamic memory from the heap; must be invoked prior to the destructor.

See also:
instance(void)


The documentation for this class was generated from the following file:
Generated on Wed Nov 14 12:01:02 2012 for VetSim Applications by  doxygen 1.4.7