📄 eventformatlauncher.h
字号:
#ifndef Amis_EventFormatLauncher_h_#define Amis_EventFormatLauncher_h_#include <amis/configure.h>#include <amis/Launcher.h>#include <amis/LauncherItem.h>#include <amis/EventFormat.h>#include <amis/Utility.h>AMIS_NAMESPACE_BEGINclass Property;class EventFormatLauncher : public Launcher< EventFormatPtr, Property*, StringPair > {private: static Initializer< Launcher< EventFormatPtr, Property*, StringPair >* >* queue;public: EventFormatLauncher( void ) : Launcher< EventFormatPtr, Property*, StringPair >( "EventFormatLauncher", queue ) {} virtual ~EventFormatLauncher() {} template < class EventFormat > friend class EventFormatLauncherItem;};template < class Format >class EventFormatLauncherItem : public LauncherItem< EventFormatPtr, Property*, StringPair > {public: EventFormatLauncherItem( const std::string& name, const std::string& feature_type, const std::string& desc = "" ) : LauncherItem< EventFormatPtr, Property*, StringPair >( EventFormatLauncher::queue, StringPair( name, feature_type ), desc ) {} virtual ~EventFormatLauncherItem() {} EventFormatPtr launch( Property* property ) { return EventFormatPtr( new Format() ); }};AMIS_NAMESPACE_END#endif // Amis_EventFormatLauncher_h_// end of EventFormatLauncher.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -