Monero
Loading...
Searching...
No Matches
push_core_event_visitor< t_test_class > Struct Template Reference

#include <chaingen.h>

Inheritance diagram for push_core_event_visitor< t_test_class >:
Collaboration diagram for push_core_event_visitor< t_test_class >:

Public Member Functions

 push_core_event_visitor (cryptonote::core &c, const std::vector< test_event_entry > &events, t_test_class &validator)
void event_index (size_t ev_index)
bool operator() (const event_replay_settings &settings)
bool operator() (const event_visitor_settings &settings)
bool operator() (const cryptonote::transaction &tx) const
bool operator() (const std::vector< cryptonote::transaction > &txs) const
bool operator() (const cryptonote::block &b) const
bool operator() (const callback_entry &cb) const
bool operator() (const cryptonote::account_base &ab) const
bool operator() (const serialized_block &sr_block) const
bool operator() (const serialized_transaction &sr_tx) const

Private Member Functions

void log_event (const std::string &event_type) const

Private Attributes

cryptonote::corem_c
const std::vector< test_event_entry > & m_events
t_test_class & m_validator
size_t m_ev_index
cryptonote::relay_method m_tx_relay

Constructor & Destructor Documentation

◆ push_core_event_visitor()

template<class t_test_class>
push_core_event_visitor< t_test_class >::push_core_event_visitor ( cryptonote::core & c,
const std::vector< test_event_entry > & events,
t_test_class & validator )
inline

Member Function Documentation

◆ event_index()

template<class t_test_class>
void push_core_event_visitor< t_test_class >::event_index ( size_t ev_index)
inline

◆ log_event()

template<class t_test_class>
void push_core_event_visitor< t_test_class >::log_event ( const std::string & event_type) const
inlineprivate

◆ operator()() [1/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const callback_entry & cb) const
inline

◆ operator()() [2/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const cryptonote::account_base & ab) const
inline

◆ operator()() [3/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const cryptonote::block & b) const
inline

◆ operator()() [4/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const cryptonote::transaction & tx) const
inline

◆ operator()() [5/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const event_replay_settings & settings)
inline

◆ operator()() [6/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const event_visitor_settings & settings)
inline

◆ operator()() [7/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const serialized_block & sr_block) const
inline

◆ operator()() [8/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const serialized_transaction & sr_tx) const
inline

◆ operator()() [9/9]

template<class t_test_class>
bool push_core_event_visitor< t_test_class >::operator() ( const std::vector< cryptonote::transaction > & txs) const
inline

Member Data Documentation

◆ m_c

template<class t_test_class>
cryptonote::core& push_core_event_visitor< t_test_class >::m_c
private

◆ m_ev_index

template<class t_test_class>
size_t push_core_event_visitor< t_test_class >::m_ev_index
private

◆ m_events

template<class t_test_class>
const std::vector<test_event_entry>& push_core_event_visitor< t_test_class >::m_events
private

◆ m_tx_relay

template<class t_test_class>
cryptonote::relay_method push_core_event_visitor< t_test_class >::m_tx_relay
private

◆ m_validator

template<class t_test_class>
t_test_class& push_core_event_visitor< t_test_class >::m_validator
private

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