OpenASIP  2.0
Classes | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TTAMachine::MachinePart Class Reference

#include <MachinePart.hh>

Inheritance diagram for TTAMachine::MachinePart:
Inheritance graph
Collaboration diagram for TTAMachine::MachinePart:
Collaboration graph

Classes

struct  Comparator
 

Protected Member Functions

 MachinePart ()
 
virtual ~MachinePart ()
 

Private Member Functions

 MachinePart (const MachinePart &)
 Copying forbidden. More...
 
MachinePartoperator= (const MachinePart &)
 Assingment forbidden. More...
 

Private Attributes

int id_
 

Static Private Attributes

static int idCounter_ = 0
 Id just for comparison for sets and maps. More deterministic than pointer to the object. More...
 

Additional Inherited Members

- Public Member Functions inherited from Serializable
virtual void loadState (const ObjectState *state)=0
 
virtual ObjectStatesaveState () const =0
 
virtual ~Serializable ()
 

Detailed Description

Abstract base class for all the machine components.

Definition at line 57 of file MachinePart.hh.

Constructor & Destructor Documentation

◆ MachinePart() [1/2]

TTAMachine::MachinePart::MachinePart ( )
protected

Constructor.

Definition at line 55 of file MachinePart.cc.

55  : id_(idCounter_++){
56 }

◆ ~MachinePart()

TTAMachine::MachinePart::~MachinePart ( )
protectedvirtual

Destructor.

Definition at line 62 of file MachinePart.cc.

62  {
63 }

◆ MachinePart() [2/2]

TTAMachine::MachinePart::MachinePart ( const MachinePart )
private

Copying forbidden.

Member Function Documentation

◆ operator=()

MachinePart& TTAMachine::MachinePart::operator= ( const MachinePart )
private

Assingment forbidden.

Member Data Documentation

◆ id_

int TTAMachine::MachinePart::id_
private

Definition at line 75 of file MachinePart.hh.

◆ idCounter_

int TTAMachine::MachinePart::idCounter_ = 0
staticprivate

Id just for comparison for sets and maps. More deterministic than pointer to the object.

Definition at line 74 of file MachinePart.hh.


The documentation for this class was generated from the following files:
TTAMachine::MachinePart::idCounter_
static int idCounter_
Id just for comparison for sets and maps. More deterministic than pointer to the object.
Definition: MachinePart.hh:74
TTAMachine::MachinePart::id_
int id_
Definition: MachinePart.hh:75