AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
WireWinchConnector.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_WIRE_WINCH_CONNECTOR_H
18#define AGXPOWERLINE_WIRE_WINCH_CONNECTOR_H
19
22
23
24namespace 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:
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
#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.
This actuator can be used to connect a Winch (which is a linear constraint) to a powerline for exampl...
WireWinchConnector(agxPowerLine::WireWinchActuator *winchActuator)
agx::observer_ptr< agxPowerLine::WireWinchActuator > m_wireWinchActuator
virtual bool getReverseOrder() const override
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