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 | |
| CContentStream * | contentstream |
| bool | _locked |
Operand stream observer.
If an operand is changed, save the stream notifying all observers.
| pdfobjects::CContentStream::OperandObserver::OperandObserver | ( | CContentStream * | cc | ) | [inline] |
| virtual pdfobjects::CContentStream::OperandObserver::~OperandObserver | ( | ) | throw () [inline, virtual] |
| virtual priority_t pdfobjects::CContentStream::OperandObserver::getPriority | ( | ) | const throw () [inline, virtual] |
Returns priority of obsever.
Lower number means higher priority.
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.
bool pdfobjects::CContentStream::OperandObserver::_locked [private] |
Referenced by notify().