Changeset 934 for cpp/frams/model/model.cpp
- Timestamp:
- 05/29/20 15:18:48 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/model.cpp
r915 r934 1328 1328 ////////////////////// 1329 1329 1330 class MinPart : public Part { public: MinPart() { Param par(f0_part_paramtab, this); par.setMin(); } };1331 class MaxPart : public Part { public: MaxPart() { Param par(f0_part_paramtab, this); par.setMax(); } };1330 class MinPart : public Part_MinMaxDef { public: MinPart() { Param par(f0_part_paramtab, this); par.setMin(); Param par2(f0_part_minmaxdef_paramtab, this); par2.setMin(); } }; 1331 class MaxPart : public Part_MinMaxDef { public: MaxPart() { Param par(f0_part_paramtab, this); par.setMax(); Param par2(f0_part_minmaxdef_paramtab, this); par2.setMax(); } }; 1332 1332 class MinJoint : public Joint { public: MinJoint() { Param par(f0_joint_paramtab, this); par.setMin(); } }; 1333 1333 class MaxJoint : public Joint { public: MaxJoint() { Param par(f0_joint_paramtab, this); par.setMax(); } }; … … 1335 1335 class MaxNeuro : public Neuro { public: MaxNeuro() { Param par(f0_neuro_paramtab, this); par.setMax(); } }; 1336 1336 1337 Part &Model::getMinPart() { static MinPart part; return part; }1338 Part &Model::getMaxPart() { static MaxPart part; return part; }1339 Part &Model::getDefPart() { static Partpart; return part; }1337 Part_MinMaxDef &Model::getMinPart() { static MinPart part; return part; } 1338 Part_MinMaxDef &Model::getMaxPart() { static MaxPart part; return part; } 1339 Part_MinMaxDef &Model::getDefPart() { static Part_MinMaxDef part; return part; } 1340 1340 Joint &Model::getMinJoint() { static MinJoint joint; return joint; } 1341 1341 Joint &Model::getMaxJoint() { static MaxJoint joint; return joint; }
Note: See TracChangeset
for help on using the changeset viewer.