ATLAS Offline Software
Loading...
Searching...
No Matches
INavigable.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef INAVIGABLE_H
6#define INAVIGABLE_H
8//
9// Common base type for classes representing navigable objects
10//
12
13#include <any>
14
16
18{
19 public:
20
21 virtual ~INavigable() = default;
22
23 // enforce fillToken(,) method in derived classes!
24 virtual void fillToken( INavigationToken & thisToken ) const = 0;
25 virtual void fillToken( INavigationToken & thisToken,
26 const std::any& weight ) const = 0;
27
28};
29#endif
virtual ~INavigable()=default
virtual void fillToken(INavigationToken &thisToken) const =0
virtual void fillToken(INavigationToken &thisToken, const std::any &weight) const =0