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

#include <NullFUGuardEncoding.hh>

Inheritance diagram for NullFUGuardEncoding:
Inheritance graph
Collaboration diagram for NullFUGuardEncoding:
Collaboration graph

Static Public Member Functions

static NullFUGuardEncodinginstance ()
 

Private Member Functions

 NullFUGuardEncoding ()
 
virtual ~NullFUGuardEncoding ()
 

Static Private Attributes

static NullFUGuardEncoding instance_
 The only instance of this class. More...
 
static GuardField guardField_
 The parent guard 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 FUGuardEncoding
 FUGuardEncoding (const std::string &fu, const std::string &port, bool inverted, unsigned int encoding, GuardField &parent)
 
 FUGuardEncoding (const ObjectState *state, GuardField &parent)
 
virtual ~FUGuardEncoding ()
 
std::string functionUnit () const
 
std::string port () const
 
virtual ObjectStatesaveState () const
 
- Public Member Functions inherited from GuardEncoding
virtual ~GuardEncoding ()
 
GuardFieldparent () const
 
bool isGuardInverted () const
 
unsigned int encoding () const
 
- Static Public Attributes inherited from FUGuardEncoding
static const std::string OSNAME_FU_GUARD_ENCODING = "fu_guard_enc"
 ObjectState name for FU guard encoding. More...
 
static const std::string OSKEY_FU_NAME = "fu_name"
 ObjectState attribute key for the name of the function unit. More...
 
static const std::string OSKEY_PORT_NAME = "port_name"
 ObjectState attribute key for the name of the port. More...
 
- Static Public Attributes inherited from GuardEncoding
static const std::string OSNAME_GUARD_ENCODING = "guard_encoding"
 ObjectState name for guard encoding. More...
 
static const std::string OSKEY_INVERTED = "inverted"
 ObjectState attribute key for invert flag. More...
 
static const std::string OSKEY_ENCODING = "encoding"
 ObjectState attribute key for encoding. More...
 
- Protected Member Functions inherited from GuardEncoding
 GuardEncoding (bool inverted, unsigned int encoding)
 
 GuardEncoding (const ObjectState *state)
 
void setParent (GuardField *parent)
 

Detailed Description

A null version of GPRGuardEncoding class.

Definition at line 44 of file NullFUGuardEncoding.hh.

Constructor & Destructor Documentation

◆ NullFUGuardEncoding()

NullFUGuardEncoding::NullFUGuardEncoding ( )
private

The constructor.

Definition at line 46 of file NullFUGuardEncoding.cc.

46  :
47  FUGuardEncoding("NULL", "NULL", false, 0, guardField_) {
48 }

◆ ~NullFUGuardEncoding()

NullFUGuardEncoding::~NullFUGuardEncoding ( )
privatevirtual

The destructor.

Definition at line 54 of file NullFUGuardEncoding.cc.

54  {
55 }

Member Function Documentation

◆ instance()

NullFUGuardEncoding & NullFUGuardEncoding::instance ( )
static

Returns the instance of NullFUGuardEncoding.

Returns
The instance.

Definition at line 64 of file NullFUGuardEncoding.cc.

64  {
65  return instance_;
66 }

References instance_.

Referenced by CodeCompressorPlugin::addBitsForGuardField(), and GuardField::fuGuardEncoding().

Member Data Documentation

◆ bem_

BinaryEncoding NullFUGuardEncoding::bem_
staticprivate

The parent binary encoding.

Definition at line 59 of file NullFUGuardEncoding.hh.

◆ guardField_

GuardField NullFUGuardEncoding::guardField_
staticprivate

The parent guard field.

Definition at line 55 of file NullFUGuardEncoding.hh.

◆ instance_

NullFUGuardEncoding NullFUGuardEncoding::instance_
staticprivate

The only instance of this class.

Definition at line 53 of file NullFUGuardEncoding.hh.

Referenced by instance().

◆ moveSlot_

MoveSlot NullFUGuardEncoding::moveSlot_
staticprivate

The parent move slot.

Definition at line 57 of file NullFUGuardEncoding.hh.


The documentation for this class was generated from the following files:
NullFUGuardEncoding::guardField_
static GuardField guardField_
The parent guard field.
Definition: NullFUGuardEncoding.hh:55
FUGuardEncoding::FUGuardEncoding
FUGuardEncoding(const std::string &fu, const std::string &port, bool inverted, unsigned int encoding, GuardField &parent)
Definition: FUGuardEncoding.cc:62
NullFUGuardEncoding::instance_
static NullFUGuardEncoding instance_
The only instance of this class.
Definition: NullFUGuardEncoding.hh:53