Public Member Functions | Static Public Member Functions | List of all members
SaiBoolchainOperator Class Reference

#include <saiop.h>

Inheritance diagram for SaiBoolchainOperator:
Inheritance graph
Collaboration diagram for SaiBoolchainOperator:
Collaboration graph

Public Member Functions

 SaiBoolchainOperator (char c_0, char c_1)
std::string get_config () const OVERRIDE
ErrorOrString apply (const SaiCalcEnv &calcEnv) const OVERRIDE
void addRule (const SaiBoolRule &r)
size_t count_rules () const
const SaiBoolRulegetRule (size_t idx) const
char getOutTrans (bool i) const
- Public Member Functions inherited from SaiOperator
 SaiOperator (SaiOperatorType type_)
virtual ~SaiOperator ()
SaiOperatorType get_type () const
std::string get_description () const

Static Public Member Functions

static ErrorOrSaiOperatorPtr make (const char *config)
- Static Public Member Functions inherited from SaiOperator
static ErrorOrSaiOperatorPtr make (SaiOperatorType type, const char *config)
static const chartype_name (SaiOperatorType type)

Detailed Description

Definition at line 177 of file saiop.h.

Constructor & Destructor Documentation

SaiBoolchainOperator::SaiBoolchainOperator ( char  c_0,
char  c_1 

Definition at line 182 of file saiop.h.

Member Function Documentation

ErrorOrSaiOperatorPtr SaiBoolchainOperator::make ( const char config)
std::string SaiBoolchainOperator::get_config ( ) const
ErrorOrString SaiBoolchainOperator::apply ( const SaiCalcEnv calcEnv) const
void SaiBoolchainOperator::addRule ( const SaiBoolRule r)

Definition at line 194 of file saiop.h.

References sai_assert, and SBO_FIRST.

Referenced by boolchain_gui_changed_cb(), and make().

size_t SaiBoolchainOperator::count_rules ( ) const

Definition at line 203 of file saiop.h.

Referenced by bool_config_changed_cb().

const SaiBoolRule& SaiBoolchainOperator::getRule ( size_t  idx) const

Definition at line 204 of file saiop.h.

References sai_assert.

Referenced by bool_config_changed_cb().

char SaiBoolchainOperator::getOutTrans ( bool  i) const

Definition at line 208 of file saiop.h.

Referenced by bool_config_changed_cb().

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