|
FEDEM Model Database
R8.0
Source code of the FEDEM model database
|
The most basic slot class. More...
#include <FFaSwitchBoard.H>
Public Member Functions | |
| FFaSlotBase () | |
| Default constructor. More... | |
| virtual | ~FFaSlotBase () |
| The destructor removes this from the switchboard. More... | |
| virtual bool | operator== (FFaSlotBase &otherSlot)=0 |
| Equality operator. More... | |
| unsigned int | getTypeID () const |
| Returns the myTypeID of this slot. More... | |
| bool | addConnection (FFaSwitchBoardConnector *sender, int subject) |
| bool | removeConnection (FFaSwitchBoardConnector *sender, int subject) |
| virtual FFaSwitchBoardConnector * | getObject ()=0 |
| virtual anyMethodType | getMethod ()=0 |
| virtual anyFunctionType | getFunction ()=0 |
| virtual bool | isStaticSlot () const =0 |
Protected Attributes | |
| unsigned int | myTypeID |
| Class type Id of this slot. More... | |
Static Protected Attributes | |
| static int | uniqueTypeId = 0 |
| Running counter to ensure unique Ids. More... | |
Private Types | |
| using | IntMap = std::map< int, int > |
| using | SwbMap = std::map< FFaSwitchBoardConnector *, IntMap > |
| Convenience type alias, switchboard connection mapping. More... | |
Private Attributes | |
| SwbMap | mySwitchBoardLookups |
| sender --> (subject,count) More... | |
| bool | IAmDeletingMe |
| Set to true during destruction. More... | |
The most basic slot class.
|
private |
Convenience type alias
|
private |
Convenience type alias, switchboard connection mapping.
|
inline |
Default constructor.
|
virtual |
The destructor removes this from the switchboard.
| bool FFaSlotBase::addConnection | ( | FFaSwitchBoardConnector * | sender, |
| int | subject | ||
| ) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Returns the myTypeID of this slot.
|
pure virtual |
|
pure virtual |
Equality operator.
| bool FFaSlotBase::removeConnection | ( | FFaSwitchBoardConnector * | sender, |
| int | subject | ||
| ) |
|
private |
Set to true during destruction.
|
private |
sender --> (subject,count)
|
protected |
Class type Id of this slot.
|
staticprotected |
Running counter to ensure unique Ids.