libbio
Loading...
Searching...
No Matches
circulatory/common/Class.h
Go to the documentation of this file.
1/*
2 * This file is a part of the Biology project by eons LLC.
3 * Biology (aka Develop Biology) is a framework for approaching software
4 * development from a natural sciences perspective.
5 *
6 * Copyright (C) 2022 Séon O'Shannon & eons LLC
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as
10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
25
26namespace bio {
27namespace circulatory {
28
35template < typename T >
36class Class :
37 public cellular::Class< T >
38{
39public:
40
42
43
49 Pointer< T > object,
50 Filter filter = filter::Default(),
52 :
53 cellular::Class< T >(
54 object,
55 filter,
57 )
58 {
59
60 }
61
69 Pointer< T > object,
70 const Name& name,
71 Filter filter = filter::Default(),
73 :
74 cellular::Class< T >(
75 object,
76 name,
77 filter,
79 )
80 {
81
82 }
83
92 Pointer< T > object,
93 const Id& id,
94 Filter filter = filter::Default(),
96 :
97 cellular::Class< T >(
98 object,
99 id,
100 filter,
102 )
103 {
104
105 }
106
107
111 virtual ~Class()
112 {
113
114 }
115
116};
117
118} //cellular namespace
119} //bio namespace
#define BIO_DISAMBIGUATE_ALL_CLASS_METHODS(ns, caller)
Definition ClassMethodMacros.h:112
Definition Pointer.h:115
Definition String.h:55
Definition cellular/common/Class.h:50
Definition circulatory/common/Class.h:38
Class(Pointer< T > object, const Name &name, Filter filter=filter::Default(), Milliseconds interval=physical::Periodic::GetDefaultInterval())
Definition circulatory/common/Class.h:68
Class(Pointer< T > object, const Id &id, Filter filter=filter::Default(), Milliseconds interval=physical::Periodic::GetDefaultInterval())
Definition circulatory/common/Class.h:91
virtual ~Class()
Definition circulatory/common/Class.h:111
Periodic(Milliseconds interval=GetDefaultInterval())
Definition Periodic.cpp:60
static Milliseconds GetDefaultInterval()
Definition Periodic.cpp:40
Filter Default()
Definition FinalCell.h:29
uint64_t Milliseconds
Definition common/Types.h:64