NAP
nap
system_modules
napparameter
src
parameter.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
7
// External Includes
8
#include <rtti/rtti.h>
9
#include <nap/resource.h>
10
#include <nap/resourceptr.h>
11
12
namespace
nap
13
{
20
class
NAPAPI
Parameter
:
public
Resource
21
{
22
RTTI_ENABLE(
Resource
)
23
24
public
:
30
virtual
void
setValue(
const
Parameter
& value) = 0;
31
37
const
std::string
getDisplayName
()
const
{
return
mName.empty() ? mID : mName; }
38
39
std::string
mName
;
40
};
41
}
nap::Parameter
Definition:
parameter.h:20
nap::Parameter::getDisplayName
const std::string getDisplayName() const
Definition:
parameter.h:37
nap::Parameter::mName
std::string mName
Property 'Name': The name of this property. The name is separate from the ID and doesn't have to be u...
Definition:
parameter.h:39
nap
Definition:
templateapp.h:17
nap::Resource
Definition:
resource.h:19
Generated by doxygen