Nebula
|
#include <frameserver.h>
Inherits Core::RefCounted.
Public Member Functions | |
FrameServer () | |
constructor | |
virtual | ~FrameServer () |
destructor | |
void | Open () |
open server | |
bool | IsOpen () const |
returns true if open | |
void | Close () |
close server, discards all remaining scripts | |
void | OnWindowResize () |
propagate resize to all in all scripts | |
void | RebuildScripts () |
Rebuild all frame scripts. | |
Ptr< FrameScript > | LoadFrameScript (const Resources::ResourceName &name, const IO::URI &path, const CoreGraphics::WindowId window) |
load frame script and save with name | |
const Ptr< FrameScript > & | GetFrameScript (const Resources::ResourceName &name) |
get script by name | |
void | UnloadFrameScript (const Resources::ResourceName &name) |
unload frame script | |
Public Member Functions inherited from Core::RefCounted | |
RefCounted () | |
constructor | |
int | GetRefCount () const |
get the current refcount | |
void | AddRef () |
increment refcount by one | |
void | Release () |
decrement refcount and destroy object if refcount is zero | |
bool | IsInstanceOf (const Rtti &rtti) const |
return true if this object is instance of given class | |
bool | IsInstanceOf (const Util::String &className) const |
return true if this object is instance of given class by string | |
bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
return true if this object is instance of given class by fourcc | |
bool | IsA (const Rtti &rtti) const |
return true if this object is instance of given class, or a derived class | |
bool | IsA (const Util::String &rttiName) const |
return true if this object is instance of given class, or a derived class, by string | |
bool | IsA (const Util::FourCC &rttiFourCC) const |
return true if this object is instance of given class, or a derived class, by fourcc | |
const Util::String & | GetClassName () const |
get the class name | |
Util::FourCC | GetClassFourCC () const |
get the class FourCC code | |
Private Member Functions | |
__DeclareClass (FrameServer) | |
__DeclareSingleton (FrameServer) | |
Private Attributes | |
Util::Dictionary< Resources::ResourceName, Ptr< FrameScript > > | frameScripts |
CoreGraphics::TextureId | windowTexture |
bool | isOpen |
Additional Inherited Members | |
Static Public Member Functions inherited from Core::RefCounted | |
static void | DumpRefCountingLeaks () |
dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!) | |
Protected Member Functions inherited from Core::RefCounted | |
virtual | ~RefCounted () |
destructor (called when refcount reaches zero) | |
Frame::FrameServer::FrameServer | ( | ) |
constructor
|
virtual |
destructor
|
private |
|
private |
void Frame::FrameServer::Close | ( | ) |
close server, discards all remaining scripts
|
inline |
get script by name
|
inline |
returns true if open
Ptr< Frame::FrameScript > Frame::FrameServer::LoadFrameScript | ( | const Resources::ResourceName & | name, |
const IO::URI & | path, | ||
const CoreGraphics::WindowId | window ) |
load frame script and save with name
void Frame::FrameServer::OnWindowResize | ( | ) |
propagate resize to all in all scripts
void Frame::FrameServer::Open | ( | ) |
open server
void Frame::FrameServer::RebuildScripts | ( | ) |
Rebuild all frame scripts.
void Frame::FrameServer::UnloadFrameScript | ( | const Resources::ResourceName & | name | ) |
unload frame script
|
private |
|
private |
|
private |