stlab.adobe.com Adobe Systems Incorporated

sequence_model_demultiplexer< T > Struct Template Reference

#include <sequence_mvc_muldex.hpp>

List of all members.

Public Types

typedef adobe::sequence_key< T > key_type
typedef dictionary_t model_type
typedef T value_type

Public Member Functions

void display (const model_type &value)
void monitor_sequence (typename poly_sequence_model< T >::type &sequence)
 sequence_model_demultiplexer ()

Detailed Description

template<typename T>
struct adobe::sequence_model_demultiplexer< T >

property_model -> **sequence_model_demultiplexer** -> sequence_model

This structure is the glue between the property model and the sequence model. It will receive commands from the sequence controller through the property model cell in the form of dictionaries, sent one at a time. The dictionaries are then farmed out (demultiplexed, hence the name) to the various sequence view APIs as provided by the client's implementation. The client actually using this piece of code really shouldn't know (or care) that this is under the hood - it is created by the helper routines below and bound to the assemblage, and then it should silently do its job.

Definition at line 665 of file sequence_mvc_muldex.hpp.


Member Typedef Documentation

Definition at line 668 of file sequence_mvc_muldex.hpp.

Definition at line 669 of file sequence_mvc_muldex.hpp.

typedef T value_type

Definition at line 667 of file sequence_mvc_muldex.hpp.


Constructor & Destructor Documentation

Definition at line 671 of file sequence_mvc_muldex.hpp.


Member Function Documentation

void display ( const model_type value )

display here models the requirements of the property model View concept, takes in an adobe::dictionary which is a wrapped set of command parameters (one of which is the name of the command itself). The command is immediately sent off to the function pack, which will tease out the necessary bits, align parameters to their specified locations, and fire off the underlying APIs to the attached sequence view.

Definition at line 683 of file sequence_mvc_muldex.hpp.

void monitor_sequence ( typename poly_sequence_model< T >::type &  sequence )

Definition at line 691 of file sequence_mvc_muldex.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google