#include <point_source_with_reverb_parser.hpp>
void visr::objectmodel::PointSourceWithReverbParser::parse |
( |
boost::property_tree::ptree const & |
tree, |
|
|
Object & |
obj |
|
) |
| const |
|
virtual |
Parse an object from a property node.
- Parameters
-
| tree | The property tree node containing the object information. |
[out] | obj | The object to which the parsed values are set. |
- Note
- : This function is marked as pure virtual, thus making the class abstract (non-instantiable). However, it has an implementation which performs sensible work.
Reimplemented from visr::objectmodel::PointSourceParser.
void visr::objectmodel::PointSourceWithReverbParser::write |
( |
Object const & |
obj, |
|
|
boost::property_tree::ptree & |
tree |
|
) |
| const |
|
virtual |
Serialize an object itno a property tree node.
- Parameters
-
| obj | The audio object to be serialised. |
[out] | tree | The property tree subtree to where the object information is written to. |
- Note
- This method is pure virtual, because his class does not correspond to an instantiable audio object type. Nonetheless, it has an implementation which is called by derived classes.
Reimplemented from visr::objectmodel::PointSourceParser.
The documentation for this class was generated from the following files: