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

Some class C. More...

Public Types

using Property_t = float
 

Public Member Functions

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

Private Attributes

std::unordered_map< uint16_t, int > fModuleStationMap
 
Property_t fSomeProperty {}
 

Detailed Description

Some class C.

Definition at line 57 of file _GTestStructLooper.cxx.

Member Typedef Documentation

◆ Property_t

using C::Property_t = float

Definition at line 61 of file _GTestStructLooper.cxx.

Constructor & Destructor Documentation

◆ C()

C::C ( std::unordered_map< uint16_t, int > && stMap)
inline

Definition at line 59 of file _GTestStructLooper.cxx.

References fModuleStationMap.

Member Function Documentation

◆ GetProperty()

Property_t C::GetProperty ( ) const
inline

Definition at line 68 of file _GTestStructLooper.cxx.

References fSomeProperty.

◆ GetStationId()

int C::GetStationId ( uint16_t address) const
inline

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

Parameters
addressAddress of C component
Note
A station is stored in an unordered_map vas address

Definition at line 66 of file _GTestStructLooper.cxx.

References fModuleStationMap.

◆ SetProperty()

void C::SetProperty ( Property_t property)
inline

Definition at line 69 of file _GTestStructLooper.cxx.

References fSomeProperty.

Member Data Documentation

◆ fModuleStationMap

std::unordered_map<uint16_t, int> C::fModuleStationMap
private

Definition at line 72 of file _GTestStructLooper.cxx.

Referenced by C(), and GetStationId().

◆ fSomeProperty

Property_t C::fSomeProperty {}
private

Definition at line 73 of file _GTestStructLooper.cxx.

Referenced by GetProperty(), and SetProperty().


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