Belle II Software development
ARICHB2LinkInfo Class Reference

List of Belle2Link boards. More...

#include <ARICHB2LinkInfo.h>

Inheritance diagram for ARICHB2LinkInfo:

Public Member Functions

 ARICHB2LinkInfo ()
 Default constructor.
 
 ARICHB2LinkInfo (int id, int address, int port)
 Constructor.
 
 ~ARICHB2LinkInfo ()
 Destructor.
 
int getB2LinkID () const
 Get Belle2Link identifier.
 
void setB2LinkID (int id)
 Set Belle2Link identifier.
 
int getB2LinkAddress () const
 Get Belle2Link address.
 
void setB2LinkAddress (int address)
 Set Belle2Link address.
 
int getB2LinkPort () const
 Get Belle2Link port.
 
void setB2LinkPort (int port)
 Set Belle2Link port.
 

Private Member Functions

 ClassDef (ARICHB2LinkInfo, 1)
 ClassDef.
 

Private Attributes

int m_id
 Belle2Link Identifier.
 
int m_address
 Belle2Link address.
 
int m_port
 integer Belle2Link port
 

Detailed Description

List of Belle2Link boards.

Definition at line 21 of file ARICHB2LinkInfo.h.

Constructor & Destructor Documentation

◆ ARICHB2LinkInfo() [1/2]

ARICHB2LinkInfo ( )
inline

Default constructor.

Definition at line 28 of file ARICHB2LinkInfo.h.

28: m_id(0), m_address(0), m_port(0) {};
int m_address
Belle2Link address.
int m_port
integer Belle2Link port
int m_id
Belle2Link Identifier.

◆ ARICHB2LinkInfo() [2/2]

ARICHB2LinkInfo ( int  id,
int  address,
int  port 
)
inline

Constructor.

Definition at line 33 of file ARICHB2LinkInfo.h.

33: m_id(id), m_address(address), m_port(port) {};

◆ ~ARICHB2LinkInfo()

~ARICHB2LinkInfo ( )
inline

Destructor.

Definition at line 38 of file ARICHB2LinkInfo.h.

38{};

Member Function Documentation

◆ getB2LinkAddress()

int getB2LinkAddress ( ) const
inline

Get Belle2Link address.

Returns
B2Link address.

Definition at line 56 of file ARICHB2LinkInfo.h.

56{return m_address; }

◆ getB2LinkID()

int getB2LinkID ( ) const
inline

Get Belle2Link identifier.

Returns
B2Link identifier.

Definition at line 44 of file ARICHB2LinkInfo.h.

44{return m_id; }

◆ getB2LinkPort()

int getB2LinkPort ( ) const
inline

Get Belle2Link port.

Returns
B2Link port.

Definition at line 68 of file ARICHB2LinkInfo.h.

68{return m_port; }

◆ setB2LinkAddress()

void setB2LinkAddress ( int  address)
inline

Set Belle2Link address.

Parameters
[in]addressB2Link address.

Definition at line 62 of file ARICHB2LinkInfo.h.

62{m_address = address; }

◆ setB2LinkID()

void setB2LinkID ( int  id)
inline

Set Belle2Link identifier.

Parameters
[in]idB2Link identifier.

Definition at line 50 of file ARICHB2LinkInfo.h.

50{m_id = id; }

◆ setB2LinkPort()

void setB2LinkPort ( int  port)
inline

Set Belle2Link port.

Parameters
[in]portB2Link port.

Definition at line 74 of file ARICHB2LinkInfo.h.

74{m_port = port; }

Member Data Documentation

◆ m_address

int m_address
private

Belle2Link address.

Definition at line 80 of file ARICHB2LinkInfo.h.

◆ m_id

int m_id
private

Belle2Link Identifier.

Definition at line 79 of file ARICHB2LinkInfo.h.

◆ m_port

int m_port
private

integer Belle2Link port

Definition at line 81 of file ARICHB2LinkInfo.h.


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