OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::client::JointClientContext Class Reference
Inheritance diagram for osvr::client::JointClientContext:
OSVR_ClientContextObject

Public Member Functions

 JointClientContext (const char appId[], common::ClientContextDeleter del)
 
server::ServergetServer ()
 
- Public Member Functions inherited from OSVR_ClientContextObject
virtual ~OSVR_ClientContextObject ()
 Destructor.
 
void update ()
 System-wide update method.
 
std::string const & getAppId () const
 Accessor for app ID.
 
osvr::common::ClientInterfacePtr getInterface (const char path[])
 Creates an interface object for the given path. The context retains shared ownership. More...
 
osvr::common::ClientInterfacePtr releaseInterface (osvr::common::ClientInterface *iface)
 Searches through this context to determine if the passed interface object has been retained, and if so, ownership is transferred to the caller. More...
 
InterfaceList const & getInterfaces () const
 
void sendRoute (std::string const &route)
 Sends a JSON route/transform object to the server.
 
std::string getStringParameter (std::string const &path) const
 Gets a string parameter value.
 
osvr::common::PathTree const & getPathTree () const
 Accessor for the path tree.
 
template<typename T >
void * acquireObject (T obj)
 Pass (smart-pointer) ownership of some object to the client context.
 
bool releaseObject (void *obj)
 Frees some object whose lifetime is controlled by the client context. More...
 
osvr::common::Transform const & getRoomToWorldTransform () const
 Gets the transform from room space to world space.
 
void setRoomToWorldTransform (osvr::common::Transform const &xform)
 Sets the transform from room space to world space.
 
osvr::common::ClientContextDeleter getDeleter () const
 Returns the specialized deleter for this object.
 
bool getStatus () const
 Returns true if we are started up and fully connected (path tree received, etc.)
 
void log (osvr::util::log::LogLevel severity, const char *message)
 Logs a message from the client.
 
osvr::util::log::LoggerPtr const & logger () const
 Provides logger access for related internal classes.
 

Additional Inherited Members

- Public Types inherited from OSVR_ClientContextObject
typedef std::vector
< osvr::common::ClientInterfacePtr
InterfaceList
 
- Protected Member Functions inherited from OSVR_ClientContextObject
 OSVR_ClientContextObject (const char appId[], osvr::common::ClientContextDeleter del)
 Constructor for derived class use only.
 
 OSVR_ClientContextObject (const char appId[], osvr::common::ClientInterfaceFactory const &interfaceFactory, osvr::common::ClientContextDeleter del)
 Constructor for derived class use only.
 

Detailed Description

Definition at line 53 of file JointClientContext.h.

Constructor & Destructor Documentation

osvr::client::JointClientContext::JointClientContext ( const char  appId[],
common::ClientContextDeleter  del 
)

Create all the remote handler factories.

creates the OSVR connection with its nested VRPN connection

Get the VRPN connection out and use it.

Get the OSVR connection out and use it to make a server.

Create the system client device.

Definition at line 53 of file JointClientContext.cpp.


The documentation for this class was generated from the following files: