Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef MKINTERFACECONNECTIONOPTIONS_HPP_
00009 #define MKINTERFACECONNECTIONOPTIONS_HPP_
00010
00011 #include <telekyb_defines/telekyb_defines.hpp>
00012 #include <telekyb_defines/enum.hpp>
00013 #include <telekyb_base/Options.hpp>
00014
00015 #include <termios.h>
00016
00017 namespace TELEKYB_NAMESPACE {
00018
00019
00020
00021 TELEKYB_ENUM_VALUES(BaudRate, size_t,
00022 (BAUD4800)(B4800)
00023 (BAUD9600)(B9600)
00024 (BAUD19200)(B19200)
00025 (BAUD38400)(B38400)
00026 (BAUD57600)(B57600)
00027 (BAUD115200)(B115200)
00028 (BAUD230400)(B230400)
00029 )
00030
00031 class MKInterfaceConnectionOptions : public OptionContainer {
00032 public:
00033 Option< BaudRateBaseEnum<size_t>::Type >* tBaudRate;
00034 Option< int >* tTermiosCFlags;
00035 Option< double >* tAsyncSendFrequency;
00036
00037 MKInterfaceConnectionOptions();
00038 };
00039
00040 }
00041 #endif