Make static methods for instance handling private in derived classes.
This commit is contained in:
@@ -65,6 +65,9 @@ private:
|
||||
vector<pair<unsigned, unsigned>>
|
||||
m_vColumnBits; // This container stores for each column bit a pair which consists of "First/Number of the column bit" and "Second/Number of the address bit"
|
||||
|
||||
static AddressDecoder &getInstance();
|
||||
static void createInstance(Type t);
|
||||
|
||||
public:
|
||||
virtual void setConfiguration(std::string url);
|
||||
|
||||
|
||||
@@ -59,6 +59,9 @@ private:
|
||||
|
||||
tinyxml2::XMLElement *addressmapping;
|
||||
|
||||
static AddressDecoder &getInstance();
|
||||
static void createInstance(Type t);
|
||||
|
||||
public:
|
||||
virtual DecodedAddress decodeAddress(sc_dt::uint64 addr);
|
||||
virtual sc_dt::uint64 encodeAddress(DecodedAddress n);
|
||||
|
||||
Reference in New Issue
Block a user