Flip Reference

 

DocumentTweaker Template Class Reference

Namespace

ohm::flip

Declared in

ohm/flip/DocumentTweaker.h

See Also

ohm::flip::DocumentServer

Overview

The DocumentTweaker template class is a pure virtual template class. Implementing it allows a server to tweak the model just after it is loaded and before clients access to it.

It is usually used to erase object which semantic requires that they can’t be deleted once created, or to make small model correction without the help of a converter.

The client will derive a class from it, using the root flip class as the template parameter.

Partial Class Diagram

Methods Overview

To Implement

Methods

signal

Implementing this method will let the derived class manipulate the model before the client are accessing to it. T denotes the root flip class of the model.

virtual void   process (T & root) = 0;

WARNING:Tweaking is server code.