Rosetta 3.3
Public Types | Public Member Functions
ObjexxFCL::internal::ObserverGraph Class Reference

ObserverGraph: Observer Graph Representation. More...

#include <ObserverGraph.hh>

Collaboration diagram for ObjexxFCL::internal::ObserverGraph:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::size_t size_type
typedef std::size_t Size
typedef std::map< Observer
*, size_type
Graph
typedef std::vector
< Graph::iterator > 
Sources

Public Member Functions

 ObserverGraph (Subject const &s)
 Subject Constructor.
 ~ObserverGraph ()
 Destructor.
bool empty () const
 Empty?
bool push (Subject const &s_root, Subject const &s)
 Push a Subject's Transitive Observers onto Graph and Return Acyclicity.
Observerpop ()
 Pop a Source Observer from Graph.

Detailed Description

ObserverGraph: Observer Graph Representation.


Member Typedef Documentation

typedef std::vector< Graph::iterator > ObjexxFCL::internal::ObserverGraph::Sources

Constructor & Destructor Documentation

ObjexxFCL::internal::ObserverGraph::ObserverGraph ( Subject const &  s)
ObjexxFCL::internal::ObserverGraph::~ObserverGraph ( ) [inline]

Destructor.


Member Function Documentation

bool ObjexxFCL::internal::ObserverGraph::empty ( ) const [inline]
Observer * ObjexxFCL::internal::ObserverGraph::pop ( )

Pop a Source Observer from Graph.

Referenced by ObjexxFCL::internal::ObserverMediator::notify().

bool ObjexxFCL::internal::ObserverGraph::push ( Subject const &  s_root,
Subject const &  s 
)

Push a Subject's Transitive Observers onto Graph and Return Acyclicity.

Referenced by ObserverGraph().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines