File: NavStateFwd.h

package info (click to toggle)
vecgeom 1.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,928 kB
  • sloc: cpp: 88,717; ansic: 6,894; python: 1,035; sh: 582; sql: 538; makefile: 29
file content (36 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/// \file NavStateFwd.h
/// \author Andrei Gheata (andrei.gheata@cern.ch)
/// \date 12.03.2014

#ifndef VECGEOM_NAVIGATION_NAVSTATEFWD_H_
#define VECGEOM_NAVIGATION_NAVSTATEFWD_H_

#include "VecGeom/base/Cuda.h"
#include "VecGeom/base/Config.h"

#ifdef VECGEOM_USE_NAVINDEX
#define NavigationStateImpl NavStateIndex
#else
#define NavigationStateImpl NavStatePath
#endif
namespace vecgeom {

VECGEOM_HOST_FORWARD_DECLARE(class NavigationStateImpl;);
VECGEOM_HOST_FORWARD_DECLARE(using NavigationState = NavigationStateImpl;);

VECGEOM_DEVICE_FORWARD_DECLARE(class NavigationStateImpl;);
VECGEOM_DEVICE_FORWARD_DECLARE(using NavigationState = NavigationStateImpl;);

inline namespace VECGEOM_IMPL_NAMESPACE {

class NavStateIndex;
class NavStatePath;   // Needed even when not the navigation state, at least for GeoVisitor and NavIndexTable.
using NavigationState = NavigationStateImpl;

} // namespace VECGEOM_IMPL_NAMESPACE

} // namespace vecgeom

#undef NavigationStateImpl

#endif // VECGEOM_NAVIGATION_NAVSTATEFWD_H_