OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Question about .dll only usage.


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Zachary1234
User


Joined: 20 Nov 2018
Posts: 24

PostPosted: Mon Dec 31, 2018 9:05 am    Post subject:
Question about .dll only usage.
Reply with quote

To whom it may concern,


is there a way to obtain OSG classes for source code usage
from the OSG .dll files without having to use windows.h
to request methods, fields, constructors one at a time?


If the class that I desire is located inside an OSG .dll file,
how can I access that class in exactly the same way
that #include allows me to do? Without having to request
a method and then use it, etc...



Is there something that OSG do in this particular area with
regard to classes inside .dll files?

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Chris Hanson
Guest





PostPosted: Mon Dec 31, 2018 9:17 am    Post subject:
Question about .dll only usage.
Reply with quote

This is a really complicated and exotic request.

Can you maybe explain what you're trying to accomplish overall, rather than asking so specifically about the way you are trying to accomplish it presently?


On Mon, Dec 31, 2018 at 10:04 AM A Z < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:

Quote:
To whom it may concern,


is there a way to obtain OSG classes for source code usage
from the OSG .dll files without having to use windows.h
to request methods, fields, constructors one at a time?


If the class that I desire is located inside an OSG .dll file,
how can I access that class in exactly the same way
that #include allows me to do?  Without having to request
a method and then use it, etc...



Is there something that OSG do in this particular area with
regard to classes inside .dll files?


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12279

PostPosted: Mon Dec 31, 2018 9:35 am    Post subject:
Question about .dll only usage.
Reply with quote

Hi ???

The OSG has no dll specific mechanism, and while I have no WIndows
expertise my understanding is part of the point of the dll is that it
doesn't have a public interface, this is in the .lib.

However, the OSG has support of class introspection via the
serializers that are provided for the native binary/ascii/xml reading
and writing. The osgDB::ClassInterface class in 3.4 onwards provide a
means of querying what methods+properties are available, calling
methods and setting/getting properties and creating instances.

The most extensive example of ClassInterface in action is found in the
OpenSceneGraph/src/osgPlygins/lua plugin that uses ClassInterface to
automatically create bindings between the C++ OSG and Lua.

Cheers,
Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Question about method of building osgQt trexmsuee Build system [build] 1 Thu Apr 11, 2019 2:22 pm View latest post
No new posts Really basic question light/material ... dhhabyc General 0 Tue Apr 09, 2019 4:53 pm View latest post
No new posts Question about linking OSG 3D content... Zachary1234 General 0 Mon Mar 25, 2019 6:14 am View latest post
No new posts Question about security of shader dev... Werner Modenbach General 5 Wed Jan 30, 2019 5:50 pm View latest post
No new posts Question about 64 bit .dll classloading. Zachary1234 General 0 Sat Dec 29, 2018 10:03 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP