00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef VRS_GL2_EXTSHADER_HANDLERINTERFACE_H
00023 #define VRS_GL2_EXTSHADER_HANDLERINTERFACE_H
00024
00025
00026
00027
00028 #include <vrs/opengl/gl2/us/shaderhandler.h>
00029
00030
00031
00032
00033 #include <vrs/sharedobj.h>
00034
00035
00036 namespace VRS
00037 {
00038 namespace GL2
00039 {
00040 namespace EXTSHADER
00041 {
00042 class VRS_US_API HandlerInterface: public SharedObj
00043 {
00044 public:
00045
00046 HandlerInterface(const std::string& handlerInterface = "",
00047 const std::string& handlerInterfaceTypeName = "",
00048 const std::string& handlerInterfaceInstanceName = "",
00049 ShaderHandler::HandlerType handlerInterfaceTargetType = ShaderHandler::UnknownHandler);
00050
00051
00052 void setHandlerInterface(const std::string& handlerInterface);
00053 inline const std::string& getHandlerInterface(void) const
00054 {
00055 return this->handlerInterface_;
00056 }
00057
00058
00059 void setHandlerInterfaceTypeName(const std::string& handlerInterfaceTypeName);
00060 inline const std::string& getHandlerInterfaceTypeName(void) const
00061 {
00062 return this->handlerInterfaceTypeName_;
00063 }
00064
00065
00066 void setHandlerInterfaceInstanceName(const std::string& handlerInterfaceInstanceName);
00067 inline const std::string& getHandlerInterfaceInstanceName(void) const
00068 {
00069 return this->handlerInterfaceInstanceName_;
00070 }
00071
00072 void setHandlerInterfaceTargetType(ShaderHandler::HandlerType handlerInterfaceTargetType);
00073 inline ShaderHandler::HandlerType getHandlerInterfaceTargetType(void) const
00074 {
00075 return this->handlerInterfaceTargetType_;
00076 }
00077
00078 VRS_TYPEINFO(HandlerInterface, SharedObj);
00079 VRS_SERIALIZABLE(HandlerInterface);
00080
00081 private:
00082
00083 std::string handlerInterface_;
00084 std::string handlerInterfaceTypeName_;
00085 std::string handlerInterfaceInstanceName_;
00086 ShaderHandler::HandlerType handlerInterfaceTargetType_;
00087
00088 };
00089
00090 };
00091
00092 };
00093
00094 };
00095
00096 #endif //VRS_GL2_EXTSHADER_HANDLERINTERFACE_H