Runtime

The Runtime module provides the runtime environment of Luna SDK and defines core functionalities that will be used by almost all modules.

Topics

Types

  • Luna::Allocator

    The default allocator implementation that can be used for allocating memory for containers defined in Runtime module.

  • Luna::Blob

    Represents one binary large object (BLOB).

  • Luna::Event

    Represents one event that once triggered, invokes all handlers registered to it.

  • Luna::equal_to

    Function object for performing comparisons. Unless specialised, invokes operator== on type T.

  • Luna::less

    Function object for performing comparisons. Unless specialized, invokes operator< on type T.

  • Luna::hash

    Function object that hashes the specified type into a usize hash code that can be used in hash map and hash set.

  • Luna::ReferenceWrapper

    Wraps one reference to one copyable, assignable object.

  • Luna::Function< _R(_Args...)>

    A function wrapper that can store one callable object, and enable coping, moving and invoking of such callable object.

  • Luna::ReverseIterator

    An iterator adaptor that reverses the direction of a given iterator.

  • Luna::ObjRef

    The smart pointer that represents one typeless strong reference to one boxed object.

  • Luna::Ref

    The smart pointer that represents one typed strong reference to one boxed object.

  • Luna::WeakObjRef

    The smart pointer that represents one typeless weak reference to one boxed object.

  • Luna::WeakRef

    The smart pointer that represents one typed weak reference to one boxed object.

  • Luna::IStream

    Represents a serial stream sequence of bytes and supports read/write operations on them.

  • Luna::ISeekableStream

    Represents one stream object that supports setting the cursor position.

  • Luna::Tuple

    Represents a sequence of fixed-size elements. Every element can have one different type.

  • Luna::DefaultDelete

    The default object deletion function used by UniquePtr, which calls memdelete to delete The object.

  • Luna::UniquePtr

    A smart pointer that wraps one dynamically created object, and deletes the object when the pointer is destructed.

  • Luna::Variant

    Represents a dynamic typed object that stores data in a schema-less (self-described) manner.

Enumerations

Functions