Constification: make Stateful::get_state() const, with all other required const-ness added (libs)

This commit is contained in:
Paul Davis 2022-04-06 21:56:32 -06:00
parent 9e69c0d184
commit 7bf89ce109
233 changed files with 476 additions and 460 deletions

View file

@ -330,7 +330,7 @@ Panner1in2out::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
}
XMLNode&
Panner1in2out::get_state ()
Panner1in2out::get_state () const
{
XMLNode& root (Panner::get_state ());
root.set_property (X_ ("uri"), _descriptor.panner_uri);

View file

@ -63,7 +63,7 @@ public:
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
XMLNode& get_state ();
XMLNode& get_state () const;
void reset ();

View file

@ -475,7 +475,7 @@ Panner2in2out::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
}
XMLNode&
Panner2in2out::get_state ()
Panner2in2out::get_state () const
{
XMLNode& root (Panner::get_state ());
root.set_property (X_ ("uri"), _descriptor.panner_uri);

View file

@ -68,7 +68,7 @@ public:
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
XMLNode& get_state ();
XMLNode& get_state () const;
void update ();

View file

@ -263,7 +263,7 @@ Pannerbalance::factory (boost::shared_ptr<Pannable> p, boost::shared_ptr<Speaker
}
XMLNode&
Pannerbalance::get_state ()
Pannerbalance::get_state () const
{
XMLNode& root (Panner::get_state ());
root.set_property (X_ ("uri"), _descriptor.panner_uri);

View file

@ -60,7 +60,7 @@ public:
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
XMLNode& get_state ();
XMLNode& get_state () const;
void reset ();
void thaw ();

View file

@ -365,7 +365,7 @@ VBAPanner::distribute_one_automated (AudioBuffer& /*src*/, BufferSet& /*obufs*/,
}
XMLNode&
VBAPanner::get_state ()
VBAPanner::get_state () const
{
XMLNode& node (Panner::get_state ());
node.set_property (X_ ("uri"), _descriptor.panner_uri);

View file

@ -57,7 +57,7 @@ public:
std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
XMLNode& get_state ();
XMLNode& get_state () const;
PBD::AngularVector signal_position (uint32_t n) const;
boost::shared_ptr<Speakers> get_speakers () const;