AGX Dynamics  2.37.3.2
SlotMapperUnitTestEntryPoint.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 #ifndef AGXPOWERLINE_SLOT_MAPPER_UNIT_TEST_ENTRY_POINT_H
19 #define AGXPOWERLINE_SLOT_MAPPER_UNIT_TEST_ENTRY_POINT_H
20 
22 
23 #ifdef _MSC_VER
24 # pragma warning(push)
25 # pragma warning(disable: 4512) // warning C4512: new behavior: assignment operator could not be generated
26 #endif
27 
28 namespace agxPowerLine
29 {
30  namespace detail
31  {
32 
39  {
40  public:
42 
43  bool containsInFull(agxPowerLine::detail::Rotational1DofState* state);
44 
45  bool containsInNonfull(agxPowerLine::detail::Rotational1DofState* state);
46 
47  size_t getNumFullPacks() const;
48 
49  size_t getNumNonfullPacks() const;
50 
51  int getNumDimensionsIn(agx::RigidBody* body);
52 
53  private:
54  SlotMapper& m_mapper;
55  };
56  }
57 }
58 
59 #ifdef _MSC_VER
60 # pragma warning(pop)
61 #endif
62 
63 
64 #endif
The UnitTestEntryPoint is a backdoor into the SlotMapper's internal state used by the unit tests to e...
The SlotMapper is reponsible for mapping one dimensional dimension states to slots in the RigidBodies...
Definition: SlotMapper.h:51
agxPowerLine contains a collection of connected components that transport power across a system...
Definition: MotorUnit.h:23
Templated one dimensional dimension state.
The rigid body class, combining a geometric model and a frame of reference.
Definition: RigidBody.h:54
#define AGXMODEL_EXPORT