Hikyuu
| 命名空间 | 宏定义 | 类型定义 | 函数
SignalBase.h 文件参考
#include <set>
#include "../../KData.h"
#include "../../utilities/Parameter.h"
#include "../../trade_manage/TradeManager.h"
#include "../../serialization/Datetime_serialization.h"
#include <boost/serialization/shared_ptr.hpp>
#include <boost/serialization/set.hpp>
#include <boost/serialization/assume_abstract.hpp>
#include <boost/serialization/base_object.hpp>
SignalBase.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  hku::SignalBase
 信号指示器基类 更多...
 

命名空间

 hku
 Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
 

宏定义

#define SIGNAL_NO_PRIVATE_MEMBER_SERIALIZATION
 对于没有私有变量的继承子类,可直接使用该宏定义序列化 更多...
 
#define SIGNAL_IMP(classname)
 

类型定义

typedef shared_ptr< SignalBase > hku::SignalPtr
 客户程序都应使用该指针类型,操作信号指示器 更多...
 
typedef shared_ptr< SignalBase > hku::SGPtr
 

函数

HKU_API std::ostream & hku::operator<< (std::ostream &os, const SignalBase &sg)
 
HKU_API std::ostream & hku::operator<< (std::ostream &os, const SignalPtr &sg)
 

宏定义说明

#define SIGNAL_IMP (   classname)
值:
public:\
virtual SignalPtr _clone() {\
return SignalPtr(new classname());\
}\
virtual void _calculate();
shared_ptr< SignalBase > SignalPtr
客户程序都应使用该指针类型,操作信号指示器
Definition: SignalBase.h:185