undefined data

Dears,

What is the meant by using the configuration between the constructor name and braces "{" (The bold data)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MemoryController::MemoryController(MemorySystem *parent, CSVWriter &csvOut_, ostream &dramsim_log_) :
               dramsim_log(dramsim_log_),
                Trans2d(2U), // 3D Vector
                bankStates(NUM_RANKS, vector<BankState>(NUM_BANKS, dramsim_log)), //Vector
                commandQueue(bankStates, dramsim_log_), //Vector 
                poppedBusPacket(NULL),
                csvOut(csvOut_),
                totalTransactions(0),
                refreshRank(0)
{
        DEBUG("== Enter the  MC Object == ");
        //get handle on parent
        parentMemorySystem = parent;


        //bus related fields
        outgoingCmdPacket = NULL;
        outgoingDataPacket = NULL;
        dataCyclesLeft = 0;
        cmdCyclesLeft = 0;
{
closed account (Dy7SLyTq)
http://www.cplusplus.com/doc/tutorial/classes/
ctrl+f for width(x)
closed account (Dy7SLyTq)
hmmm did not know you could do that
Topic archived. No new replies allowed.