Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes
rve_render_client::SceneObject Class Reference

#include <scene_object.h>

Inheritance diagram for rve_render_client::SceneObject:
Inheritance graph
[legend]

List of all members.

Classes

struct  ContextInfo

Public Types

typedef std::vector
< rve_common::UUID
V_UUID

Public Member Functions

virtual bool addToRegistry (rve_common::RegistryPtr registry, rve_common::RegistrantWPtr registrant)=0
void create (Scene *scene, ClientContext *context)
void destroy (Scene *scene, ClientContext *context)
virtual void doCreate (ContextInfo &context)=0
virtual void doDestroy (ContextInfo &context)=0
virtual void getContextDependencies (V_UUID &deps)=0
void removeFromAll ()
virtual bool removeFromRegistry (rve_common::RegistryPtr registry, rve_common::RegistrantWPtr registrant)=0

Protected Types

typedef std::vector< ContextInfoV_ContextInfo

Protected Member Functions

uint32_t addProxy (const std::string &name)
template<typename F >
void forEachContext (F f)
V_ContextInfogetContexts ()
template<typename T >
T * getProxy (const ContextInfo &info, uint32_t proxy_index)
const rve_common::UUIDgetSceneID (Scene *scene)
template<typename P , typename F >
void multiplex (F f, uint32_t proxy_index)

Private Member Functions

void * getProxy (const ContextInfo &info, uint32_t proxy_index)
void lookupProxy (ContextInfo &info, const std::string &name)

Private Attributes

V_ContextInfo contexts_
std::vector< std::string > proxies_

Detailed Description

Definition at line 46 of file scene_object.h.


Member Typedef Documentation

Definition at line 60 of file scene_object.h.

Definition at line 69 of file scene_object.h.


Member Function Documentation

uint32_t rve_render_client::SceneObject::addProxy ( const std::string &  name) [protected]

Definition at line 89 of file scene_object.cpp.

virtual bool rve_render_client::SceneObject::addToRegistry ( rve_common::RegistryPtr  registry,
rve_common::RegistrantWPtr  registrant 
) [pure virtual]
void rve_render_client::SceneObject::create ( Scene scene,
ClientContext context 
)

Definition at line 47 of file scene_object.cpp.

void rve_render_client::SceneObject::destroy ( Scene scene,
ClientContext context 
)

Definition at line 65 of file scene_object.cpp.

virtual void rve_render_client::SceneObject::doCreate ( ContextInfo context) [pure virtual]
virtual void rve_render_client::SceneObject::doDestroy ( ContextInfo context) [pure virtual]
template<typename F >
void rve_render_client::SceneObject::forEachContext ( f) [inline, protected]

Definition at line 92 of file scene_object.h.

virtual void rve_render_client::SceneObject::getContextDependencies ( V_UUID deps) [pure virtual]

Definition at line 87 of file scene_object.h.

template<typename T >
void * rve_render_client::SceneObject::getProxy ( const ContextInfo info,
uint32_t  proxy_index 
) [inline, protected]

Definition at line 82 of file scene_object.h.

void* rve_render_client::SceneObject::getProxy ( const ContextInfo info,
uint32_t  proxy_index 
) [private]

Definition at line 98 of file scene_object.cpp.

void rve_render_client::SceneObject::lookupProxy ( ContextInfo info,
const std::string &  name 
) [private]

Definition at line 84 of file scene_object.cpp.

template<typename P , typename F >
void rve_render_client::SceneObject::multiplex ( f,
uint32_t  proxy_index 
) [inline, protected]

Definition at line 104 of file scene_object.h.

Definition at line 103 of file scene_object.cpp.

virtual bool rve_render_client::SceneObject::removeFromRegistry ( rve_common::RegistryPtr  registry,
rve_common::RegistrantWPtr  registrant 
) [pure virtual]

Member Data Documentation

Definition at line 121 of file scene_object.h.

Definition at line 122 of file scene_object.h.


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


rve_render_client
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:32