Lumiera  0.pre.03
»edit your freedom«
MObject Class Referenceabstract

#include "steam/mobject/mobject.hpp"

Description

MObject is the interface class for all "Media Objects".

All the contents and elements that can be placed and manipulated and finally rendered within Lumiera's high-level model and Session are MObjects.

Definition at line 70 of file mobject.hpp.

Public Member Functions

virtual DurationgetLength ()=0
 
virtual bool isValid () const =0
 MObject self-test (usable for asserting)
 
virtual bool operator== (const MObject &oo) const =0
 needed for handling by lumiera::P
 
string const & shortID () const
 a short readable ID as a single name-token, denoting both the kind of MObject and some sort of instance identity. More...
 
- Public Member Functions inherited from Visitable< builder::BuilderTool >
virtual ReturnType apply (builder::BuilderTool &)=0
 to be defined by the DEFINE_PROCESSABLE_BY macro in all classes wanting to be treated by some tool
 

Static Public Attributes

static session::MObjectFactory create
 Storage for the (single, static) MObject factory object.
 

Friends

class session::MObjectFactory
 

Protected Types

typedef lib::time::Duration Duration
 
- Protected Types inherited from Visitable< builder::BuilderTool >
typedef builder::BuilderTool ::ToolBase ToolBase
 

Protected Member Functions

virtual string initShortID () const =0
 

Protected Attributes

Duration length_
 
string shortID_
 

Additional Inherited Members

- Public Types inherited from Visitable< builder::BuilderTool >
typedef builder::BuilderTool ::ReturnType ReturnType
 
- Static Protected Member Functions inherited from Visitable< builder::BuilderTool >
static ReturnType dispatchOp (TAR &target, builder::BuilderTool &tool)
 
- Private Member Functions inherited from NonCopyable
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Member Function Documentation

◆ shortID()

string const & shortID ( ) const

a short readable ID as a single name-token, denoting both the kind of MObject and some sort of instance identity.

Not necessarily unique but should be reasonable unique in most cases

Definition at line 49 of file mobject.cpp.

+ Inheritance diagram for MObject:
+ Collaboration diagram for MObject:

The documentation for this class was generated from the following files: