codac 1.5.6
Loading...
Searching...
No Matches
codac2_TubeBase.h
Go to the documentation of this file.
1
9
10#pragma once
11
12#include "codac2_TDomain.h"
13#include "codac2_Slice.h"
14
15namespace codac2
16{
17 class TubeBase
18 {
19 public:
20
21 TubeBase(const std::shared_ptr<TDomain>& tdomain)
22 : _tdomain(tdomain)
23 { }
24
25 inline const std::shared_ptr<TDomain>& tdomain() const
26 {
27 return _tdomain;
28 }
29
30 inline Interval t0_tf() const
31 {
32 return _tdomain->t0_tf();
33 }
34
35 protected:
36
37 const std::shared_ptr<TDomain> _tdomain;
38 };
39}