![]() |
AGX Dynamics 2.40.0.0
|
#include <SimulationParameter.h>
Public Member Functions | |
SimulationParameter (const agx::Name &name) | |
const agx::String & | getDescription () const |
virtual const agxData::Format * | getFormat () const =0 |
const agx::Name & | getName () const |
agxSDK::Simulation * | getSimulation () |
virtual const agxData::Value * | getValue () const =0 |
virtual bool | hasGetter () const =0 |
virtual bool | hasSetter () const =0 |
void | setDescription (const agx::String &description) |
void | setName (const agx::Name &name) |
virtual void | setValue (agxData::Value *value)=0 |
![]() | |
Referenced () | |
Default constructor. | |
Referenced (const Referenced &) | |
template<typename T > | |
T * | as () |
Subclass casting. | |
template<typename T > | |
const T * | as () const |
template<typename T > | |
T * | asSafe () |
Safe subclass casting, return nullptr if template type does not match. | |
template<typename T > | |
const T * | asSafe () const |
int | getReferenceCount () const |
template<typename T > | |
bool | is () const |
Subclass test. | |
Referenced & | operator= (const Referenced &) |
Assignment operator. Will increment the number of references to the referenced object. | |
void | reference (void *ptr=nullptr) const |
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. | |
void | unreference (void *ptr=nullptr) const |
Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
void | unreference_nodelete () const |
Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
Protected Member Functions | |
virtual | ~SimulationParameter () |
virtual void | addNotification (agxSDK::Simulation *simulation) |
virtual void | removeNotification (agxSDK::Simulation *simulation) |
![]() | |
virtual | ~Referenced () |
Destructor. | |
void | allocateObserverVector () const |
void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static bool | ValidateCast (const Referenced *object) |
![]() | |
static DeleteHandler * | getDeleteHandler () |
static void | setDeleteHandler (DeleteHandler *handler) |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. | |
![]() | |
Mutex | m_mutex |
ObserverContainer | m_observers |
AtomicValue | m_refCount |
Definition at line 33 of file SimulationParameter.h.
agxSDK::SimulationParameter::SimulationParameter | ( | const agx::Name & | name | ) |
|
protectedvirtual |
|
protectedvirtual |
const agx::String & agxSDK::SimulationParameter::getDescription | ( | ) | const |
|
pure virtual |
Implemented in agxSDK::SimulationParameterT< T >.
const agx::Name & agxSDK::SimulationParameter::getName | ( | ) | const |
agxSDK::Simulation * agxSDK::SimulationParameter::getSimulation | ( | ) |
|
pure virtual |
Implemented in agxSDK::SimulationParameterT< T >.
|
pure virtual |
Implemented in agxSDK::SimulationParameterT< T >.
|
pure virtual |
Implemented in agxSDK::SimulationParameterT< T >.
|
protectedvirtual |
void agxSDK::SimulationParameter::setDescription | ( | const agx::String & | description | ) |
void agxSDK::SimulationParameter::setName | ( | const agx::Name & | name | ) |
|
pure virtual |
Implemented in agxSDK::SimulationParameterT< T >.