39 virtual void configure(TiXmlElement *ePointer)
override;
69 virtual void buildNavigationTree(agxJson::Value& eNode)
const override;
76 virtual void destroyCallback(
agx::Object*
object)
override;
97 const T *operator-> ()
const;
112 template <
typename T>
121 Ptr(
const Name& name, T *ptr,
const String& autoBindPath =
"") :
PointerT<T>(name, ptr, autoBindPath)
128 this->forceUnbindChildren();
130 this->unreference_nodelete();
131 if (this->getReferenceCount() > 0)
137 if (dynamic_cast<Component *>(this->getContext()))
138 static_cast<Component *
>(this->getContext())->removeObject(
this);
141 Ptr<T>& operator= (
const Ptr<T>& pointer) {
return this->operator=(pointer.get()); }
142 Ptr<T>& operator= (T *pointer) { this->
set((
Object *)pointer);
return *
this; }
153 template <
typename T>
156 template <
typename T>
162 template <
typename T>
166 template <
typename T>
170 template <
typename T>
176 template <
typename T>
179 template <
typename T>
182 template <
typename T>
188 template <
typename T>
191 template <
typename T>
194 template <
typename T>
201 template <
typename T>
204 this->
set((
Object *)pointer);
Representation of a path, a list of name components.
A component is an object containing other objects, enabling hierarchical structuring.
A model is an abstract representation of the class of an agx::Object.
Abstract representation of a value.
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
PointerT(const Name &name, const String &autoBindPath="")
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
void bind(const agx::Path &path)
Set bind path which will auto-bind when resolved.
#define AGX_DECLARE_VECTOR_TYPES(type)
#define AGX_EXPIRED_SCOPE_ALLOCATION
An agx::Device is an abstract representation of a device on which data can be stored and processed...
A pointer to an agx::Object.
agx::Object is a refcounted object with a name.