Belle II Software development
ARICHFirmware Class Reference

ARICH firmware. More...

#include <ARICHFirmware.h>

Inheritance diagram for ARICHFirmware:

Public Member Functions

 ARICHFirmware ()
 Default constructor.
 
 ARICHFirmware (int version)
 Constructor.
 
 ARICHFirmware (const std::string &comment, int version, const std::string &firmware)
 Constructor.
 
 ~ARICHFirmware ()
 Destructor.
 
std::string getFirmwareComment () const
 Get comment.
 
void setFirmwareComment (const std::string &comment)
 Set comment.
 
unsigned int getFirmwareVersion () const
 Get version number.
 
void setFirmwareVersion (unsigned int version)
 Set version number.
 
std::string getFPGA () const
 Get FPGA bitfile.
 
void setFPGA (const std::string &firmware)
 Set FPGA bitfile.
 

Private Member Functions

 ClassDef (ARICHFirmware, 1)
 ClassDef.
 

Private Attributes

std::string m_comment
 comment
 
unsigned int m_version
 version number
 
std::string m_firmware
 FPGA bitfile.
 

Detailed Description

ARICH firmware.

Definition at line 21 of file ARICHFirmware.h.

Constructor & Destructor Documentation

◆ ARICHFirmware() [1/3]

ARICHFirmware ( )
inline

Default constructor.

Definition at line 28 of file ARICHFirmware.h.

28: m_comment(""), m_version(0), m_firmware("") {};
std::string m_comment
comment
Definition: ARICHFirmware.h:84
std::string m_firmware
FPGA bitfile.
Definition: ARICHFirmware.h:86
unsigned int m_version
version number
Definition: ARICHFirmware.h:85

◆ ARICHFirmware() [2/3]

ARICHFirmware ( int  version)
inlineexplicit

Constructor.

Definition at line 33 of file ARICHFirmware.h.

33: m_comment(""), m_version(version), m_firmware("") {};

◆ ARICHFirmware() [3/3]

ARICHFirmware ( const std::string &  comment,
int  version,
const std::string &  firmware 
)
inline

Constructor.

Definition at line 38 of file ARICHFirmware.h.

38 : m_comment(comment), m_version(version),
39 m_firmware(firmware) {};

◆ ~ARICHFirmware()

~ARICHFirmware ( )
inline

Destructor.

Definition at line 44 of file ARICHFirmware.h.

44{};

Member Function Documentation

◆ getFirmwareComment()

std::string getFirmwareComment ( ) const
inline

Get comment.

Returns
Comment.

Definition at line 50 of file ARICHFirmware.h.

50{return m_comment; }

◆ getFirmwareVersion()

unsigned int getFirmwareVersion ( ) const
inline

Get version number.

Returns
Version number.

Definition at line 62 of file ARICHFirmware.h.

62{return m_version; }

◆ getFPGA()

std::string getFPGA ( ) const
inline

Get FPGA bitfile.

Returns
FPGA bitfile.

Definition at line 74 of file ARICHFirmware.h.

74{return m_firmware; }

◆ setFirmwareComment()

void setFirmwareComment ( const std::string &  comment)
inline

Set comment.

Parameters
[in]commentComment.

Definition at line 56 of file ARICHFirmware.h.

56{m_comment = comment; }

◆ setFirmwareVersion()

void setFirmwareVersion ( unsigned int  version)
inline

Set version number.

Parameters
[in]versionVersion number.

Definition at line 68 of file ARICHFirmware.h.

68{m_version = version; }

◆ setFPGA()

void setFPGA ( const std::string &  firmware)
inline

Set FPGA bitfile.

Parameters
[in]firmwareFPGA bitfile.

Definition at line 80 of file ARICHFirmware.h.

80{m_firmware = firmware; }

Member Data Documentation

◆ m_comment

std::string m_comment
private

comment

Definition at line 84 of file ARICHFirmware.h.

◆ m_firmware

std::string m_firmware
private

FPGA bitfile.

Definition at line 86 of file ARICHFirmware.h.

◆ m_version

unsigned int m_version
private

version number

Definition at line 85 of file ARICHFirmware.h.


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