CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionPluginFactory< Options > Class Template Reference

Factory for creating transaction plugins. More...

Classes

class  BasicTransactionPluginT
 
class  EmbeddedTransactionPluginT
 
class  TransactionPluginT
 

Static Public Member Functions

template<typename TEmbeddedTransaction , typename TPublishEmbeddedFunc >
static std::unique_ptr< EmbeddedTransactionPluginCreateEmbedded (TPublishEmbeddedFunc publishEmbeddedFunc)
 Creates an embedded transaction plugin around publishEmbeddedFunc. More...
 
template<typename TTransaction , typename TEmbeddedTransaction , typename TPublishFunc , typename TPublishEmbeddedFunc >
static std::unique_ptr< TransactionPluginCreate (TPublishFunc publishFunc, TPublishEmbeddedFunc publishEmbeddedFunc)
 Creates a transaction plugin that supports embedding around publishFunc and publishEmbeddedFunc. More...
 

Detailed Description

template<TransactionPluginFactoryOptions Options>
class catapult::model::TransactionPluginFactory< Options >

Factory for creating transaction plugins.

Member Function Documentation

◆ Create()

template<TransactionPluginFactoryOptions Options>
template<typename TTransaction , typename TEmbeddedTransaction , typename TPublishFunc , typename TPublishEmbeddedFunc >
static std::unique_ptr<TransactionPlugin> catapult::model::TransactionPluginFactory< Options >::Create ( TPublishFunc  publishFunc,
TPublishEmbeddedFunc  publishEmbeddedFunc 
)
inlinestatic

Creates a transaction plugin that supports embedding around publishFunc and publishEmbeddedFunc.

◆ CreateEmbedded()

template<TransactionPluginFactoryOptions Options>
template<typename TEmbeddedTransaction , typename TPublishEmbeddedFunc >
static std::unique_ptr<EmbeddedTransactionPlugin> catapult::model::TransactionPluginFactory< Options >::CreateEmbedded ( TPublishEmbeddedFunc  publishEmbeddedFunc)
inlinestatic

Creates an embedded transaction plugin around publishEmbeddedFunc.


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