Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Typedefs | Functions
ObjexxFCL::internal::ObserverMediator Namespace Reference

Typedefs

typedef SetWrapper< Observer * > Observers
 

Functions

void notify (Subject const &s)
 Notify Observers About Change in a Subject. More...
 
bool acyclic (Subject const &s, Observer &o)
 Acyclic After Adding a Subject-Observer Relation? More...
 
bool accumulate (Subject const &s_root, Subject const &s, Observers &accum_observers)
 Accumulate a Subject's Transitive Observers and Return Acyclicity. More...
 

Typedef Documentation

Function Documentation

bool ObjexxFCL::internal::ObserverMediator::accumulate ( Subject const &  s_root,
Subject const &  s,
Observers &  accum_observers 
)

Accumulate a Subject's Transitive Observers and Return Acyclicity.

Accumulate a Subject's Observers into Accumulated Observers and Recurse: Return Acyclicity.

Referenced by acyclic(), numeric::MathNTensor< double, 2 >::sum(), and numeric::MathVector< double >::sum().

bool ObjexxFCL::internal::ObserverMediator::acyclic ( Subject const &  s,
Observer &  o 
)

Acyclic After Adding a Subject-Observer Relation?

References accumulate(), and basic::options::OptionKeys::mh::match::ss.

Referenced by ObjexxFCL::Observer::acyclic().

void ObjexxFCL::internal::ObserverMediator::notify ( Subject const &  s)

Notify Observers About Change in a Subject.

References ObjexxFCL::internal::ObserverGraph::empty(), and ObjexxFCL::internal::ObserverGraph::pop().

Referenced by ObjexxFCL::Observer::notify().