AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
TranslationalActuatorConnector.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXPOWERLINE_TRANSLATIONAL_ACTUATOR_CONNECTOR_H
18#define AGXPOWERLINE_TRANSLATIONAL_ACTUATOR_CONNECTOR_H
19
21
23
24namespace agxPowerLine
25{
26 class TranslationalActuator;
27
28 namespace detail
29 {
30 AGX_DECLARE_POINTER_TYPES(TranslationalActuatorConnector);
31
32 class AGXMODEL_EXPORT TranslationalActuatorConnector : public agxPowerLine::ActuatorConnector
33 {
34 public:
35 TranslationalActuatorConnector(agxPowerLine::TranslationalActuator* actuator);
36
37 virtual bool getReverseOrder() const override;
38
39 AGXSTREAM_DECLARE_SERIALIZABLE(agxPowerLine::detail::TranslationalActuatorConnector);
40
41
42 // Methods called by the rest of the PowerLine framework.
43 public:
45
46 virtual agx::RegularizationParameters::VariableType calculateComplianceAndDamping(
47 const agx::Real timeStep, agx::Real& compliance, agx::Real& damping) override;
48
49 virtual agx::Real calculateViolation() const override;
50
51 virtual bool store(agxStream::StorageStream& out) const override;
52 virtual bool restore(agxStream::StorageStream& in) override;
53
54 protected:
55 TranslationalActuatorConnector();
56 virtual ~TranslationalActuatorConnector() {}
57
58 private:
60 };
61 }
62}
63
65
66#endif
#define AGX_DECLARE_POINTER_TYPES(type)
Definition Referenced.h:254
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXMODEL_EXPORT
Constraint implementation for constraining a number of physical dimensions of the same type.
Abstract base class for storing/restoring a line/drums with version control.
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
agxPowerLine contains a collection of connected components that transport power across a system.
Definition MotorUnit.h:24
double Real
Definition Real.h:42