Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Protected Attributes
caffe2::ObserverBase< T > Class Template Reference

Use this to implement a Observer using the Observer Pattern template. More...

#include <observer.h>

Public Member Functions

 ObserverBase (T *subject)
 
virtual void Start ()
 
virtual void Stop ()
 
virtual std::unique_ptr< ObserverBase< T > > copy (T *subject)
 
virtual std::string debugInfo ()
 
T * subject () const
 

Protected Attributes

T * subject_
 

Detailed Description

template<class T>
class caffe2::ObserverBase< T >

Use this to implement a Observer using the Observer Pattern template.

Definition at line 30 of file observer.h.


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