CbmRoot
Loading...
Searching...
No Matches
B Class Reference

Some class B. More...

Public Types

using Property_t = double
 

Public Member Functions

 B (std::vector< int > &&stMap)
 
int GetStationId (uint16_t address) const
 Maps an address of B component to a station of component.
 
Property_t GetProperty () const
 
void SetProperty (Property_t property)
 

Private Attributes

std::vector< int > fModuleStationMap
 
Property_t fSomeProperty {}
 

Detailed Description

Some class B.

Definition at line 36 of file _GTestStructLooper.cxx.

Member Typedef Documentation

◆ Property_t

using B::Property_t = double

Definition at line 40 of file _GTestStructLooper.cxx.

Constructor & Destructor Documentation

◆ B()

B::B ( std::vector< int > && stMap)
inline

Definition at line 38 of file _GTestStructLooper.cxx.

References fModuleStationMap.

Member Function Documentation

◆ GetProperty()

Property_t B::GetProperty ( ) const
inline

Definition at line 47 of file _GTestStructLooper.cxx.

References fSomeProperty.

◆ GetStationId()

int B::GetStationId ( uint16_t address) const
inline

Maps an address of B component to a station of component.

Parameters
addressAddress of B component
Note
A module id is stored in bits 8-11, and a station is mapped with a vector

Definition at line 45 of file _GTestStructLooper.cxx.

References fModuleStationMap.

◆ SetProperty()

void B::SetProperty ( Property_t property)
inline

Definition at line 48 of file _GTestStructLooper.cxx.

References fSomeProperty.

Member Data Documentation

◆ fModuleStationMap

std::vector<int> B::fModuleStationMap
private

Definition at line 51 of file _GTestStructLooper.cxx.

Referenced by B(), and GetStationId().

◆ fSomeProperty

Property_t B::fSomeProperty {}
private

Definition at line 52 of file _GTestStructLooper.cxx.

Referenced by GetProperty(), and SetProperty().


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