OpenASIP  2.0
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
NullBridgeEncoding Class Reference

#include <NullBridgeEncoding.hh>

Inheritance diagram for NullBridgeEncoding:
Inheritance graph
Collaboration diagram for NullBridgeEncoding:
Collaboration graph

Static Public Member Functions

static NullBridgeEncodinginstance ()
 

Private Member Functions

 NullBridgeEncoding ()
 
virtual ~NullBridgeEncoding ()
 

Static Private Attributes

static NullBridgeEncoding instance_
 The only instance. More...
 
static SourceField sourceField_
 The parent source field. More...
 
static MoveSlot moveSlot_
 The parent move slot. More...
 
static BinaryEncoding bem_
 The parent binary encoding. More...
 

Additional Inherited Members

- Public Member Functions inherited from BridgeEncoding
 BridgeEncoding (const std::string &name, unsigned int encoding, unsigned int extraBits, SourceField &parent)
 
 BridgeEncoding (const ObjectState *state, SourceField &parent)
 
virtual ~BridgeEncoding ()
 
SourceFieldparent () const
 
std::string bridgeName () const
 
virtual int bitPosition () const
 
virtual ObjectStatesaveState () const
 
- Public Member Functions inherited from Encoding
virtual ~Encoding ()
 
InstructionFieldparent () const
 
unsigned int encoding () const
 
unsigned int extraBits () const
 
virtual int width () const
 
- Static Public Attributes inherited from BridgeEncoding
static const std::string OSNAME_BRIDGE_ENCODING = "bridge_encoding"
 ObjectState name for bridge encoding. More...
 
static const std::string OSKEY_BRIDGE_NAME = "bridge_name"
 ObjectState attribute key for the name of the bridge. More...
 
- Static Public Attributes inherited from Encoding
static const std::string OSNAME_ENCODING = "encoding"
 ObjectState name for Encoding class. More...
 
static const std::string OSKEY_ENCODING = "encoding"
 ObjectState attribute key for the encoding. More...
 
static const std::string OSKEY_EXTRA_BITS = "extra_bits"
 ObjectState attribute key for the number of extra bits. More...
 
- Protected Member Functions inherited from Encoding
 Encoding (unsigned int encoding, unsigned int extraBits, InstructionField *parent)
 
 Encoding (const ObjectState *state, InstructionField *parent)
 
void setParent (InstructionField *parent)
 
void setEncoding (unsigned int encoding, unsigned int extraBits)
 

Detailed Description

A null version of SocketEncoding class.

Definition at line 45 of file NullBridgeEncoding.hh.

Constructor & Destructor Documentation

◆ NullBridgeEncoding()

NullBridgeEncoding::NullBridgeEncoding ( )
private

The constructor.

Definition at line 48 of file NullBridgeEncoding.cc.

48  :
49  BridgeEncoding("NULL", 0, 0, sourceField_) {
50 }

◆ ~NullBridgeEncoding()

NullBridgeEncoding::~NullBridgeEncoding ( )
privatevirtual

The destructor.

Definition at line 56 of file NullBridgeEncoding.cc.

56  {
57 }

Member Function Documentation

◆ instance()

NullBridgeEncoding & NullBridgeEncoding::instance ( )
static

Returns the instance of NullSocketEncoding.

Returns
The only instance.

Definition at line 66 of file NullBridgeEncoding.cc.

66  {
67  return instance_;
68 }

References instance_.

Referenced by SourceField::bridgeEncoding().

Member Data Documentation

◆ bem_

BinaryEncoding NullBridgeEncoding::bem_
staticprivate

The parent binary encoding.

Definition at line 60 of file NullBridgeEncoding.hh.

◆ instance_

NullBridgeEncoding NullBridgeEncoding::instance_
staticprivate

The only instance.

Definition at line 54 of file NullBridgeEncoding.hh.

Referenced by instance().

◆ moveSlot_

MoveSlot NullBridgeEncoding::moveSlot_
staticprivate

The parent move slot.

Definition at line 58 of file NullBridgeEncoding.hh.

◆ sourceField_

SourceField NullBridgeEncoding::sourceField_
staticprivate

The parent source field.

Definition at line 56 of file NullBridgeEncoding.hh.


The documentation for this class was generated from the following files:
NullBridgeEncoding::sourceField_
static SourceField sourceField_
The parent source field.
Definition: NullBridgeEncoding.hh:56
BridgeEncoding::BridgeEncoding
BridgeEncoding(const std::string &name, unsigned int encoding, unsigned int extraBits, SourceField &parent)
Definition: BridgeEncoding.cc:60
NullBridgeEncoding::instance_
static NullBridgeEncoding instance_
The only instance.
Definition: NullBridgeEncoding.hh:54