IOSS 2.0
Loading...
Searching...
No Matches
Ioss::DynamicTopologyNotifier Class Reference

#include <Ioss_DynamicTopologyNotifier.h>

Public Member Functions

 DynamicTopologyNotifier (const std::string &model_name)
 
virtual ~DynamicTopologyNotifier ()=default
 
std::string name () const
 
const std::vector< std::shared_ptr< DynamicTopologyObserver > > & get_observers () const
 
std::vector< std::shared_ptr< DynamicTopologyObserver > > & get_observers ()
 
void register_observer (std::shared_ptr< DynamicTopologyObserver > observer)
 
void unregister_observer (std::shared_ptr< DynamicTopologyObserver > observer)
 
void reset_topology_modification ()
 
void set_topology_modification (unsigned int type)
 
template<typename ObserverType >
bool has_observer_type () const
 
template<typename ObserverType >
std::vector< std::shared_ptr< ObserverType > > get_observer_type () const
 

Private Attributes

const std::string m_modelName
 
std::vector< std::shared_ptr< DynamicTopologyObserver > > m_observers
 

Constructor & Destructor Documentation

◆ DynamicTopologyNotifier()

Ioss::DynamicTopologyNotifier::DynamicTopologyNotifier ( const std::string & model_name)
inlineexplicit

◆ ~DynamicTopologyNotifier()

virtual Ioss::DynamicTopologyNotifier::~DynamicTopologyNotifier ( )
virtualdefault

Member Function Documentation

◆ get_observer_type()

template<typename ObserverType >
std::vector< std::shared_ptr< ObserverType > > Ioss::DynamicTopologyNotifier::get_observer_type ( ) const
inline

◆ get_observers() [1/2]

std::vector< std::shared_ptr< DynamicTopologyObserver > > & Ioss::DynamicTopologyNotifier::get_observers ( )
inline

◆ get_observers() [2/2]

const std::vector< std::shared_ptr< DynamicTopologyObserver > > & Ioss::DynamicTopologyNotifier::get_observers ( ) const
inline

◆ has_observer_type()

template<typename ObserverType >
bool Ioss::DynamicTopologyNotifier::has_observer_type ( ) const
inline

◆ name()

std::string Ioss::DynamicTopologyNotifier::name ( ) const
inline

◆ register_observer()

void Ioss::DynamicTopologyNotifier::register_observer ( std::shared_ptr< DynamicTopologyObserver > observer)

◆ reset_topology_modification()

void Ioss::DynamicTopologyNotifier::reset_topology_modification ( )

◆ set_topology_modification()

void Ioss::DynamicTopologyNotifier::set_topology_modification ( unsigned int type)

◆ unregister_observer()

void Ioss::DynamicTopologyNotifier::unregister_observer ( std::shared_ptr< DynamicTopologyObserver > observer)

Member Data Documentation

◆ m_modelName

const std::string Ioss::DynamicTopologyNotifier::m_modelName
private

◆ m_observers

std::vector<std::shared_ptr<DynamicTopologyObserver> > Ioss::DynamicTopologyNotifier::m_observers
private

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