The base interface for all physics objects. More...

#include "murl_physics_i_object.h"

Inheritance diagram for Murl::Physics::IObject:

Public Member Functions

virtual IObjectGetObjectInterface ()=0
 Get the mutable IObject interface. More...
 
virtual const IObjectGetObjectInterface () const =0
 Get the constant IObject interface. More...
 
virtual Bool Init ()=0
 Initialize this object. More...
 
virtual Bool DeInit ()=0
 De-initialize this object. More...
 
virtual Bool IsInitialized () const =0
 Check if this object is initialized. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< IObject >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< IObject >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< IObject >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< IObject > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The base interface for all physics objects.

Member Function Documentation

◆ GetObjectInterface() [1/2]

virtual IObject* Murl::Physics::IObject::GetObjectInterface ( )
pure virtual

Get the mutable IObject interface.

Returns
The IObject interface.

◆ GetObjectInterface() [2/2]

virtual const IObject* Murl::Physics::IObject::GetObjectInterface ( ) const
pure virtual

Get the constant IObject interface.

Returns
The IObject interface.

◆ Init()

virtual Bool Murl::Physics::IObject::Init ( )
pure virtual

Initialize this object.

Called by the ISimulator owning this object.

Returns
true if successful.

◆ DeInit()

virtual Bool Murl::Physics::IObject::DeInit ( )
pure virtual

De-initialize this object.

Called by the ISimulator owning this object.

Returns
true if successful.

◆ IsInitialized()

virtual Bool Murl::Physics::IObject::IsInitialized ( ) const
pure virtual

Check if this object is initialized.

Returns
true if initialized.

The documentation for this interface was generated from the following file:
  • murl_physics_i_object.h


Copyright © 2011-2024 Spraylight GmbH.