SeaBreeze
include
common
protocols
ProtocolHint.h
Go to the documentation of this file.
1
/***************************************************/
36
#ifndef SEABREEZE_PROTOCOLHINT_H
37
#define SEABREEZE_PROTOCOLHINT_H
38
39
#include "
common/SeaBreeze.h
"
40
#include <string>
41
42
namespace
seabreeze
{
43
44
class
ProtocolHint
{
45
public
:
46
ProtocolHint
(
int
id
, std::string desc);
47
48
/* For derived classes that will fill in their own values
49
* and for containers to be able to initialize themselves.
50
* This does not set any meaningful values and should not be
51
* relied on to create a proper instance.
52
*/
53
ProtocolHint
();
54
55
virtual
~
ProtocolHint
();
56
std::string getDescription();
57
int
getID()
const
;
58
59
/* Overloading the equality operator so that this can be
60
* used as a key for hash_map associations without the actual
61
* key objects having to be identical.
62
*/
63
bool
operator==(
const
ProtocolHint
&that);
64
65
protected
:
66
int
id;
67
std::string description;
68
};
69
70
}
71
72
#endif
/* SEABREEZE_PROTOCOLHINT_H */
73
seabreeze::ProtocolHint
Definition:
ProtocolHint.h:44
seabreeze
Encapsulates all SeaBreeze classes.
Definition:
DeviceFactory.h:42
SeaBreeze.h
Generated on Sun Jan 19 2020 16:01:08 for SeaBreeze by
1.8.13