Sponsored Content
Top Forums Programming Sharing C++ Objects with virtual function table pointers Post 13862 by wizard on Thursday 24th of January 2002 11:53:16 AM
Old 01-24-2002
If the virtual function table is in process A, then the pointer to the table is in the process address space of process A and has no meaning in process B, so if you pass the pointer to process B, it would be meaningless. I don't know what OS you're using, but have you thought of using shared libraries to share the code. If that isn't an option, what about shared memory?
 

10 More Discussions You Might Find Interesting

1. Programming

Regarding Function and Pointers.

HI, Here is some thing that is puzzling me from a long time. Can some body explain me this with example. The question is :- What is the difference between function pointer and pointer to a function. Where do we actually use the function pointers and pointer to functions. Thanks in... (0 Replies)
Discussion started by: S.Vishwanath
0 Replies

2. IP Networking

sharing of IP address for load sharing avoiding virtual server & redirection machine

I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers. Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

3. Programming

Pure Virtual Function in C++

Dear All, Here I want to know why we put =0 in case of pure virtual function, why not =1, =2 or any thing else Please send me answer any one as soon as possible. (1 Reply)
Discussion started by: krishna_sicsr
1 Replies

4. OS X (Apple)

Virtual screen accessed by Screen Sharing

Hi, I'm trying to create a virtual screen, (maybe xvfb? or any other virtual screen buffer) and be able to use Screen Sharing to connect to it. The setup is that I have a Mac Mini connected to the TV. But when my girlfriend is using Front Row, I can't use Screen Sharing at the same time from... (0 Replies)
Discussion started by: linge
0 Replies

5. Shell Programming and Scripting

Crosstab to List table using awk Function

What I am trying to achieve is turning crosstab into a normal table e.g. convert following table Jan Feb Mar Apr May Jun Australia 1 2 3 4 5 6 USA 7 8 9 10 11 12 China 13 14 15 16 17 18 to Australia Jan 1 Australia Feb 2 Australia Mar 3 ... (2 Replies)
Discussion started by: asdban
2 Replies

6. Shell Programming and Scripting

Read Table,View,Package,Function and Procedure Name in a File

Hi I am new to Unix shell scripting. But i need help to slove the below issue. Issue description: I want to read table, view names and package names in a file my plan to find the table name is : search "From" key word find the table or view To find the packge name : Search "Package... (5 Replies)
Discussion started by: sboss
5 Replies

7. Programming

question about Function pointers

Hello forum memebers As iam new to C++ programming i am little bit confuse to understand the function pointers. Please help me to understand the function pointers with examples are suggest me good site for this,Its better if it have picturial representation ie any PPTS available in Google.... (2 Replies)
Discussion started by: rajkumar_g
2 Replies

8. UNIX for Advanced & Expert Users

What is the function to get address of the virtual memory block in linux??

I want address of current virtual memory block? i am using fedora10:wall::wall: (1 Reply)
Discussion started by: powyama
1 Replies

9. Programming

How to Declare an array of function pointers?

I am attempting to create an array of function pointers. The examples I follow to do this are from: support.microsoft.com/en-us/help/30580/how-to-declare-an-array-of-pointers-to-functions-in-visual-c ... (3 Replies)
Discussion started by: spflanze
3 Replies

10. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
QwtArrayData(3) 						 Qwt User's Guide						   QwtArrayData(3)

NAME
QwtArrayData - Data class containing two QwtArray<double> objects. SYNOPSIS
#include <qwt_data.h> Inherits QwtData. Public Member Functions virtual QwtDoubleRect boundingRect () const virtual QwtData * copy () const QwtArrayData & operator= (const QwtArrayData &) QwtArrayData (const double *x, const double *y, size_t size) QwtArrayData (const QwtArray< double > &x, const QwtArray< double > &y) virtual size_t size () const virtual double x (size_t i) const const QwtArray< double > & xData () const virtual double y (size_t i) const const QwtArray< double > & yData () const Detailed Description Data class containing two QwtArray<double> objects. Constructor &; Destructor Documentation QwtArrayData::QwtArrayData (const QwtArray< double > &x, const QwtArray< double > &y) Constructor Parameters: x Array of x values y Array of y values See also: QwtPlotCurve::setData() QwtArrayData::QwtArrayData (const double *x, const double *y, size_tsize) Constructor Parameters: x Array of x values y Array of y values size Size of the x and y arrays See also: QwtPlotCurve::setData() Member Function Documentation QwtDoubleRect QwtArrayData::boundingRect () const [virtual] Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false Reimplemented from QwtData. QwtData * QwtArrayData::copy () const [virtual] Returns: Pointer to a copy (virtual copy constructor) Implements QwtData. QwtArrayData & QwtArrayData::operator= (const QwtArrayData &data) Assignment. size_t QwtArrayData::size () const [virtual] Returns: Size of the data set Implements QwtData. double QwtArrayData::x (size_ti) const [virtual] Return the x value of data point i Parameters: i Index Returns: x X value of data point i Implements QwtData. const QwtArray< double > & QwtArrayData::xData () const Returns: Array of the x-values double QwtArrayData::y (size_ti) const [virtual] Return the y value of data point i Parameters: i Index Returns: y Y value of data point i Implements QwtData. const QwtArray< double > & QwtArrayData::yData () const Returns: Array of the y-values Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtArrayData(3)
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy