类别:ConduitFunction
函式方式的导流管
类型 | 使用 | 成员 | 说明 |
建构子 | public | ||
建构子 | public | ||
建构子 | public | ||
解构子 | public | ||
函式 | public | ||
函式 | public | ||
函式 | public |
说明
使用于转换为函式的音讯输出入介面。C/C++定义
typedef int (*CacInputFunction) ( const void * InputBuffer ,
unsigned long FrameCount ,
unsigned long StatusFlags ,
CaTime CurrentTime ,
CaTime InputBufferAdcTime ) ;
typedef int (*CacOutputFunction) ( void * OutputBuffer ,
unsigned long FrameCount ,
unsigned long StatusFlags ,
CaTime CurrentTime ,
CaTime OutputBufferDacTime ) ;
class ConduitFunction : public Conduit
{
public:
explicit ConduitFunction (void) ;
ConduitFunction (CacInputFunction inputFunction) ;
ConduitFunction (CacOutputFunction outputFunction) ;
virtual ~ConduitFunction (void) ;
virtual int obtain (void) ;
virtual int put (void) ;
virtual void finish (ConduitDirection direction = NoDirection ,
FinishCondition condition = Correct ) ;
};