mobject::Placement< MO > Class Template Reference

#include <placement.hpp>

Inheritance diagram for mobject::Placement< MO >:

Inheritance graph
[legend]
Collaboration diagram for mobject::Placement< MO >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class MO>
class mobject::Placement< MO >

A refcounting Handle to an MObject of type MO, used to constrain or explicitly specify the location where the MObject is supposed to be within the Session/EDL.

Definition at line 84 of file placement.hpp.


Public Member Functions

template<>
 operator string () const
 operator string () const
virtual MO * operator-> () const
 smart pointer: accessing the MObject, which is subject to placement.
virtual ExplicitPlacement resolve () const
 combine and resolve all constraints defined by the various LocatingPin (
size_t use_count () const

Public Attributes

session::LocatingPin chain
 interface for defining the kind of placement to employ, and for controling any additional constraints and properties.

Protected Types

typedef shared_ptr< MO > Base
typedef asset::shared_ptr
< asset::Pipe
Pipe
typedef lumiera::Time Time

Protected Member Functions

 Placement (MO &subject, void(*moKiller)(MO *))

Friends

class session::MObjectFactory

Member Function Documentation

template<class MO>
virtual MO* mobject::Placement< MO >::operator-> (  )  const [inline, virtual]

smart pointer: accessing the MObject, which is subject to placement.

Note:
we don't provide operator*

Definition at line 99 of file placement.hpp.

template<class MO>
template ExplicitPlacement mobject::Placement< MO >::resolve (  )  const [inline, virtual]

combine and resolve all constraints defined by the various LocatingPin (

See also:
chain) and provide the resulting (explicit) placement.
Note:
we know we need only this single specialisation, because we define the Placements of more specific MObject kinds to be subclasses of Placement<MObject>, so they will inherit this function.

Reimplemented in mobject::ExplicitPlacement.

Definition at line 37 of file placement.cpp.

References mobject::Placement< MO >::chain, and mobject::session::LocatingPin::resolve().

Here is the call graph for this function:


Member Data Documentation

template<class MO>
session::LocatingPin mobject::Placement< MO >::chain

interface for defining the kind of placement to employ, and for controling any additional constraints and properties.

Definition at line 108 of file placement.hpp.

Referenced by mobject::Placement< MO >::resolve().


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

Generated on Tue Jan 6 17:21:30 2009 for Lumiera by  doxygen 1.5.6