pdfobjects::CContentStream::OperandObserver Struct Reference

Inheritance diagram for pdfobjects::CContentStream::OperandObserver:
observer::IObserver< IProperty >

List of all members.

Public Member Functions

 OperandObserver (CContentStream *cc)
virtual void notify (boost::shared_ptr< IProperty > newValue, boost::shared_ptr< const IProperty::ObserverContext >) const throw ()
virtual priority_t getPriority () const throw ()
void lock ()
void unlock ()
virtual ~OperandObserver () throw ()

Private Attributes

CContentStreamcontentstream
bool _locked

Detailed Description

Operand stream observer.

If an operand is changed, save the stream notifying all observers.


Constructor & Destructor Documentation

pdfobjects::CContentStream::OperandObserver::OperandObserver ( CContentStream cc  )  [inline]
virtual pdfobjects::CContentStream::OperandObserver::~OperandObserver (  )  throw () [inline, virtual]

Member Function Documentation

virtual priority_t pdfobjects::CContentStream::OperandObserver::getPriority (  )  const throw () [inline, virtual]

Returns priority of obsever.

Lower number means higher priority.

Returns:
Observer priority value.

Implements observer::IObserver< IProperty >.

void pdfobjects::CContentStream::OperandObserver::lock (  )  [inline]

lock notifying

References _locked.

void pdfobjects::CContentStream::OperandObserver::notify ( boost::shared_ptr< IProperty newValue,
boost::shared_ptr< const IProperty::ObserverContext  
) const throw () [virtual]
void pdfobjects::CContentStream::OperandObserver::unlock (  )  [inline]

unlock notifying

References _locked.


Member Data Documentation

Referenced by lock(), notify(), and unlock().

Referenced by notify().


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