#include <string>
#include <memory>
#include <unordered_map>
#include <functional>
#include <boost/any.hpp>
#include <yaml-cpp/yaml.h>
#include "SurgSim/Math/Matrix.h"
#include "SurgSim/Framework/Accessible-inl.h"
Go to the source code of this file.
|
#define | SURGSIM_ADD_RW_PROPERTY(class, type, property, getter, setter) |
| A macro to register getter and setter for a property that is readable and writeable, order of getter and setter agrees with 'RW'. More...
|
|
#define | SURGSIM_ADD_RO_PROPERTY(class, type, property, getter) |
| A macro to register a getter for a property that is read only. More...
|
|
#define | SURGSIM_ADD_SERIALIZABLE_PROPERTY(class, type, property, getter, setter) |
| A macro to register a serializable property, this needs to support reading, writing and all the conversions to and from YAML::Node. More...
|
|
#define SURGSIM_ADD_RO_PROPERTY |
( |
|
class, |
|
|
|
type, |
|
|
|
property, |
|
|
|
getter |
|
) |
| |
A macro to register a getter for a property that is read only.
#define SURGSIM_ADD_RW_PROPERTY |
( |
|
class, |
|
|
|
type, |
|
|
|
property, |
|
|
|
getter, |
|
|
|
setter |
|
) |
| |
A macro to register getter and setter for a property that is readable and writeable, order of getter and setter agrees with 'RW'.
Note that the property should not be quoted in the original macro call.
#define SURGSIM_ADD_SERIALIZABLE_PROPERTY |
( |
|
class, |
|
|
|
type, |
|
|
|
property, |
|
|
|
getter, |
|
|
|
setter |
|
) |
| |
A macro to register a serializable property, this needs to support reading, writing and all the conversions to and from YAML::Node.