AGXDynamics  2.35.0.3
WireWinchConnector.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. 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
agxPowerLine::WireWinchActuator
This actuator can be used to connect a Winch (which is a linear constraint) to a powerline for exampl...
Definition: WireWinchActuator.h:35
agx::Real
double Real
Definition: Real.h:42
agx::RegularizationParameters::VariableType
VariableType
Definition: RegularizationParameters.h:32
agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation
Constraint implementation for constraining a number of physical dimensions of the same type.
Definition: PowerLineConstraints.h:150
agxStream::StorageStream
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:48
AGXSTREAM_DECLARE_SERIALIZABLE
#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
agxPowerLine::detail::WireWinchConnector
Definition: WireWinchConnector.h:34
agx::observer_ptr< agxPowerLine::WireWinchActuator >
ActuatorConnector.h
agxPowerLine::ActuatorConnector
Definition: ActuatorConnector.h:40
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:248
agxPowerLine
agxPowerLine contains a collection of connected components that transport power across a system.
Definition: MotorUnit.h:23
WireWinchConnectorConstraints.h
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition: agxModel/export.h:42