AGX Dynamics  2.37.2.0
WireWinchConnector.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGXPOWERLINE_WIRE_WINCH_CONNECTOR_H
18 #define AGXPOWERLINE_WIRE_WINCH_CONNECTOR_H
19 
22 
23 
24 namespace agxPowerLine
25 {
26  class WireWinchActuator;
27 
28  namespace detail
29  {
30 
32 
33 
35  {
36  public:
38 
39  virtual bool getReverseOrder() const override;
40 
41 
43 
44 
45 
46 
47  // Methods called by the rest of the PowerLine framework.
48  public:
50  virtual agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation* createConstraint() override;
51 
52  virtual agx::RegularizationParameters::VariableType calculateComplianceAndDamping(const agx::Real timeStep, agx::Real& compliance, agx::Real& damping) override;
53 
57  virtual bool store(agxStream::StorageStream& stream) const override;
58 
63  virtual bool restore(agxStream::StorageStream& stream) override;
65 
66  protected:
69  virtual ~WireWinchConnector() {};
71 
72  protected:
74  };
75  }
76 }
77 
78 #endif
This actuator can be used to connect a Winch (which is a linear constraint) to a powerline for exampl...
Constraint implementation for constraining a number of physical dimensions of the same type...
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
agx::observer_ptr< agxPowerLine::WireWinchActuator > m_wireWinchActuator
agxPowerLine contains a collection of connected components that transport power across a system...
Definition: MotorUnit.h:23
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:48
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
#define AGXMODEL_EXPORT
double Real
Definition: Real.h:42