 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
18 #ifndef AGX_UNRESOLVED_TASK_H
19 #define AGX_UNRESOLVED_TASK_H
22 #include <agx/config/AGX_USE_OPENCL.h>
29 # pragma warning(push)
30 # pragma warning( disable : 4275 ) // warning C4275: non dll-interface class
31 # pragma warning( disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y
44 static Task* load(TiXmlElement* eTask,
Device* device);
45 virtual void configure(TiXmlElement* eTask)
override;
46 void configureSource(TiXmlElement* eTask);
47 static void deleteAllConfiguredProxies();
54 const Name& instanceName,
Device* device,
const Path& taskPath,
const Name& implementationName,
57 virtual void run()
override;
61 const Name& getInstanceName()
const;
62 const Name& getImplementationName()
const;
73 void valueUpdateCallback(
Parameter* value);
74 bool instantiateProxy();
75 void performLoadAttempts();
78 void tryKernel(
const Path& path);
81 void tryInstanciateTask(TiXmlElement* eTask);
83 void configureInstance();
85 void configure(
const String&
function);
93 void createVerifierTask();
96 static void glInitCallback();
107 Name m_implementation;
115 TiXmlElement* m_eTask;
123 # pragma warning(pop)
Callback1< UnresolvedTask * > InjectCallback
A representation of a task/kernel parameter, which can be bound using a string path or explicitly to ...
Representation of a path, a list of name components.
Generalized callback, using std::function.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
A model is an abstract representation of the class of an agx::Object.
#define AGX_DECLARE_VECTOR_TYPES(type)
A representation of a generic task.
Inheritance with partial specialization due to bug with ref_ptr containers.
virtual void configure(TiXmlElement *eTask) override
Representation of a name string.
Inheritance with partial specialization due to bug with ref_ptr containers.
#define AGX_DECLARE_POINTER_TYPES(type)
An agx::Device is an abstract representation of a device on which data can be stored and processed.