JANA2
C++ framework for multi-threaded data processing
All Classes Namespaces Functions Variables Enumerations Enumerator Friends Pages
jana::components::JComponent::ParameterRef< T > Class Template Reference
Inheritance diagram for jana::components::JComponent::ParameterRef< T >:
[legend]
Collaboration diagram for jana::components::JComponent::ParameterRef< T >:
[legend]

Public Member Functions

 ParameterRef (JComponent *owner, std::string name, T &slot, std::string description="", bool is_shared=false)
 
void SetRef (T *slot)
 
const T & operator() ()
 
const T & operator* ()
 
- Public Member Functions inherited from jana::components::JComponent::ParameterBase
void SetName (std::string name)
 
void SetDescription (std::string description)
 
void SetShared (bool is_shared)
 
const std::string & GetName ()
 
const std::string & GetDescription ()
 
bool IsShared ()
 

Protected Member Functions

void Init (JParameterManager &parman, const std::string &prefix) override
 
void Wire (const std::map< std::string, std::string > &isolated, const std::map< std::string, std::string > &shared) override
 

Additional Inherited Members

- Public Attributes inherited from jana::components::JComponent::ParameterBase
std::string m_name
 
std::string m_description
 
bool m_is_shared = false
 

Member Function Documentation

◆ Init()

template<typename T >
void jana::components::JComponent::ParameterRef< T >::Init ( JParameterManager parman,
const std::string &  prefix 
)
inlineoverrideprotectedvirtual

◆ Wire()

template<typename T >
void jana::components::JComponent::ParameterRef< T >::Wire ( const std::map< std::string, std::string > &  isolated,
const std::map< std::string, std::string > &  shared 
)
inlineoverrideprotectedvirtual

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