ReFRACtor
sub_state_vector_proxy.h
Go to the documentation of this file.
1 #ifndef SUB_STATE_VECTOR_PROXY_H
2 #define SUB_STATE_VECTOR_PROXY_H
3 
5 
6 namespace FullPhysics {
7 
8 /****************************************************************/
17  public:
18  virtual ~SubStateVectorProxy() {}
19  virtual void update_sub_state(const ArrayAd<double, 1>& Sv_sub, const blitz::Array<double, 2>& Cov_sub);
20  virtual void mark_used_sub(blitz::Array<bool, 1>& Used) const;
21  virtual void state_vector_name_sub(blitz::Array<std::string, 1>& Sv_name) const;
22 
23  virtual void print(std::ostream& Os) const;
24 
25  protected:
26  // Ensure that class can only be inherited
28 
29  void initialize(const std::vector<boost::shared_ptr<SubStateVectorObserver> >& Proxied);
30 
31  private:
32 
33  std::vector<boost::shared_ptr<SubStateVectorObserver> > proxied_observers;
34 };
35 
36 }
37 
38 #endif
void initialize(const std::vector< boost::shared_ptr< SubStateVectorObserver > > &Proxied)
Registers the classes that will be proxied.
virtual void state_vector_name_sub(blitz::Array< std::string, 1 > &Sv_name) const
Extracts the relevant portions of the passed arrays and passes them to the proxied objects...
Proxies for multiple SubStateVectorObserver classes that are combined for a result, but handle their state vector data seperately.
virtual void print(std::ostream &Os) const
Output the print results from the proxied classes.
A common StateVectorObserver just "owns" a subset of the StateVector.
virtual void mark_used_sub(blitz::Array< bool, 1 > &Used) const
Extracts the relevant portions of the passed arrays and passes them to the proxied objects...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
virtual void update_sub_state(const ArrayAd< double, 1 > &Sv_sub, const blitz::Array< double, 2 > &Cov_sub)
Extracts the relevant portions of the passed arrays and passes them to the proxied objects...

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:11