AGX Dynamics
2.38.0.2
Loading...
Searching...
No Matches
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
ActuatorConnector.h
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition
Referenced.h:254
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
WireWinchConnectorConstraints.h
AGXMODEL_EXPORT
#define AGXMODEL_EXPORT
Definition
agxModel/export.h:42
agxPowerLine::ActuatorConnector
Definition
ActuatorConnector.h:41
agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation
Constraint implementation for constraining a number of physical dimensions of the same type.
Definition
PowerLineConstraints.h:150
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
agxPowerLine::detail::WireWinchConnector
Definition
WireWinchConnector.h:35
agxPowerLine::detail::WireWinchConnector::WireWinchConnector
WireWinchConnector(agxPowerLine::WireWinchActuator *winchActuator)
agxPowerLine::detail::WireWinchConnector::m_wireWinchActuator
agx::observer_ptr< agxPowerLine::WireWinchActuator > m_wireWinchActuator
Definition
WireWinchConnector.h:73
agxPowerLine::detail::WireWinchConnector::getReverseOrder
virtual bool getReverseOrder() const override
agxStream::StorageStream
Abstract base class for storing/restoring a line/drums with version control.
Definition
StorageStream.h:49
agx::RegularizationParameters::VariableType
VariableType
Definition
RegularizationParameters.h:33
agx::observer_ptr
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Definition
observer_ptr.h:61
agxPowerLine
agxPowerLine contains a collection of connected components that transport power across a system.
Definition
MotorUnit.h:24
agx::Real
double Real
Definition
Real.h:42
include
agxPowerLine
detail
WireWinchConnector.h
Generated on Sun Sep 1 2024 11:24:47 for AGX Dynamics by
1.9.8