Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gepetto-viewer-corba
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
gepetto-viewer-corba
Commits
06e41bab
Commit
06e41bab
authored
6 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
remove gepetto-viewer-server, fix #74
parent
928b53ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/gepetto/viewer/corba/doc.hh
+1
-1
1 addition, 1 deletion
include/gepetto/viewer/corba/doc.hh
src/CMakeLists.txt
+0
-9
0 additions, 9 deletions
src/CMakeLists.txt
src/corbaserver.cc
+0
-51
0 additions, 51 deletions
src/corbaserver.cc
with
1 addition
and
61 deletions
include/gepetto/viewer/corba/doc.hh
+
1
−
1
View file @
06e41bab
...
...
@@ -6,7 +6,7 @@
///
/// To use the graphical interface via python,
/// \li start executable
/// \code{bash} gepetto-
viewer-server
\endcode.
/// \code{bash} gepetto-
gui
\endcode.
/// \li in a python terminal, create a client
/// \code{py}
/// from gepetto.corbaserver import Client
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
0
−
9
View file @
06e41bab
...
...
@@ -78,15 +78,6 @@ IF(NOT CLIENT_ONLY)
INSTALL
(
TARGETS
${
LIBRARY_NAME
}
DESTINATION lib
)
# Standalone corba server
ADD_EXECUTABLE
(
gepetto-viewer-server corbaserver.cc
)
TARGET_LINK_LIBRARIES
(
gepetto-viewer-server
${
LIBRARY_NAME
}
)
PKG_CONFIG_USE_DEPENDENCY
(
gepetto-viewer-server omniORB4
)
PKG_CONFIG_USE_DEPENDENCY
(
gepetto-viewer-server gepetto-viewer
)
#TARGET_LINK_LIBRARIES(gepetto-viewer-server ${Boost_LIBRARIES})
INSTALL
(
TARGETS gepetto-viewer-server DESTINATION bin
)
ELSE
(
NOT CLIENT_ONLY
)
ADD_CUSTOM_TARGET
(
generate_idl_cpp ALL DEPENDS
${
ALL_IDL_CPP_STUBS
}
)
...
...
This diff is collapsed.
Click to expand it.
src/corbaserver.cc
deleted
100644 → 0
+
0
−
51
View file @
928b53ca
// Copyright (C) 14 by Mathieu Geisert LAAS-CNRS.
//
// This file is part of the SceneViewer-corba.
//
// This software is provided "as is" without warranty of any kind,
// either expressed or implied, including but not limited to the
// implied warranties of fitness for a particular purpose.
//
// See the COPYING file for more information.
#include
<iostream>
#include
<osg/DisplaySettings>
#include
<osg/ArgumentParser>
#include
"gepetto/viewer/corba/server.hh"
using
graphics
::
corbaServer
::
Server
;
int
main
(
int
argc
,
char
*
argv
[])
{
osg
::
ArgumentParser
arguments
(
&
argc
,
argv
);
osg
::
DisplaySettings
*
ds
=
osg
::
DisplaySettings
::
instance
().
get
();
// This should not be done here. Two osg built-in way:
// - Environment variable OSG_MULTI_SAMPLES : a bit tedious
// - Command line option --samples : slight better with an alias
#ifndef DISABLE_SAMPLING
ds
->
setNumMultiSamples
(
4
);
#else
ds
->
setNumMultiSamples
(
0
);
#endif
// set up the usage document, in case we need to print out how to use this program.
arguments
.
getApplicationUsage
()
->
setApplicationName
(
arguments
.
getApplicationName
());
// arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is an OpenSceneGraph example that shows how to use the accumulation buffer to achieve a simple motion blur effect.");
arguments
.
getApplicationUsage
()
->
setCommandLineUsage
(
arguments
.
getApplicationName
()
+
" [options]"
);
arguments
.
getApplicationUsage
()
->
addCommandLineOption
(
"-h or --help"
,
"Display this information"
);
ds
->
readCommandLine
(
arguments
);
// populate the help message.
// if user request help write it out to cout.
if
(
arguments
.
read
(
"-h"
)
||
arguments
.
read
(
"--help"
))
{
arguments
.
getApplicationUsage
()
->
write
(
std
::
cout
);
return
1
;
}
graphics
::
WindowsManagerPtr_t
wm
=
graphics
::
WindowsManager
::
create
();
Server
server
(
wm
,
argc
,
(
const
char
**
)
argv
,
false
);
// dernier arg : autorise ou non multithread (original = true)
server
.
startCorbaServer
();
server
.
processRequest
(
true
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment