AGX Dynamics
2.37.3.2
PistonActuatorConnector.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
18
19
#ifndef AGXHYDRAULCIS_DETAIL_PISTON_ACTUATOR_CONNECTOR_H
20
#define AGXHYDRAULCIS_DETAIL_PISTON_ACTUATOR_CONNECTOR_H
21
22
#include <
agxPowerLine/ActuatorConnector.h
>
23
#include <
agxHydraulics/export.h
>
24
25
namespace
agxHydraulics
26
{
27
class
PistonActuator;
28
29
AGX_DECLARE_POINTER_TYPES
(
PistonActuatorConnector
);
30
37
class
AGXHYDRAULICS_EXPORT
PistonActuatorConnector
:
public
agxPowerLine::ActuatorConnector
38
{
39
public
:
40
PistonActuatorConnector
(
agxHydraulics::PistonActuator
* actuator);
41
45
virtual
agx::Real
getArea()
const
;
46
50
agxHydraulics::PistonActuator
* getPistonActuator();
51
52
53
54
// Methods called by the rest of the power line framework.
55
public
:
56
DOXYGEN_START_INTERNAL_BLOCK
()
59
virtual
agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation
* createConstraint()
override
;
60
63
virtual
agx::RegularizationParameters::VariableType
calculateComplianceAndDamping(
64
const
agx::Real
timeStep,
agx::Real
& compliance,
agx::Real
& damping)
override
;
65
71
virtual
agx::Real
calculateViolation()
const override
;
72
77
virtual
bool
getReverseOrder()
const override
;
78
79
#ifndef SWIG
80
83
virtual
bool
store(
agxStream::StorageStream
& str)
const override
;
84
88
virtual
bool
restore(
agxStream::StorageStream
& str)
override
;
89
90
AGXSTREAM_DECLARE_SERIALIZABLE
(
agxHydraulics::PistonActuatorConnector
);
91
#endif
92
DOXYGEN_END_INTERNAL_BLOCK
()
93
94
protected
:
95
PistonActuatorConnector
();
96
virtual
~
PistonActuatorConnector
();
97
98
agx::observer_ptr<agxHydraulics::PistonActuator>
m_pistonActuator
;
99
};
100
}
101
102
#endif
agxHydraulics::PistonActuator
A PistonActuator is a model of a hydraulic cylinder.
Definition:
PistonActuator.h:65
agxHydraulics::PistonActuatorConnector
The PistonChamberConnector is an internal Connector to the PistonActuator.
Definition:
PistonActuatorConnector.h:37
agx::observer_ptr< agxHydraulics::PistonActuator >
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
ActuatorConnector.h
agxPowerLine::ActuatorConnector
Definition:
ActuatorConnector.h:40
agxHydraulics::PistonActuatorConnector::m_pistonActuator
agx::observer_ptr< agxHydraulics::PistonActuator > m_pistonActuator
Definition:
PistonActuatorConnector.h:98
agx::RegularizationParameters::VariableType
VariableType
Definition:
RegularizationParameters.h:32
AGXHYDRAULICS_EXPORT
#define AGXHYDRAULICS_EXPORT
Definition:
agxHydraulics/export.h:39
agxHydraulics
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Definition:
Accumulator.h:27
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
agx::Real
double Real
Definition:
Real.h:42
DOXYGEN_END_INTERNAL_BLOCK
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition:
Object.h:98
DOXYGEN_START_INTERNAL_BLOCK
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition:
Object.h:97
export.h
include
agxHydraulics
PistonActuatorConnector.h
Generated on Fri Apr 12 2024 12:40:25 for AGX Dynamics by
1.8.13