presage
0.9.2~beta
|
#include <presageCallback.h>
Public Member Functions | |
LegacyPresageCallback () | |
~LegacyPresageCallback () | |
std::string | get_past_stream () const |
std::string | get_future_stream () const |
void | update (std::string str) |
Public Member Functions inherited from PresageCallback | |
virtual | ~PresageCallback () |
Private Member Functions | |
void | update (int character) |
Private Attributes | |
std::string | m_stream |
const std::string | m_empty |
Additional Inherited Members | |
Protected Member Functions inherited from PresageCallback | |
PresageCallback () | |
DEPRECATED: simple context callback implementation to ease transition into presage callback refactor.
This concrete callback object provides an update() method signature that matches legacy Presage::update(std::string) method and is designed to provide a simple upgrade path from previous presage releases.
Simply create a LegacyPresageCallback object, pass it as argument to the new Presage object, and then replace all calls to Presage::update(std::string) with a LegacyPresageCallback::update(std::string) calls.
WARNING: This class is deprecated and might be removed in future releases.
Definition at line 94 of file presageCallback.h.
|
inline |
Definition at line 96 of file presageCallback.h.
|
inline |
Definition at line 97 of file presageCallback.h.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 102 of file presageCallback.h.
References update().
Referenced by main(), and update().
|
inlineprivate |
Definition at line 105 of file presageCallback.h.
References m_stream.
|
private |
Definition at line 115 of file presageCallback.h.
Referenced by get_future_stream().
|
private |
Definition at line 114 of file presageCallback.h.
Referenced by get_past_stream(), and update().