BioDynaMo
v1.05.120-25dc9790
core
visualization
visualization_adaptor.h
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------
2
//
3
// Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4
// BioDynaMo collaboration. All Rights Reserved.
5
//
6
// Licensed under the Apache License, Version 2.0 (the "License");
7
// you may not use this file except in compliance with the License.
8
//
9
// See the LICENSE file distributed with this work for details.
10
// See the NOTICE file distributed with this work for additional information
11
// regarding copyright ownership.
12
//
13
// -----------------------------------------------------------------------------
14
15
#ifndef CORE_VIRTUALIZATION_VIRTUALIZATION_ADAPTOR_H_
16
#define CORE_VIRTUALIZATION_VIRTUALIZATION_ADAPTOR_H_
17
18
#include <string>
19
20
namespace
bdm
{
21
22
class
VisualizationAdaptor
{
23
public
:
24
VisualizationAdaptor
() =
default
;
25
26
static
VisualizationAdaptor
*
Create
(
const
std::string& adaptor);
27
28
virtual
~VisualizationAdaptor
() =
default
;
29
30
// To be implemented by the adaptor
31
virtual
void
Visualize
() = 0;
32
};
33
34
}
// namespace bdm
35
36
#endif // CORE_VIRTUALIZATION_VIRTUALIZATION_ADAPTOR_H_
bdm
Definition:
agent.cc:39
bdm::VisualizationAdaptor
Definition:
visualization_adaptor.h:22
bdm::VisualizationAdaptor::Visualize
virtual void Visualize()=0
bdm::VisualizationAdaptor::~VisualizationAdaptor
virtual ~VisualizationAdaptor()=default
bdm::VisualizationAdaptor::VisualizationAdaptor
VisualizationAdaptor()=default
bdm::VisualizationAdaptor::Create
static VisualizationAdaptor * Create(const std::string &adaptor)
Definition:
visualization_adaptor.cc:35
Generated by
1.8.17