Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
TestClip Class Reference

#include "/Werk/devel/lumi/tests/core/steam/mobject/session/testclip.hpp"

Description

Sample or Test Clip for checking various model, session and builder operations.

Todo:
maybe use this as Mock object to record invoked operations?

Definition at line 46 of file testclip.hpp.

Static Public Member Functions

static Placement< Clipcreate ()
 

Friends

class TestPlacement
 

Private Member Functions

 TestClip ()
 

Static Private Member Functions

static void deleter (MObject *mo)
 

Additional Inherited Members

- Public Types inherited from Visitable< builder::BuilderTool >
using ReturnType = TOOL::ReturnType
 
- Static Public Attributes inherited from MObject
static session::MObjectFactory create
 Storage for the (single, static) MObject factory object.
 
- Public Member Functions inherited from Clip
bool isValid () const
 implementing the common MObject self test.
 
PMedia getMedia () const
 access the underlying media asset
 
PClipAsset findClipAsset () const
 locate the corresponding asset representing this clip or the whole compound in case of a multichannel clip
 
 DEFINE_PROCESSABLE_BY (builder::BuilderTool)
 
- Public Member Functions inherited from AbstractMO
DurationgetLength ()
 
bool isEquivalentTo (const MObject &oo) const override
 default/fallback implementation of equality using literal object identity (same address).
 
- Public Member Functions inherited from MObject
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.
 
- 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
 
- Protected Types inherited from MObject
typedef lib::time::Duration Duration
 
- Protected Types inherited from Visitable< builder::BuilderTool >
using ToolBase = TOOL::ToolBase
 
- Protected Member Functions inherited from Clip
 Clip (const asset::Clip &, const Media &)
 new clip-MO linked with the given asset::Clip.
 
- Protected Member Functions inherited from AbstractMO
void throwIfInvalid () const
 
string buildShortID (lib::Literal typeID, string suffix="") const
 
- Protected Member Functions inherited from MObject
 MObject ()
 
virtual ~MObject ()
 
- Protected Member Functions inherited from Visitable< builder::BuilderTool >
virtual ~Visitable ()
 
- Static Protected Member Functions inherited from Visitable< builder::BuilderTool >
static ReturnType dispatchOp (TAR &target, builder::BuilderTool &tool)
 
- Protected Attributes inherited from Clip
TimeVar start_
 start position in source
 
const MediamediaDef_
 
const asset::ClipclipDef_
 
- Protected Attributes inherited from MObject
Duration length_
 
string shortID_
 

Constructor & Destructor Documentation

◆ TestClip()

TestClip ( )
private

Definition at line 78 of file testclip.cpp.

References Clip::isValid().

+ Here is the call graph for this function:

Member Function Documentation

◆ deleter()

static void deleter ( MObject mo)
inlinestaticprivate

Definition at line 50 of file testclip.hpp.

◆ create()

Placement< Clip > create ( )
inlinestatic

Definition at line 70 of file testclip.hpp.

References TestClip::TestPlacement.

Referenced by SessionModifyParts_test::addObjects(), PlacementIndex_test::checkInvalidRef(), PlacementIndex_test::checkScopeHandling(), PlacementIndex_test::checkSimpleAccess(), PlacementIndex_test::checkSimpleInsertRemove(), PlacementIndex_test::checkTypedAccess(), and AddClip_test::run().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ TestPlacement

friend class TestPlacement
friend

Definition at line 52 of file testclip.hpp.

Referenced by TestClip::create().

+ Inheritance diagram for TestClip:
+ Collaboration diagram for TestClip:

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