40 #ifndef _GLS_RSO_INTERFACE_3_IMPL_H
41 #define _GLS_RSO_INTERFACE_3_IMPL_H
65 virtual int LevelsUp()
const {
return _filter->
LevelsUp(); }
66 virtual void LevelsUp(
int value) { _filter->
LevelsUp(value); }
72 virtual int GroupLevelsDown()
const {
return _filter->
GroupLevelsDown(); }
73 virtual void GroupLevelsDown(
int value) { _filter->
GroupLevelsDown(value); }
79 virtual bool NamesOnly()
const {
return _filter->
NamesOnly(); }
80 virtual void NamesOnly(
bool value) { _filter->
NamesOnly(value); }
83 virtual void AddExclude(
const char* str) { _filter->
AddExclude(str); }
86 virtual int ExcludeCount()
const {
return _filter->
ExcludeCount(); }
88 virtual const char* GetExclude(
int index)
const {
return _filter->
GetExclude(index); }
91 virtual void AddInclude(
const char* str) { _filter->
AddInclude(str); }
94 virtual int IncludeCount()
const {
return _filter->
IncludeCount(); }
96 virtual const char* GetInclude(
int index)
const {
return _filter->
GetInclude(index); }
100 virtual bool PassFilter(
const char* name)
const {
return _filter->
PassFilter(name); }
103 virtual void PushParentName(
const char *parent) { _filter->
PushParentName(parent); }
106 virtual unsigned int ParentNameCount()
const {
return _filter->
ParentNameCount(); }
108 virtual const char *GetParentName(
unsigned int index)
const {
return _filter->
GetParentName(index); }
124 std::string _resourcesRetVal;
129 typedef std::map<ResourceHandle, DistiAttributeBase *> ResourceHandleMap;
131 ResourceHandleMap _resourceHandleMap;
132 ResourceHandle _nextResourceHandle;
139 virtual GLS_EXPORT ~GlsRSOInterface3Impl();
142 static GLS_EXPORT GlsRSOInterface3Impl *CreateInstance(
ComponentBase *component);
150 virtual GLS_EXPORT
void Calculate(
double time);
154 virtual GLS_EXPORT
void DeleteInstance();
156 virtual GLS_EXPORT
void Draw();
177 virtual GLS_EXPORT
void SetResource(
const char* resourceName,
const char* resourceVal);
179 virtual GLS_EXPORT
const char* GetResource(
const char* resourceName);
186 virtual ResourceHandle CreateResourceHandle(
const char *resourceName);
188 virtual void ReleaseResourceHandle(ResourceHandle resourceHandle);
190 virtual bool IsResourceHandleValid(ResourceHandle resourceHandle);
192 virtual void SetResource(ResourceHandle resourceHandle,
const char *resourceVal);
194 virtual const char *GetResource(ResourceHandle resourceHandle);
196 virtual void SetIntResource(
const char *resourceName,
long resourceVal);
198 virtual long GetIntResource(
const char *resourceName);
200 virtual void SetIntResource(ResourceHandle resourceHandle,
long resourceVal);
202 virtual long GetIntResource(ResourceHandle resourceHandle);
204 virtual void SetFloatResource(
const char *resourceName,
double resourceVal);
206 virtual double GetFloatResource(
const char *resourceName);
208 virtual void SetFloatResource(ResourceHandle resourceHandle,
double resourceVal);
210 virtual double GetFloatResource(ResourceHandle resourceHandle);
Definition: rso_interface_1.h:551
const char * GetParentName(unsigned int index) const
Definition: gls_rso_interface_3_impl.h:112
Definition: rso_interface_1.h:264
const char * GetInclude(unsigned int index) const
Definition: gls_rso_interface_3_impl.h:53
unsigned int ExcludeCount() const
Returns the number of exclude entries in the filter.
bool NamesOnly()
Definition: gls_resources.h:103
A file for all GL Studio files to include.
unsigned int ParentNameCount() const
Definition: component_base.h:57
Definition: rso_interface_1.h:276
The standard Mouse and keyboard events and event structures.
void AddInclude(const char *name)
virtual bool PassFilter(const char *name)
Test a resource name against the filter.
Definition: rso_interface_1.h:564
unsigned int IncludeCount() const
Returns the number of includes in the filter.
Definition: rso_interface_1.h:63
void AddExclude(const char *name)
Definition: rso_interface_1.h:204
Definition: rso_interface_3.h:63
Definition: rso_interface_3.h:68
Definition: rso_interface_1.h:187
int LevelsUp()
Definition: gls_resources.h:79
Definition: rso_interface_1.h:225
int GroupLevelsDown()
Definition: gls_resources.h:96
Defines the RSO interface v3, which extends v2 to add multitouch support through the HandleMultiTouch...
Definition: gls_resources.h:50
disti::GlsResourceFilter classes and methods.
const char * GetExclude(unsigned int index) const
Definition: bmpimage.h:46
void PushParentName(const char *parent)