Boost logo

Boost Users :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-08-19 07:19:29


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net