List of cables.
More...
#include <ARICHCableInfo.h>
List of cables.
Definition at line 23 of file ARICHCableInfo.h.
◆ ARICHCableInfo() [1/3]
Default constructor.
Definition at line 28 of file ARICHCableInfo.h.
28: m_id(0), m_type(0), m_length(0), m_comment("") {};
◆ ARICHCableInfo() [2/3]
Constructor.
Definition at line 33 of file ARICHCableInfo.h.
33: m_id(id), m_type(type), m_length(length), m_comment("") {};
◆ ARICHCableInfo() [3/3]
ARICHCableInfo |
( |
int | id, |
|
|
int | type, |
|
|
float | length, |
|
|
const std::string & | comment ) |
|
inline |
Constructor.
Definition at line 38 of file ARICHCableInfo.h.
38 : m_id(id), m_type(type), m_length(length),
39 m_comment(comment) {};
◆ ~ARICHCableInfo()
◆ getCableComment()
std::string getCableComment |
( |
| ) |
const |
|
inline |
◆ getCableID()
Get cable identifier.
- Returns
- Cable identifier.
Definition at line 50 of file ARICHCableInfo.h.
◆ getCableLength()
float getCableLength |
( |
| ) |
const |
|
inline |
◆ getCableType()
int getCableType |
( |
| ) |
const |
|
inline |
◆ setCableComment()
void setCableComment |
( |
const std::string & | comment | ) |
|
|
inline |
Set comment.
- Parameters
-
Definition at line 92 of file ARICHCableInfo.h.
92{m_comment = comment; }
◆ setCableID()
void setCableID |
( |
int | id | ) |
|
|
inline |
◆ setCableLength()
void setCableLength |
( |
float | length | ) |
|
|
inline |
◆ setCableType()
void setCableType |
( |
int | type | ) |
|
|
inline |
◆ m_comment
◆ m_id
◆ m_length
◆ m_type
The documentation for this class was generated from the following file: