AGX Dynamics
2.37.3.2
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
20
#include <
agxPowerLine/ActuatorConnector.h
>
21
#include <
agxPowerLine/detail/WireWinchConnectorConstraints.h
>
22
23
24
namespace
agxPowerLine
25
{
26
class
WireWinchActuator;
27
28
namespace
detail
29
{
30
31
AGX_DECLARE_POINTER_TYPES
(
WireWinchConnector
);
32
33
34
class
AGXMODEL_EXPORT
WireWinchConnector
:
public
agxPowerLine::ActuatorConnector
35
{
36
public
:
37
WireWinchConnector
(
agxPowerLine::WireWinchActuator
* winchActuator);
38
39
virtual
bool
getReverseOrder()
const override
;
40
41
42
AGXSTREAM_DECLARE_SERIALIZABLE
(
agxPowerLine::detail::WireWinchConnector
);
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
:
68
WireWinchConnector
();
69
virtual
~
WireWinchConnector
() {};
71
72
protected
:
73
agx::observer_ptr<agxPowerLine::WireWinchActuator>
m_wireWinchActuator
;
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::observer_ptr< agxPowerLine::WireWinchActuator >
agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation
Constraint implementation for constraining a number of physical dimensions of the same type...
Definition:
PowerLineConstraints.h:150
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:254
agxPowerLine::detail::WireWinchConnector::m_wireWinchActuator
agx::observer_ptr< agxPowerLine::WireWinchActuator > m_wireWinchActuator
Definition:
WireWinchConnector.h:42
agxPowerLine
agxPowerLine contains a collection of connected components that transport power across a system...
Definition:
MotorUnit.h:23
ActuatorConnector.h
agxPowerLine::ActuatorConnector
Definition:
ActuatorConnector.h:40
WireWinchConnectorConstraints.h
agx::RegularizationParameters::VariableType
VariableType
Definition:
RegularizationParameters.h:32
agxPowerLine::detail::WireWinchConnector
Definition:
WireWinchConnector.h:34
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
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition:
agxModel/export.h:42
agx::Real
double Real
Definition:
Real.h:42
include
agxPowerLine
detail
WireWinchConnector.h
Generated on Fri Apr 12 2024 12:40:29 for AGX Dynamics by
1.8.13