<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEScalarForce.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "cdm/properties/SEScalar.h"
6 
7 class CDM_DECL ForceUnit : public CCompoundUnit
8 {
9 public:
10  ForceUnit(const std::string& u) : CCompoundUnit(u) {}
11  virtual ~ForceUnit() {}
12 
13  // Please use static units below
14  ForceUnit(const ForceUnit&) = delete;
15  ForceUnit& operator= (const ForceUnit&) = delete;
16 
17  static bool IsValidUnit(const std::string& unit);
18  static const ForceUnit& GetCompoundUnit(const std::string& unit);
19 
20  static const ForceUnit N;
21  static const ForceUnit lbf;
22  static const ForceUnit dyn;
23 };
24 
25 class CDM_DECL SEScalarForce : public SEScalarQuantity<ForceUnit>
26 {
27 public:
29  virtual ~SEScalarForce() {}
30 };
CCompoundUnit & operator=(const CCompoundUnit &rhs)
Definition: CompoundUnit.h:132
static const ForceUnit N
Definition: SEScalarForce.h:20
static const ForceUnit dyn
Definition: SEScalarForce.h:22
Definition: SEScalar.h:206
ForceUnit(const std::string &u)
Definition: SEScalarForce.h:10
Definition: SEScalarForce.h:7
Definition: SEScalarForce.h:25
virtual ~ForceUnit()
Definition: SEScalarForce.h:11
virtual ~SEScalarForce()
Definition: SEScalarForce.h:29
static const ForceUnit lbf
Definition: SEScalarForce.h:21
SEScalarForce()
Definition: SEScalarForce.h:28
Definition: CompoundUnit.h:39

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.