41.1.2 Passing data between applications

The base class of Application, Process, allows applications to pass data or request data between each other. It is defined as follows:

        class Process {
        public: 
                Process() : target_(0) {}
                inline Process*& target() { return target_; }

                virtual void process_data(int size, char* data) = 0;
                virtual void send_data(int size, char* data = 0);

        protected:
                Process* target_;
        };

Process enables Application to link together.



Tom Henderson 2011-11-05