Goby v2
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
goby::acomms::protobuf::DriverConfig Class Reference
Inheritance diagram for goby::acomms::protobuf::DriverConfig:
Inheritance graph
[legend]

Public Types

typedef DriverConfig_ConnectionType ConnectionType
 

Public Member Functions

 DriverConfig (const DriverConfig &from)
 
DriverConfigoperator= (const DriverConfig &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (DriverConfig *other)
 
DriverConfigNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const DriverConfig &from)
 
void MergeFrom (const DriverConfig &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_modem_id () const
 
void clear_modem_id ()
 
inline::google::protobuf::int32 modem_id () const
 
void set_modem_id (::google::protobuf::int32 value)
 
bool has_connection_type () const
 
void clear_connection_type ()
 
inline::goby::acomms::protobuf::DriverConfig_ConnectionType connection_type () const
 
void set_connection_type (::goby::acomms::protobuf::DriverConfig_ConnectionType value)
 
bool has_line_delimiter () const
 
void clear_line_delimiter ()
 
const ::std::string & line_delimiter () const
 
void set_line_delimiter (const ::std::string &value)
 
void set_line_delimiter (const char *value)
 
void set_line_delimiter (const char *value, size_t size)
 
inline::std::string * mutable_line_delimiter ()
 
inline::std::string * release_line_delimiter ()
 
void set_allocated_line_delimiter (::std::string *line_delimiter)
 
bool has_serial_port () const
 
void clear_serial_port ()
 
const ::std::string & serial_port () const
 
void set_serial_port (const ::std::string &value)
 
void set_serial_port (const char *value)
 
void set_serial_port (const char *value, size_t size)
 
inline::std::string * mutable_serial_port ()
 
inline::std::string * release_serial_port ()
 
void set_allocated_serial_port (::std::string *serial_port)
 
bool has_serial_baud () const
 
void clear_serial_baud ()
 
inline::google::protobuf::uint32 serial_baud () const
 
void set_serial_baud (::google::protobuf::uint32 value)
 
bool has_tcp_server () const
 
void clear_tcp_server ()
 
const ::std::string & tcp_server () const
 
void set_tcp_server (const ::std::string &value)
 
void set_tcp_server (const char *value)
 
void set_tcp_server (const char *value, size_t size)
 
inline::std::string * mutable_tcp_server ()
 
inline::std::string * release_tcp_server ()
 
void set_allocated_tcp_server (::std::string *tcp_server)
 
bool has_tcp_port () const
 
void clear_tcp_port ()
 
inline::google::protobuf::uint32 tcp_port () const
 
void set_tcp_port (::google::protobuf::uint32 value)
 
bool has_reconnect_interval () const
 
void clear_reconnect_interval ()
 
inline::google::protobuf::uint32 reconnect_interval () const
 
void set_reconnect_interval (::google::protobuf::uint32 value)
 
bool has_raw_log () const
 
void clear_raw_log ()
 
const ::std::string & raw_log () const
 
void set_raw_log (const ::std::string &value)
 
void set_raw_log (const char *value)
 
void set_raw_log (const char *value, size_t size)
 
inline::std::string * mutable_raw_log ()
 
inline::std::string * release_raw_log ()
 
void set_allocated_raw_log (::std::string *raw_log)
 
bool has_driver_name () const
 
void clear_driver_name ()
 
const ::std::string & driver_name () const
 
void set_driver_name (const ::std::string &value)
 
void set_driver_name (const char *value)
 
void set_driver_name (const char *value, size_t size)
 
inline::std::string * mutable_driver_name ()
 
inline::std::string * release_driver_name ()
 
void set_allocated_driver_name (::std::string *driver_name)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const DriverConfigdefault_instance ()
 
static bool ConnectionType_IsValid (int value)
 
static const ::google::protobuf::EnumDescriptor * ConnectionType_descriptor ()
 
static const ::std::string & ConnectionType_Name (ConnectionType value)
 
static bool ConnectionType_Parse (const ::std::string &name, ConnectionType *value)
 

Static Public Attributes

static const ConnectionType CONNECTION_SERIAL = DriverConfig_ConnectionType_CONNECTION_SERIAL
 
static const ConnectionType CONNECTION_TCP_AS_CLIENT = DriverConfig_ConnectionType_CONNECTION_TCP_AS_CLIENT
 
static const ConnectionType CONNECTION_TCP_AS_SERVER = DriverConfig_ConnectionType_CONNECTION_TCP_AS_SERVER
 
static const ConnectionType ConnectionType_MIN
 
static const ConnectionType ConnectionType_MAX
 
static const int ConnectionType_ARRAYSIZE
 
static const int kModemIdFieldNumber = 1
 
static const int kConnectionTypeFieldNumber = 2
 
static const int kLineDelimiterFieldNumber = 3
 
static const int kSerialPortFieldNumber = 4
 
static const int kSerialBaudFieldNumber = 5
 
static const int kTcpServerFieldNumber = 6
 
static const int kTcpPortFieldNumber = 7
 
static const int kReconnectIntervalFieldNumber = 8
 
static const int kRawLogFieldNumber = 9
 
static const int kDriverNameFieldNumber = 10
 

Friends

void protobuf_AddDesc_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto ()
 
void protobuf_AssignDesc_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto ()
 
void protobuf_ShutdownFile_goby_2facomms_2fprotobuf_2fdriver_5fbase_2eproto ()
 

Detailed Description

Examples:
acomms/chat/chat.cpp, and acomms/modemdriver/driver_simple/driver_simple.cpp.

Definition at line 95 of file driver_base.pb.h.

Member Data Documentation

const int goby::acomms::protobuf::DriverConfig::ConnectionType_ARRAYSIZE
static
Initial value:
=
DriverConfig_ConnectionType_ConnectionType_ARRAYSIZE

Definition at line 157 of file driver_base.pb.h.

const ConnectionType goby::acomms::protobuf::DriverConfig::ConnectionType_MAX
static
Initial value:
=
DriverConfig_ConnectionType_ConnectionType_MAX

Definition at line 155 of file driver_base.pb.h.

const ConnectionType goby::acomms::protobuf::DriverConfig::ConnectionType_MIN
static
Initial value:
=
DriverConfig_ConnectionType_ConnectionType_MIN

Definition at line 153 of file driver_base.pb.h.


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