libbio
Loading...
Searching...
No Matches
neural/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
28#include "bio/physical/Time.h"
29
30namespace bio {
31namespace neural {
32
39template < typename T >
40class Class :
41 public cellular::Class< T >
42{
43public:
44
46
47
53 Pointer< T > object,
54 Filter filter = filter::Default(),
56 )
57 :
58 cellular::Class< T >(
59 object,
60 filter,
62 )
63 {
64
65 }
66
74 Pointer< T > object,
75 const Name& name,
76 Filter filter = filter::Default(),
78 )
79 :
80 cellular::Class< T >(
81 object,
82 name,
83 filter,
85 )
86 {
87
88 }
89
97 Pointer< T > object,
98 const Id& id,
99 Filter filter = filter::Default(),
101 )
102 :
103 cellular::Class< T >(
104 object,
105 id,
106 filter,
108 )
109 {
110
111 }
112
113
117 virtual ~Class()
118 {
119
120 }
121
122};
123
124} //neural namespace
125} //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 neural/common/Class.h:42
virtual ~Class()
Definition neural/common/Class.h:117
Class(Pointer< T > object, const Name &name, Filter filter=filter::Default(), Milliseconds interval=physical::Periodic::GetDefaultInterval())
Definition neural/common/Class.h:73
Class(Pointer< T > object, const Id &id, Filter filter=filter::Default(), Milliseconds interval=physical::Periodic::GetDefaultInterval())
Definition neural/common/Class.h:96
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