#include <sprk.h>
|
enum | UpdateType { Synchronous,
Asynchronous
} |
|
template<typename T > |
static intptr_t | ClassID () |
|
The DoubleMetadata class is a smart pointer. It represents a piece of double Metadata.
DoubleMetadata::DoubleMetadata |
( |
| ) |
|
The default constructor creates an uninitialized DoubleMetadata object. The Type() function will return Type::None.
DoubleMetadata::DoubleMetadata |
( |
Metadata const & |
in_that | ) |
|
This constructor creates a DoubleMetadata object that shares the underlying smart-pointer of the source Metadata. The copy will only be successful if the source component is really an upcast of a DoubleMetadata object. Otherwise the copy will fail and the resulting DoubleMetadata will be invalid.
- Parameters
-
The move constructor creates a DoubleMetadata by transferring the underlying object of the rvalue reference to this DoubleMetadata.
- Parameters
-
in_that | An rvalue reference to a DoubleMetadata to take the underlying object from. |
DoubleMetadata::DoubleMetadata |
( |
char const * |
in_name, |
|
|
double |
in_value |
|
) |
| |
This constructor creates a DoubleMetadata with a given name and value.
- Parameters
-
double DoubleMetadata::GetValue |
( |
| ) |
const |
Type DoubleMetadata::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from Metadata.
The move assignment operator transfers the underlying object of the rvalue reference to this DoubleMetadata.
- Parameters
-
in_that | An rvalue reference to a DoubleMetadata to take the underlying object from. |
- Returns
- A reference to this DoubleMetadata.
void DoubleMetadata::SetValue |
( |
double |
in_value | ) |
|
The documentation for this class was generated from the following file: