Make static methods for instance handling private in derived classes.

This commit is contained in:
Johannes Feldmann
2018-05-30 11:02:36 +02:00
parent 9945db4f4b
commit 805033d99b
2 changed files with 6 additions and 0 deletions

View File

@@ -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);

View File

@@ -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);