Inheritance diagram for GATE_BASE:
Public Member Functions | |
bool | is_open (void) const |
void | init (SAMPLE_BUFFER *sbuf) |
Prepares chain operator for processing. | |
void | process (void) |
Processes sample data in the buffer passed to init(). | |
virtual void | analyze (SAMPLE_BUFFER *sbuf)=0 |
virtual GATE_BASE * | clone (void) const =0 |
Virtual method that clones the current object and returns a pointer to it. | |
Protected Member Functions | |
void | close_gate (void) |
void | open_gate (void) |
Gate processes sample data, but doesn't modify it. Gate is either open or closed.
|
Virtual method that clones the current object and returns a pointer to it. This must be implemented by all subclasses! Implements OPERATOR. Implemented in TIME_CROP_GATE, and THRESHOLD_GATE. |
|
Prepares chain operator for processing. Whenever attributes of the sample buffer pointed by 'sbuf' are changed, chain operator should be reinitialized with a new call to init().
Implements CHAIN_OPERATOR. |