Daniel Clemens wrote:
Hi erveryone,
The goal: I am currently on a coding project, that offers a common interface for all IPC-Types: - ... class IPC{ //Attributes + string sName + int iStatus + iMaxMsgSize + iMaxMessages + enum ipcType
//Methods + IPC();//constructor + string read(); + void write(string);
}//end class
The explanation of the code:
Depending on the type I suggest on creation of an IPC-Instance the rest should be handled by the class - e.g. instanciating a boost::interprocess::message_queue mq( foo ); Now the question I have is, if the containers offer some sort of way of providing this functionality. Maybe I am currently just too blind to find the answer to the problem.
Sorry, I don't follow. Could you elaborate a bit more? Regards, Ion