|
using | ServiceConfigMap = std::unordered_map< rtti::TypeInfo, ServiceConfiguration * > |
|
using | SystemClock = std::chrono::system_clock |
| System clock, able to convert time points in to days, seconds etc. More...
|
|
using | HighResolutionClock = std::chrono::high_resolution_clock |
| High resolution clock, works with the highest possible precision. Can't convert time points in to days, seconds etc. More...
|
|
using | SteadyClock = std::chrono::steady_clock |
| Monotonic clock. The time points of this clock cannot decrease as time moves forward and the time between ticks of this clock is constant. This clock is not related to wall clock time (for example, it can be time since last reboot), and is most suitable for measuring intervals. More...
|
|
using | Milliseconds = std::chrono::milliseconds |
| Milliseconds type definition. More...
|
|
using | MicroSeconds = std::chrono::microseconds |
| Microseconds type definition. More...
|
|
using | NanoSeconds = std::chrono::nanoseconds |
| Nanoseconds type definition. More...
|
|
using | Seconds = std::chrono::seconds |
| Seconds type definition. More...
|
|
using | Minutes = std::chrono::minutes |
| Minutes type definition. More...
|
|
using | Hours = std::chrono::hours |
| Hours type definition. More...
|
|
using | SystemTimeStamp = std::chrono::time_point< SystemClock > |
| Point in time associated with the SystemClock. More...
|
|
using | HighResTimeStamp = std::chrono::time_point< HighResolutionClock > |
| Point in time associated with the HighResolutionClock. More...
|
|
using | SteadyTimeStamp = std::chrono::time_point< SteadyClock > |
| Point in time associated with the SteadyClock. More...
|
|
using | EventPtr = std::unique_ptr< nap::Event > |
|
using | ResourceGroup = Group< Resource > |
|
using | LogMessageFormatter = std::function< std::string(const LogMessage &msg)> |
|
using | int8 = int8_t |
|
using | uint8 = uint8_t |
|
using | int16 = int16_t |
|
using | uint16 = uint16_t |
|
using | int32 = int32_t |
|
using | uint32 = uint32_t |
|
using | int64 = int64_t |
|
using | uint64 = uint64_t |
|
using | uint = unsigned int |
|
using | RTTIObjectGraph = ObjectGraph< RTTIObjectGraphItem > |
|
template<typename T > |
using | ResourcePtr = rtti::ObjectPtr< T > |
|
using | SystemTimer = Timer< SystemClock > |
|
using | HighResolutionTimer = Timer< HighResolutionClock > |
|
using | SteadyTimer = Timer< SteadyClock > |
|
using | APIArgumentList = std::vector< std::unique_ptr< APIArgument > > |
|
using | APIEventPtr = std::unique_ptr< nap::APIEvent > |
|
using | APIMessagePtr = std::unique_ptr< nap::APIMessage > |
|
using | APIFloat = APIValue< float > |
|
using | APIBool = APIValue< bool > |
|
using | APIInt = APIValue< int > |
|
using | APIChar = APIValue< char > |
|
using | APIByte = APIValue< uint8_t > |
|
using | APIString = APIValue< std::string > |
|
using | APIDouble = APIValue< double > |
|
using | APILong = APIValue< int64_t > |
|
using | APIFloatArray = APIValue< std::vector< float > > |
|
using | APIBoolArray = APIValue< std::vector< bool > > |
|
using | APIIntArray = APIValue< std::vector< int > > |
|
using | APICharArray = APIValue< std::vector< char > > |
|
using | APIByteArray = APIValue< std::vector< uint8_t > > |
|
using | APIStringArray = APIValue< std::vector< std::string > > |
|
using | APIDoubleArray = APIValue< std::vector< double > > |
|
using | APILongArray = APIValue< std::vector< int64_t > > |
|
using | APIWebSocketClientObjectCreator = rtti::ObjectCreator< APIWebSocketClient, APIWebSocketService > |
|
using | APIWebSocketEventPtr = std::unique_ptr< APIWebSocketEvent > |
|
using | APIWebSocketServerObjectCreator = rtti::ObjectCreator< APIWebSocketServer, APIWebSocketService > |
|
using | ArtNetNode = void * |
|
using | ArtNetNodeCreator = rtti::ObjectCreator< ArtNetController, ArtNetService > |
|
using | ArtNetEventPtr = std::unique_ptr< nap::ArtNetEvent > |
|
using | ArtNetReceiverCreator = rtti::ObjectCreator< ArtNetReceiver, ArtNetService > |
|
using | CalendarItemList = std::vector< nap::ResourcePtr< CalendarItem > > |
|
using | OwnedCalendarItemList = std::vector< std::unique_ptr< CalendarItem > > |
|
template<typename T > |
using | RGBColorBase = Color< T, 3 > |
|
template<typename T > |
using | RGBAColorBase = Color< T, 4 > |
|
template<typename T > |
using | RColorBase = Color< T, 1 > |
|
using | RGBColor8 = RGBColor< uint8 > |
|
using | RGBColor16 = RGBColor< uint16 > |
|
using | RGBColorFloat = RGBColor< float > |
|
using | RGBAColor8 = RGBAColor< uint8 > |
|
using | RGBAColor16 = RGBAColor< uint16 > |
|
using | RGBAColorFloat = RGBAColor< float > |
|
using | RColor8 = RColor< uint8 > |
|
using | RColor16 = RColor< uint16 > |
|
using | RColorFloat = RColor< float > |
|
using | RGBColorData8 = RGBColor< uint8 * > |
|
using | RGBColorData16 = RGBColor< uint16 * > |
|
using | RGBColorDataFloat = RGBColor< float * > |
|
using | RGBAColorData8 = RGBAColor< uint8 * > |
|
using | RGBAColorData16 = RGBAColor< uint16 * > |
|
using | RGBAColorDataFloat = RGBAColor< float * > |
|
using | RColorData8 = RColor< uint8 * > |
|
using | RColorData16 = RColor< uint16 * > |
|
using | RColorDataFloat = RColor< float * > |
|
using | FontObjectCreator = rtti::ObjectCreator< Font, FontService > |
|
using | IconObjectCreator = rtti::ObjectCreator< Icon, IMGuiService > |
|
using | InputEventPtr = std::unique_ptr< nap::InputEvent > |
|
using | InputEventPtrList = std::vector< InputEventPtr > |
|
using | WindowEventPtr = std::unique_ptr< WindowEvent > |
|
using | WindowEventPtrList = std::vector< WindowEventPtr > |
|
using | MidiValue = short |
|
using | MidiInputPortObjectCreator = rtti::ObjectCreator< MidiInputPort, MidiService > |
|
using | MidiOutputPortObjectCreator = rtti::ObjectCreator< MidiOutputPort, MidiService > |
|
using | OSCValuePtr = std::unique_ptr< OSCBaseValue > |
|
using | OSCFloat = OSCValue< float > |
|
using | OSCBool = OSCValue< bool > |
|
using | OSCInt = OSCValue< int > |
|
using | OSCDouble = OSCValue< double > |
|
using | OSCChar = OSCValue< char > |
|
using | OSCArgumentList = std::vector< std::unique_ptr< OSCArgument > > |
|
using | OSCEventPtr = std::unique_ptr< nap::OSCEvent > |
|
using | OSCReceiverObjectCreator = rtti::ObjectCreator< OSCReceiver, OSCService > |
|
using | ParameterFloatBlender = ParameterBlender< ParameterFloat, float > |
|
using | ParameterDoubleBlender = ParameterBlender< ParameterDouble, double > |
|
using | ParameterVec2Blender = ParameterBlender< ParameterVec2, glm::vec2 > |
|
using | ParameterVec3Blender = ParameterBlender< ParameterVec3, glm::vec3 > |
|
using | ParameterVec4Blender = ParameterBlender< ParameterVec4, glm::vec4 > |
|
using | ParameterRGBAFloatBlender = ParameterBlender< ParameterRGBAColorFloat, RGBAColorFloat > |
|
using | ParameterRGBFloatBlender = ParameterBlender< ParameterRGBColorFloat, RGBColorFloat > |
|
using | ParameterRGBA8Blender = ParameterBlender< ParameterRGBAColor8, RGBAColor8 > |
|
using | ParameterRGB8Blender = ParameterBlender< ParameterRGBColor8, RGBColor8 > |
|
using | ParameterBoolBlender = ParameterBlender< ParameterBool, bool > |
|
using | ParameterQuatBlender = ParameterBlender< ParameterQuat, glm::quat > |
|
using | ParameterRGBColorFloat = ParameterSimple< RGBColorFloat > |
|
using | ParameterRGBAColorFloat = ParameterSimple< RGBAColorFloat > |
|
using | ParameterRGBColor8 = ParameterSimple< RGBColor8 > |
|
using | ParameterRGBAColor8 = ParameterSimple< RGBAColor8 > |
|
using | ParameterGroup = Group< Parameter > |
|
using | ParameterMat3 = ParameterMat< glm::mat3 > |
|
using | ParameterMat4 = ParameterMat< glm::mat4 > |
|
using | ParameterFloat = ParameterNumeric< float > |
|
using | ParameterInt = ParameterNumeric< int > |
|
using | ParameterUInt = ParameterNumeric< uint > |
|
using | ParameterByte = ParameterNumeric< uint8_t > |
|
using | ParameterDouble = ParameterNumeric< double > |
|
using | ParameterLong = ParameterNumeric< int64_t > |
|
using | ParameterQuat = ParameterSimple< glm::quat > |
|
using | ParameterBool = ParameterSimple< bool > |
|
using | ParameterString = ParameterSimple< std::string > |
|
using | ParameterVec2 = ParameterVec< glm::vec2 > |
|
using | ParameterVec3 = ParameterVec< glm::vec3 > |
|
using | ParameterVec4 = ParameterVec< glm::vec4 > |
|
using | ParameterIVec2 = ParameterVec< glm::ivec2 > |
|
using | ParameterIVec3 = ParameterVec< glm::ivec3 > |
|
using | ParameterIVec4 = ParameterVec< glm::ivec4 > |
|
using | PortalEventPtr = std::unique_ptr< PortalEvent > |
|
using | PortalItemRGBColor8 = PortalItemColor< RGBColor8 > |
|
using | PortalItemRGBAColor8 = PortalItemColor< RGBAColor8 > |
|
using | PortalItemRGBColorFloat = PortalItemColor< RGBColorFloat > |
|
using | PortalItemRGBAColorFloat = PortalItemColor< RGBAColorFloat > |
|
using | PortalItemSliderByte = PortalItemNumeric< uint8_t > |
|
using | PortalItemSliderInt = PortalItemNumeric< int > |
|
using | PortalItemSliderLong = PortalItemNumeric< int64_t > |
|
using | PortalItemSliderFloat = PortalItemNumeric< float > |
|
using | PortalItemSliderDouble = PortalItemNumeric< double > |
|
using | PortalItemToggle = PortalItemSimple< bool > |
|
using | PortalItemTextField = PortalItemSimple< std::string > |
|
using | PortalItemVec2 = PortalItemVec< glm::vec2 > |
|
using | PortalItemVec3 = PortalItemVec< glm::vec3 > |
|
using | PortalItemIVec2 = PortalItemVec< glm::ivec2 > |
|
using | PortalItemIVec3 = PortalItemVec< glm::ivec3 > |
|
using | PortalWebSocketServerObjectCreator = rtti::ObjectCreator< PortalWebSocketServer, PortalService > |
|
using | PythonScriptObjectCreator = rtti::ObjectCreator< PythonScript, PythonScriptService > |
|
using | Blur5x5Shader = BlurShader< EBlurSamples::X5 > |
|
using | Blur9x9Shader = BlurShader< EBlurSamples::X9 > |
|
using | Blur13x13Shader = BlurShader< EBlurSamples::X13 > |
|
using | BufferBindingUInt = TypedBufferBindingNumeric< uint > |
|
using | BufferBindingInt = TypedBufferBindingNumeric< int > |
|
using | BufferBindingFloat = TypedBufferBindingNumeric< float > |
|
using | BufferBindingVec2 = TypedBufferBindingNumeric< glm::vec2 > |
|
using | BufferBindingVec3 = TypedBufferBindingNumeric< glm::vec3 > |
|
using | BufferBindingVec4 = TypedBufferBindingNumeric< glm::vec4 > |
|
using | BufferBindingIVec4 = TypedBufferBindingNumeric< glm::ivec4 > |
|
using | BufferBindingUVec4 = TypedBufferBindingNumeric< glm::uvec4 > |
|
using | BufferBindingMat4 = TypedBufferBindingNumeric< glm::mat4 > |
|
using | BufferBindingChangedCallback = std::function< void(BufferBindingInstance &)> |
|
using | BufferBindingUIntInstance = TypedBufferBindingNumericInstance< uint > |
|
using | BufferBindingIntInstance = TypedBufferBindingNumericInstance< int > |
|
using | BufferBindingFloatInstance = TypedBufferBindingNumericInstance< float > |
|
using | BufferBindingVec2Instance = TypedBufferBindingNumericInstance< glm::vec2 > |
|
using | BufferBindingVec3Instance = TypedBufferBindingNumericInstance< glm::vec3 > |
|
using | BufferBindingVec4Instance = TypedBufferBindingNumericInstance< glm::vec4 > |
|
using | BufferBindingIVec4Instance = TypedBufferBindingNumericInstance< glm::ivec4 > |
|
using | BufferBindingUVec4Instance = TypedBufferBindingNumericInstance< glm::uvec4 > |
|
using | BufferBindingMat4Instance = TypedBufferBindingNumericInstance< glm::mat4 > |
|
using | FillPolicyUInt = FillPolicy< uint > |
|
using | FillPolicyInt = FillPolicy< int > |
|
using | FillPolicyFloat = FillPolicy< float > |
|
using | FillPolicyVec2 = FillPolicy< glm::vec2 > |
|
using | FillPolicyVec3 = FillPolicy< glm::vec3 > |
|
using | FillPolicyVec4 = FillPolicy< glm::vec4 > |
|
using | FillPolicyMat4 = FillPolicy< glm::mat4 > |
|
using | ConstantFillPolicyUInt = ConstantFillPolicy< uint > |
|
using | ConstantFillPolicyInt = ConstantFillPolicy< int > |
|
using | ConstantFillPolicyFloat = ConstantFillPolicy< float > |
|
using | ConstantFillPolicyVec2 = ConstantFillPolicy< glm::vec2 > |
|
using | ConstantFillPolicyVec3 = ConstantFillPolicy< glm::vec3 > |
|
using | ConstantFillPolicyVec4 = ConstantFillPolicy< glm::vec4 > |
|
using | ConstantFillPolicyMat4 = ConstantFillPolicy< glm::mat4 > |
|
using | GPUBufferUInt = TypedGPUBufferNumeric< uint > |
|
using | GPUBufferInt = TypedGPUBufferNumeric< int > |
|
using | GPUBufferFloat = TypedGPUBufferNumeric< float > |
|
using | GPUBufferVec2 = TypedGPUBufferNumeric< glm::vec2 > |
|
using | GPUBufferVec3 = TypedGPUBufferNumeric< glm::vec3 > |
|
using | GPUBufferVec4 = TypedGPUBufferNumeric< glm::vec4 > |
|
using | GPUBufferIVec4 = TypedGPUBufferNumeric< glm::ivec4 > |
|
using | GPUBufferMat4 = TypedGPUBufferNumeric< glm::mat4 > |
|
using | VertexBufferUInt = VertexBuffer< uint > |
|
using | VertexBufferInt = VertexBuffer< int > |
|
using | VertexBufferFloat = VertexBuffer< float > |
|
using | VertexBufferVec2 = VertexBuffer< glm::vec2 > |
|
using | VertexBufferVec3 = VertexBuffer< glm::vec3 > |
|
using | VertexBufferVec4 = VertexBuffer< glm::vec4 > |
|
using | VertexBufferIVec4 = VertexBuffer< glm::ivec4 > |
|
using | ShaderConstantHash = uint |
|
using | RTTIMeshProperties = MeshProperties< rtti::ObjectPtr< BaseVertexAttribute > > |
|
using | RandomFillPolicyUInt = RandomFillPolicy< uint > |
|
using | RandomFillPolicyInt = RandomFillPolicy< int > |
|
using | RandomFillPolicyFloat = RandomFillPolicy< float > |
|
using | RandomFillPolicyVec2 = RandomFillPolicy< glm::vec2 > |
|
using | RandomFillPolicyVec3 = RandomFillPolicy< glm::vec3 > |
|
using | RandomFillPolicyVec4 = RandomFillPolicy< glm::vec4 > |
|
using | RandomFillPolicyMat4 = RandomFillPolicy< glm::mat4 > |
|
using | DisplayList = std::vector< Display > |
|
using | RenderMask = uint64 |
|
using | RenderTagGroup = Group< RenderTag > |
|
using | SamplerDeclarations = std::vector< SamplerDeclaration > |
|
using | SamplerChangedCallback = std::function< void(SamplerInstance &, int)> |
|
using | ShaderConstantID = uint |
|
using | ShaderConstantMap = std::map< ShaderConstantID, uint > |
|
using | ShaderStageConstantMap = std::map< VkShaderStageFlagBits, ShaderConstantMap > |
|
using | ShaderConstantDeclarations = std::vector< ShaderConstantDeclaration > |
|
using | BufferObjectDeclarationList = std::vector< nap::BufferObjectDeclaration > |
|
using | StructFillPolicyUInt = StructFillPolicy::Entry< uint > |
|
using | StructFillPolicyInt = StructFillPolicy::Entry< int > |
|
using | StructFillPolicyFloat = StructFillPolicy::Entry< float > |
|
using | StructFillPolicyVec2 = StructFillPolicy::Entry< glm::vec2 > |
|
using | StructFillPolicyVec3 = StructFillPolicy::Entry< glm::vec3 > |
|
using | StructFillPolicyVec4 = StructFillPolicy::Entry< glm::vec4 > |
|
using | StructFillPolicyMat4 = StructFillPolicy::Entry< glm::mat4 > |
|
using | UniformCreatedCallback = std::function< void()> |
|
using | UniformUInt = TypedUniformValue< uint > |
|
using | UniformInt = TypedUniformValue< int > |
|
using | UniformFloat = TypedUniformValue< float > |
|
using | UniformVec2 = TypedUniformValue< glm::vec2 > |
|
using | UniformVec3 = TypedUniformValue< glm::vec3 > |
|
using | UniformVec4 = TypedUniformValue< glm::vec4 > |
|
using | UniformIVec4 = TypedUniformValue< glm::ivec4 > |
|
using | UniformUVec4 = TypedUniformValue< glm::uvec4 > |
|
using | UniformMat4 = TypedUniformValue< glm::mat4 > |
|
using | UniformUIntArray = TypedUniformValueArray< uint > |
|
using | UniformIntArray = TypedUniformValueArray< int > |
|
using | UniformFloatArray = TypedUniformValueArray< float > |
|
using | UniformVec2Array = TypedUniformValueArray< glm::vec2 > |
|
using | UniformVec3Array = TypedUniformValueArray< glm::vec3 > |
|
using | UniformVec4Array = TypedUniformValueArray< glm::vec4 > |
|
using | UniformIVec4Array = TypedUniformValueArray< glm::ivec4 > |
|
using | UniformUVec4Array = TypedUniformValueArray< glm::uvec4 > |
|
using | UniformMat4Array = TypedUniformValueArray< glm::mat4 > |
|
using | UniformUIntInstance = TypedUniformValueInstance< uint > |
|
using | UniformIntInstance = TypedUniformValueInstance< int > |
|
using | UniformFloatInstance = TypedUniformValueInstance< float > |
|
using | UniformVec2Instance = TypedUniformValueInstance< glm::vec2 > |
|
using | UniformVec3Instance = TypedUniformValueInstance< glm::vec3 > |
|
using | UniformVec4Instance = TypedUniformValueInstance< glm::vec4 > |
|
using | UniformIVec4Instance = TypedUniformValueInstance< glm::ivec4 > |
|
using | UniformUVec4Instance = TypedUniformValueInstance< glm::uvec4 > |
|
using | UniformMat4Instance = TypedUniformValueInstance< glm::mat4 > |
|
using | UniformUIntArrayInstance = TypedUniformValueArrayInstance< uint > |
|
using | UniformIntArrayInstance = TypedUniformValueArrayInstance< int > |
|
using | UniformFloatArrayInstance = TypedUniformValueArrayInstance< float > |
|
using | UniformVec2ArrayInstance = TypedUniformValueArrayInstance< glm::vec2 > |
|
using | UniformVec3ArrayInstance = TypedUniformValueArrayInstance< glm::vec3 > |
|
using | UniformVec4ArrayInstance = TypedUniformValueArrayInstance< glm::vec4 > |
|
using | UniformIVec4ArrayInstance = TypedUniformValueArrayInstance< glm::ivec4 > |
|
using | UniformUVec4ArrayInstance = TypedUniformValueArrayInstance< glm::uvec4 > |
|
using | UniformMat4ArrayInstance = TypedUniformValueArrayInstance< glm::mat4 > |
|
using | UIntVertexAttribute = VertexAttribute< uint > |
|
using | IntVertexAttribute = VertexAttribute< int > |
|
using | FloatVertexAttribute = VertexAttribute< float > |
|
using | Vec2VertexAttribute = VertexAttribute< glm::vec2 > |
|
using | Vec3VertexAttribute = VertexAttribute< glm::vec3 > |
|
using | Vec4VertexAttribute = VertexAttribute< glm::vec4 > |
|
using | IVec4VertexAttribute = VertexAttribute< glm::ivec4 > |
|
using | VertexAttributeDeclarations = std::unordered_map< std::string, std::unique_ptr< VertexAttributeDeclaration > > |
|
using | CubeDepthRenderTargetCallback = std::function< void(CubeDepthRenderTarget &target, const glm::mat4 &projection, const glm::mat4 &view)> |
|
using | CubeRenderTargetCallback = std::function< void(CubeRenderTarget &target, const glm::mat4 &projection, const glm::mat4 &view)> |
|
using | LightFlags = uint |
|
using | ShadowFlags = uint |
|
using | EntityList = std::vector< EntityInstance * > |
|
using | EntityObjectGraph = ObjectGraph< EntityObjectGraphItem > |
|
using | ClonedComponentResourceList = std::vector< ClonedComponentResource > |
|
using | BoolInstancePropertyValue = TypedInstancePropertyValue< bool > |
|
using | CharInstancePropertyValue = TypedInstancePropertyValue< char > |
|
using | Int8InstancePropertyValue = TypedInstancePropertyValue< int8_t > |
|
using | Int16InstancePropertyValue = TypedInstancePropertyValue< int16_t > |
|
using | Int32InstancePropertyValue = TypedInstancePropertyValue< int32_t > |
|
using | Int64InstancePropertyValue = TypedInstancePropertyValue< int64_t > |
|
using | UInt8InstancePropertyValue = TypedInstancePropertyValue< uint8_t > |
|
using | UInt16InstancePropertyValue = TypedInstancePropertyValue< uint16_t > |
|
using | UInt32InstancePropertyValue = TypedInstancePropertyValue< uint32_t > |
|
using | UInt64InstancePropertyValue = TypedInstancePropertyValue< uint64_t > |
|
using | FloatInstancePropertyValue = TypedInstancePropertyValue< float > |
|
using | DoubleInstancePropertyValue = TypedInstancePropertyValue< double > |
|
using | Vec2InstancePropertyValue = TypedInstancePropertyValue< glm::vec2 > |
|
using | Vec3InstancePropertyValue = TypedInstancePropertyValue< glm::vec3 > |
|
using | Vec4InstancePropertyValue = TypedInstancePropertyValue< glm::vec4 > |
|
using | IVec2InstancePropertyValue = TypedInstancePropertyValue< glm::ivec2 > |
|
using | IVec3InstancePropertyValue = TypedInstancePropertyValue< glm::ivec3 > |
|
using | QuatInstancePropertyValue = TypedInstancePropertyValue< glm::quat > |
|
using | StringInstancePropertyValue = TypedInstancePropertyValue< std::string > |
|
using | SceneCreator = rtti::ObjectCreator< Scene, Core > |
|
using | SequenceEditorObjectCreator = rtti::ObjectCreator< SequenceEditor, SequenceService > |
|
using | SequenceEventPtr = std::unique_ptr< SequenceEventBase > |
|
using | SequenceEventString = SequenceEvent< std::string > |
|
using | SequenceEventFloat = SequenceEvent< float > |
|
using | SequenceEventInt = SequenceEvent< int > |
|
using | SequenceEventVec2 = SequenceEvent< glm::vec2 > |
|
using | SequenceEventVec3 = SequenceEvent< glm::vec3 > |
|
using | SequencePlayerObjectCreator = rtti::ObjectCreator< SequencePlayer, SequenceService > |
|
using | SequencePlayerStandClockObjectCreator = rtti::ObjectCreator< SequencePlayerStandardClock, SequenceService > |
|
using | SequencePlayerCurveOutputObjectCreator = rtti::ObjectCreator< SequencePlayerCurveOutput, SequenceService > |
|
using | SequencePlayerEventOutputObjectCreator = rtti::ObjectCreator< SequencePlayerEventOutput, SequenceService > |
|
using | SequenceControllerFactoryFunc = std::function< std::unique_ptr< SequenceController >(SequencePlayer &, SequenceEditor &)> |
|
using | SequenceControllerFactoryMap = std::unordered_map< rtti::TypeInfo, SequenceControllerFactoryFunc > |
|
using | DefaultSequenceTrackFactoryMap = std::unordered_map< rtti::TypeInfo, std::function< std::unique_ptr< SequenceTrack >(const SequencePlayerOutput *)> > |
|
using | SequencePlayerAdapterFactoryFunc = std::function< std::unique_ptr< SequencePlayerAdapter >(const SequenceTrack &, SequencePlayerOutput &, const SequencePlayer &)> |
|
using | SequencePlayerAdapterFactoryMap = std::unordered_map< rtti::TypeInfo, SequencePlayerAdapterFactoryFunc > |
|
using | SequenceTrackCurveFloat = SequenceTrackCurve< float > |
|
using | SequenceTrackCurveVec2 = SequenceTrackCurve< glm::vec2 > |
|
using | SequenceTrackCurveVec3 = SequenceTrackCurve< glm::vec3 > |
|
using | SequenceTrackCurveVec4 = SequenceTrackCurve< glm::vec4 > |
|
using | SequenceTrackSegmentCurveFloat = SequenceTrackSegmentCurve< float > |
|
using | SequenceTrackSegmentCurveVec2 = SequenceTrackSegmentCurve< glm::vec2 > |
|
using | SequenceTrackSegmentCurveVec3 = SequenceTrackSegmentCurve< glm::vec3 > |
|
using | SequenceTrackSegmentCurveVec4 = SequenceTrackSegmentCurve< glm::vec4 > |
|
using | SequenceTrackSegmentEventString = SequenceTrackSegmentEvent< std::string > |
|
using | SequenceTrackSegmentEventFloat = SequenceTrackSegmentEvent< float > |
|
using | SequenceTrackSegmentEventInt = SequenceTrackSegmentEvent< int > |
|
using | SequenceTrackSegmentEventVec2 = SequenceTrackSegmentEvent< glm::vec2 > |
|
using | SequenceTrackSegmentEventVec3 = SequenceTrackSegmentEvent< glm::vec3 > |
|
using | SequenceTrackSegmentEventVec4 = SequenceTrackSegmentEvent< glm::vec4 > |
|
using | SequencePlayerAudioClockObjectCreator = rtti::ObjectCreator< SequencePlayerAudioClock, SequenceServiceAudio > |
|
using | BufferPlayerMap = std::unordered_map< std::string, audio::SafeOwner< audio::MultiSampleBufferPlayerNode > > |
|
using | SequencePlayerAudioOutputObjectCreator = rtti::ObjectCreator< SequencePlayerAudioOutput, SequenceService > |
|
using | SequenceEditorGUIObjectCreator = rtti::ObjectCreator< SequenceEditorGUI, SequenceGUIService > |
|
using | SequenceEventTrackSegmentViewFactoryFunc = std::function< std::unique_ptr< SequenceEventTrackSegmentViewBase >()> |
|
using | SequenceEventTrackSegmentViewFactoryMap = std::unordered_map< rtti::TypeInfo, SequenceEventTrackSegmentViewFactoryFunc > |
|
using | SequenceTrackViewFactoryFunc = std::function< std::unique_ptr< SequenceTrackView >(SequenceGUIService &, SequenceEditorGUIView &, SequenceEditorGUIState &)> |
|
using | SequenceTrackViewFactoryMap = std::unordered_map< rtti::TypeInfo, SequenceTrackViewFactoryFunc > |
|
using | SequenceTrackTypeForViewTypeMap = std::unordered_map< rtti::TypeInfo, rtti::TypeInfo > |
|
using | SequenceEventTrackPasteFunc = std::function< void(SequenceEventTrackView &, const std::string &, const SequenceTrackSegmentEventBase &, double)> |
|
using | SequenceEventTrackEditFunc = std::function< void(SequenceEventTrackView &)> |
|
using | UDPThreadObjectCreator = rtti::ObjectCreator< UDPThread, UDPService > |
|
using | VideoPlayerObjectCreator = rtti::ObjectCreator< VideoPlayer, VideoService > |
|
using | WebSocketClientObjectCreator = rtti::ObjectCreator< WebSocketClient, WebSocketService > |
|
using | WebSocketClientEndPoint = WebSocketClientEndPointSetup< wspp::Config > |
|
using | WebSocketConnectionPtr = std::unique_ptr< WebSocketConnection > |
|
using | WebSocketEventPtr = std::unique_ptr< nap::WebSocketEvent > |
|
using | WebSocketServerObjectCreator = rtti::ObjectCreator< WebSocketServer, WebSocketService > |
|
using | WebSocketServerEndPoint = WebSocketServerEndPointSetup< wspp::Config > |
|
|
enum | EDay : int {
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
Sunday = 0,
Unknown = -1
} |
|
enum | EMonth : int {
January = 1,
February = 2,
March = 3,
April = 4,
May = 5,
June = 6,
July = 7,
August = 8,
September = 9,
October = 10,
November = 11,
December = 12,
Unknown = -1
} |
|
enum | EArtnetMode : int { Broadcast = 0,
Unicast = 1
} |
|
enum | ECameraMode : uint8_t {
None = 0x00,
FirstPerson = 0x01,
Orbit = 0x02,
OrthographicTop = 0x04,
OrthographicBottom = 0x08,
OrthographicLeft = 0x10,
OrthographicRight = 0x20,
OrthographicFront = 0x40,
OrthographicBack = 0x80,
Perspective = FirstPerson | Orbit,
Orthographic = OrthographicTop | OrthographicBottom | OrthographicLeft | OrthographicRight | OrthographicFront | OrthographicBack
} |
|
enum | EColorChannel : int { Red = 0,
Green = 1,
Blue = 2,
Alpha = 3
} |
|
enum | EControllerButton : int {
UNKNOWN = -1,
A,
B,
X,
Y,
BACK,
GUIDE,
START,
LEFT_STICK,
RIGHT_STICK,
LEFT_SHOULDER,
RIGHT_SHOULDER,
DPAD_UP,
DPAD_DOWN,
DPAD_LEFT,
DPAD_RIGHT
} |
|
enum | EControllerAxis : int {
UNKNOWN = -1,
LEFT_X,
LEFT_Y,
RIGHT_X,
RIGHT_Y,
TRIGGER_LEFT,
TRIGGER_RIGHT
} |
|
enum | EKeyCode : int {
KEY_UNKNOWN = -1,
KEY_RETURN,
KEY_ESCAPE,
KEY_BACKSPACE,
KEY_TAB,
KEY_SPACE,
KEY_EXCLAIM,
KEY_QUOTEDBL,
KEY_HASH,
KEY_PERCENT,
KEY_DOLLAR,
KEY_AMPERSAND,
KEY_QUOTE,
KEY_LEFTPAREN,
KEY_RIGHTPAREN,
KEY_ASTERISK,
KEY_PLUS,
KEY_COMMA,
KEY_MINUS,
KEY_PERIOD,
KEY_SLASH,
KEY_0,
KEY_1,
KEY_2,
KEY_3,
KEY_4,
KEY_5,
KEY_6,
KEY_7,
KEY_8,
KEY_9,
KEY_COLON,
KEY_SEMICOLON,
KEY_LESS,
KEY_EQUALS,
KEY_GREATER,
KEY_QUESTION,
KEY_AT,
KEY_LEFTBRACKET,
KEY_BACKSLASH,
KEY_RIGHTBRACKET,
KEY_CARET,
KEY_UNDERSCORE,
KEY_BACKQUOTE,
KEY_a,
KEY_b,
KEY_c,
KEY_d,
KEY_e,
KEY_f,
KEY_g,
KEY_h,
KEY_i,
KEY_j,
KEY_k,
KEY_l,
KEY_m,
KEY_n,
KEY_o,
KEY_p,
KEY_q,
KEY_r,
KEY_s,
KEY_t,
KEY_u,
KEY_v,
KEY_w,
KEY_x,
KEY_y,
KEY_z,
KEY_CAPSLOCK,
KEY_F1,
KEY_F2,
KEY_F3,
KEY_F4,
KEY_F5,
KEY_F6,
KEY_F7,
KEY_F8,
KEY_F9,
KEY_F10,
KEY_F11,
KEY_F12,
KEY_PRINTSCREEN,
KEY_SCROLLLOCK,
KEY_PAUSE,
KEY_INSERT,
KEY_HOME,
KEY_PAGEUP,
KEY_DELETE,
KEY_END,
KEY_PAGEDOWN,
KEY_RIGHT,
KEY_LEFT,
KEY_DOWN,
KEY_UP,
KEY_NUMLOCKCLEAR,
KEY_KP_DIVIDE,
KEY_KP_MULTIPLY,
KEY_KP_MINUS,
KEY_KP_PLUS,
KEY_KP_ENTER,
KEY_KP_1,
KEY_KP_2,
KEY_KP_3,
KEY_KP_4,
KEY_KP_5,
KEY_KP_6,
KEY_KP_7,
KEY_KP_8,
KEY_KP_9,
KEY_KP_0,
KEY_KP_PERIOD,
KEY_APPLICATION,
KEY_POWER,
KEY_KP_EQUALS,
KEY_F13,
KEY_F14,
KEY_F15,
KEY_F16,
KEY_F17,
KEY_F18,
KEY_F19,
KEY_F20,
KEY_F21,
KEY_F22,
KEY_F23,
KEY_F24,
KEY_EXECUTE,
KEY_HELP,
KEY_MENU,
KEY_SELECT,
KEY_STOP,
KEY_AGAIN,
KEY_UNDO,
KEY_CUT,
KEY_COPY,
KEY_PASTE,
KEY_FIND,
KEY_MUTE,
KEY_VOLUMEUP,
KEY_VOLUMEDOWN,
KEY_KP_COMMA,
KEY_KP_EQUALSAS400,
KEY_ALTERASE,
KEY_SYSREQ,
KEY_CANCEL,
KEY_CLEAR,
KEY_PRIOR,
KEY_RETURN2,
KEY_SEPARATOR,
KEY_OUT,
KEY_OPER,
KEY_CLEARAGAIN,
KEY_CRSEL,
KEY_EXSEL,
KEY_KP_00,
KEY_KP_000,
KEY_THOUSANDSSEPARATOR,
KEY_DECIMALSEPARATOR,
KEY_CURRENCYUNIT,
KEY_CURRENCYSUBUNIT,
KEY_KP_LEFTPAREN,
KEY_KP_RIGHTPAREN,
KEY_KP_LEFTBRACE,
KEY_KP_RIGHTBRACE,
KEY_KP_TAB,
KEY_KP_BACKSPACE,
KEY_KP_A,
KEY_KP_B,
KEY_KP_C,
KEY_KP_D,
KEY_KP_E,
KEY_KP_F,
KEY_KP_XOR,
KEY_KP_POWER,
KEY_KP_PERCENT,
KEY_KP_LESS,
KEY_KP_GREATER,
KEY_KP_AMPERSAND,
KEY_KP_DBLAMPERSAND,
KEY_KP_VERTICALBAR,
KEY_KP_DBLVERTICALBAR,
KEY_KP_COLON,
KEY_KP_HASH,
KEY_KP_SPACE,
KEY_KP_AT,
KEY_KP_EXCLAM,
KEY_KP_MEMSTORE,
KEY_KP_MEMRECALL,
KEY_KP_MEMCLEAR,
KEY_KP_MEMADD,
KEY_KP_MEMSUBTRACT,
KEY_KP_MEMMULTIPLY,
KEY_KP_MEMDIVIDE,
KEY_KP_PLUSMINUS,
KEY_KP_CLEAR,
KEY_KP_CLEARENTRY,
KEY_KP_BINARY,
KEY_KP_OCTAL,
KEY_KP_DECIMAL,
KEY_KP_HEXADECIMAL,
KEY_LCTRL,
KEY_LSHIFT,
KEY_LALT,
KEY_LGUI,
KEY_RCTRL,
KEY_RSHIFT,
KEY_RALT,
KEY_RGUI,
KEY_MODE,
KEY_AUDIONEXT,
KEY_AUDIOPREV,
KEY_AUDIOSTOP,
KEY_AUDIOPLAY,
KEY_AUDIOMUTE,
KEY_MEDIASELECT,
KEY_WWW,
KEY_MAIL,
KEY_CALCULATOR,
KEY_COMPUTER,
KEY_AC_SEARCH,
KEY_AC_HOME,
KEY_AC_BACK,
KEY_AC_FORWARD,
KEY_AC_STOP,
KEY_AC_REFRESH,
KEY_AC_BOOKMARKS,
KEY_BRIGHTNESSDOWN,
KEY_BRIGHTNESSUP,
KEY_DISPLAYSWITCH,
KEY_KBDILLUMTOGGLE,
KEY_KBDILLUMDOWN,
KEY_KBDILLUMUP,
KEY_EJECT,
KEY_SLEEP
} |
|
enum | EMouseButton : int { UNKNOWN = -1,
LEFT = 0,
MIDDLE = 1,
RIGHT = 2
} |
|
enum | ESigningScheme : int {
SHA1 = 0,
SHA224 = 1,
SHA256 = 2,
SHA384 = 3,
SHA512 = 4
} |
|
enum | EPortalEventType : int { Request = 0,
Response = 1,
Update = 2,
Invalid = -1
} |
|
enum | EPortalItemButtonEvent : int { Click = 0,
Press = 1,
Release = 2,
Invalid = -1
} |
|
enum | EBlurSamples : uint { X5 = 0,
X9 = 1,
X13 = 2
} |
|
enum | EFBXConversionOptions { CONVERT_ALWAYS,
CONVERT_IF_NEWER
} |
|
enum | EMemoryUsage : uint { Static,
DynamicRead,
DynamicWrite
} |
|
enum | EBlendMode : int { NotSet = 0,
Opaque,
AlphaBlend,
Additive
} |
|
enum | ECullWindingOrder : int { Clockwise = 0,
CounterClockwise
} |
|
enum | EDepthMode : int {
NotSet = 0,
InheritFromBlendMode,
ReadWrite,
ReadOnly,
WriteOnly,
NoReadWrite
} |
|
enum | EDepthCompareMode : int {
NotSet = 0,
Never,
Less,
Equal,
LessOrEqual,
Greater,
NotEqual,
GreaterOrEqual,
Always
} |
|
enum | EDrawMode : int32 {
Points = 0,
Lines = 1,
LineStrip = 2,
Triangles = 3,
TriangleStrip = 4,
TriangleFan = 5,
Unknown = 0x7FFFFFFF
} |
|
enum | ECullMode : int32 { None = 0,
Front = 1,
Back = 2,
FrontAndBack = 3
} |
|
enum | EPolygonMode : int32 { Fill = 0,
Line = 1,
Point = 2
} |
|
enum | EOrthoCameraMode : nap::uint8 { PixelSpace = 0,
CorrectAspectRatio,
Custom
} |
|
enum | ERasterizationSamples : int {
One = 0x00000001,
Two = 0x00000002,
Four = 0x00000004,
Eight = 0x00000008,
Sixteen = 0x00000010,
Max = 0x00000000
} |
|
enum | EFilterMode : uint32 { Nearest = 0,
Linear
} |
|
enum | EAddressMode : uint32 { Repeat = 0,
MirroredRepeat,
ClampToEdge,
ClampToBorder
} |
|
enum | EAnisotropicSamples : uint32 { Default = 0,
Four = 4,
Eight = 8,
Sixteen = 16
} |
|
enum | EBorderColor : uint32 {
FloatTransparentBlack = 0,
IntTransparentBlack,
FloatOpaqueBlack,
IntOpaqueBlack,
FloatOpaqueWhite,
IntOpaqueWhite
} |
|
enum | EDescriptorType : uint { Uniform,
Storage
} |
|
enum | EShaderVariableValueType : uint8 {
Unknown = 0,
Float,
Int,
UInt,
Vec2,
Vec3,
Vec4,
IVec4,
UVec4,
Mat2,
Mat3,
Mat4
} |
|
enum | ESurfaceDataType : int { BYTE = 0,
USHORT = 1,
FLOAT = 2
} |
|
enum | ESurfaceChannels : int { R = 0,
RGBA = 1,
BGRA = 2,
D = 3
} |
|
enum | EColorSpace : int { Linear,
sRGB
} |
|
enum | ELightType : uint8 { Custom = 0,
Directional = 1,
Point = 2,
Spot = 3
} |
|
enum | EShadowMapType : uint8 { Quad = 0,
Cube = 1
} |
|
enum | ESerialByteSize : int { Five = 5,
Six = 6,
Seven = 7,
Eight = 8
} |
|
enum | ESerialStopBits : int { One = 1,
Two = 2,
OnePointFive = 3
} |
|
enum | ESerialFlowControl : int { None = 0,
Software = 1,
Hardware = 2
} |
|
enum | ESerialParity : int {
None = 0,
Odd = 1,
Even = 2,
Mark = 3,
Space = 4
} |
|
enum | ESVGUnits : int {
PX = 0,
PT,
PC,
MM,
CM,
DPI
} |
|
enum | EUDPThreadUpdateMethod : int { UDP_MAIN_THREAD = 0,
UDP_SPAWN_OWN_THREAD = 1,
UDP_MANUAL = 2
} |
|
enum | EWebSocketLogLevel : uint32 {
None = 0x0,
Debug = 0x1,
Library = 0x2,
Info = 0x4,
Warning = 0x8,
Error = 0x10,
Fatal = 0x20,
All = 0xffffffff
} |
|
enum | EWebSocketOPCode : uint32 {
Continuation = 0x0,
Text = 0x1,
Binary = 0x2,
RSV3 = 0x3,
RSV4 = 0x4,
RSV5 = 0x5,
RSV6 = 0x6,
RSV7 = 0x7,
Close = 0x8,
Ping = 0x9,
Pong = 0xA,
ControlRSVB = 0xB,
ControlRSVC = 0xC,
ControlRSVD = 0xD,
ControlRSVE = 0xE,
ControlRSVF = 0xF
} |
|
|
void NAPAPI | _assert (const char *exprs, bool expr, const char *file, int line) |
|
void NAPAPI | _assertMsg (const char *exprs, bool expr, const char *file, int line, const char *message) |
|
NAPAPI SystemTimeStamp | getCurrentTime () |
|
NAPAPI DateTime | getCurrentDateTime () |
|
NAPAPI void | getCurrentDateTime (DateTime &outDateTime) |
|
NAPAPI std::string | timeFormat (const SystemTimeStamp &time, const std::string &format="%Y-%m-%d %H:%M:%S.%ms") |
|
NAPAPI SystemTimeStamp | createTimestamp (int year, int month, int day, int hour, int minute, int second=0, int millisecond=0, bool daylightSaving=true) |
|
const NAPAPI std::array< EDay, 7 > & | getDaysInWeek () |
|
NAPAPI std::string | toString (EDay day) |
|
NAPAPI EDay | toDay (const std::string &string) |
|
NAPAPI std::string | toString (EMonth month) |
|
NAPAPI EMonth | toMonth (const std::string &string) |
|
std::string | basicLogMessageFormatter (const LogMessage &msg) |
|
std::string | timestampLogMessageFormatter (const LogMessage &msg) |
|
NAPAPI void | initModules () |
|
NAPAPI void * | loadModule (const nap::ModuleInfo &modInfo, const std::string &modulePath, std::string &errorString) |
|
NAPAPI void | unloadModule (void *module) |
|
NAPAPI void * | findSymbolInModule (void *module, const char *symbolName) |
|
NAPAPI std::string | getModuleExtension () |
|
NAPAPI bool | extractMessages (const std::string &json, rtti::DeserializeResult &result, rtti::Factory &factory, std::vector< APIMessage * > &outMessages, utility::ErrorState &error) |
|
ECameraMode | operator& (ECameraMode a, ECameraMode b) |
|
ECameraMode | operator| (ECameraMode a, ECameraMode b) |
|
std::unique_ptr< BaseParameterBlender > NAPAPI | getParameterBlender (nap::Parameter ¶m) |
|
bool NAPAPI | registerParameterBlender (rtti::TypeInfo inParameterType, rtti::TypeInfo inBlenderType) |
|
NAPAPI std::string | getPortalEventTypeString (const EPortalEventType &type) |
|
NAPAPI EPortalEventType | getPortalEventType (const std::string &type) |
|
NAPAPI std::string | getPortalItemButtonEventString (const EPortalItemButtonEvent &event) |
|
NAPAPI EPortalItemButtonEvent | getPortalItemButtonEvent (const std::string &event) |
|
NAPAPI bool | extractPortalEventHeader (const APIEventPtr &event, PortalEventHeader &outHeader, utility::ErrorState &error) |
|
NAPAPI APIEventPtr | createPortalEventHeader (const PortalEventHeader &header) |
|
NAPAPI void | copyImageData (const uint8_t *source, unsigned int sourcePitch, ESurfaceChannels sourceChannels, uint8_t *target, unsigned int targetPitch, ESurfaceChannels targetChannels, int width, int height) |
|
NAPAPI bool | convertFBX (const std::string &fbxPath, const std::string &outputDirectory, EFBXConversionOptions convertOptions, bool convertCompute, bool noTangents, std::vector< std::string > &convertedFiles, utility::ErrorState &errorState) |
|
NAPAPI std::unique_ptr< MeshInstance > | loadMesh (RenderService &renderService, const std::string &meshPath, utility::ErrorState &errorState) |
|
NAPAPI VkBufferUsageFlags | getVulkanBufferUsage (nap::EDescriptorType descriptorType) |
|
NAPAPI VkDescriptorType | getVulkanDescriptorType (nap::EDescriptorType descriptorType) |
|
NAPAPI VkFormat | getVulkanFormat (nap::rtti::TypeInfo type) |
|
template<typename ELEMENTTYPE > |
VkFormat | getVulkanFormat () |
|
template<class T > |
const Uniform * | findUniformStructMember (const std::vector< T > &members, const ShaderVariableDeclaration &declaration) |
|
size_t NAPAPI | getUniformStructSizeRecursive (const UniformStruct &uniformStruct) |
|
int NAPAPI | getUniformStructDepth (const UniformStruct &uniformStruct) |
|
bool NAPAPI | isLightEnabled (LightFlags flags) |
|
bool NAPAPI | isShadowEnabled (LightFlags flags) |
|
bool NAPAPI | isShadowSupported (LightFlags flags) |
|
uint NAPAPI | getLightType (LightFlags flags) |
|
uint NAPAPI | getShadowMapType (LightFlags flags) |
|
uint NAPAPI | getLightIndex (LightFlags flags) |
|
LightFlags NAPAPI | getLightFlags (const LightComponentInstance &light, uint index) |
|
void NAPAPI | updateLightFlags (const LightComponentInstance &light, LightFlags &outFlags) |
|
ShadowFlags NAPAPI | getShadowFlags (const std::vector< LightComponentInstance * > lights) |
|
template<typename TargetComponentType , typename SourceComponentType > |
ComponentInstancePtrInitProxy< TargetComponentType, SourceComponentType > | initComponentInstancePtr (ComponentInstance *sourceComponentInstance, ComponentPtr< TargetComponentType >(SourceComponentType::*componentMemberPointer)) |
|
template<typename TargetComponentType , typename SourceComponentType > |
std::vector< ComponentInstancePtr< TargetComponentType > > | initComponentInstancePtr (ComponentInstance *sourceComponentInstance, std::vector< ComponentPtr< TargetComponentType >>(SourceComponentType::*componentMemberPointer)) |
|
template<typename TargetComponentType , typename SourceComponentType > |
nap::ComponentInstancePtrInitProxy< TargetComponentType, SourceComponentType > | initComponentInstancePtr (ComponentInstance *sourceComponentInstance, ComponentPtr< TargetComponentType >(SourceComponentType::*componentMemberPointer)) |
|
template<typename TargetComponentType , typename SourceComponentType > |
std::vector< nap::ComponentInstancePtr< TargetComponentType > > | initComponentInstancePtr (ComponentInstance *sourceComponentInstance, std::vector< ComponentPtr< TargetComponentType >>(SourceComponentType::*componentMemberPointer)) |
|
template<typename T > |
void | getComponentsOfTypeRecursive (nap::EntityInstance &entity, std::vector< T * > &outComponents) |
|
template<typename SourceComponentType > |
EntityInstancePtrInitProxy< SourceComponentType > | initEntityInstancePtr (ComponentInstance *sourceComponentInstance, EntityPtr(SourceComponentType::*entityMemberPointer)) |
|
template<typename SourceComponentType > |
std::vector< EntityInstancePtr > | initEntityInstancePtr (ComponentInstance *sourceComponentInstance, std::vector< EntityPtr >(SourceComponentType::*entityMemberPointer)) |
|
template<typename SourceComponentType > |
nap::EntityInstancePtrInitProxy< SourceComponentType > | initEntityInstancePtr (ComponentInstance *sourceComponentInstance, EntityPtr(SourceComponentType::*entityMemberPointer)) |
|
template<typename SourceComponentType > |
std::vector< nap::EntityInstancePtr > | initEntityInstancePtr (ComponentInstance *sourceComponentInstance, std::vector< EntityPtr >(SourceComponentType::*entityMemberPointer)) |
|
template<> |
void | SequenceCurveTrackView::showValue< glm::vec2 > (const SequenceTrack &track, const SequenceTrackSegmentCurve< glm::vec2 > &segment, float x, double time, int curveIndex) |
|
template<> |
void | SequenceCurveTrackView::showValue< glm::vec3 > (const SequenceTrack &track, const SequenceTrackSegmentCurve< glm::vec3 > &segment, float x, double time, int curveIndex) |
|
template<> |
void | SequenceCurveTrackView::showValue< glm::vec4 > (const SequenceTrack &track, const SequenceTrackSegmentCurve< glm::vec4 > &segment, float x, double time, int curveIndex) |
|
template<> |
bool | SequenceCurveTrackView::inputFloat< glm::vec2 > (glm::vec2 &v, int precision) |
|
template<> |
bool | SequenceCurveTrackView::inputFloat< glm::vec3 > (glm::vec3 &v, int precision) |
|
template<> |
bool | SequenceCurveTrackView::inputFloat< glm::vec4 > (glm::vec4 &v, int precision) |
|
std::vector< int > NAPAPI | convertTimeToMMSSMSArray (double time) |
|
double NAPAPI | convertMMSSMSArrayToTime (const std::vector< int > &timeArray) |
|
NAPAPI uint32 | computeWebSocketLogLevel (EWebSocketLogLevel level) |
|
This file contains the macros necessary to register types and their attributes with the RTTI system. When registering into the RTTI system, properties and functions are also automatically exposed to Python.
There are only a few macros important for the user of the RTTI system:
- RTTI_OF - This is a convenience macro used to get the underlying TypeInfo of the named type. Usage example: RTTI_OF(rtti::RTTIObject).
- RTTI_ENABLE - This macro must be used when you have a class that is part of an inheritance hierarchy. The argument to the macro is a comma-separated list of base classes (empty if the macro is being used in the base class itself).
- RTTI_BEGIN_CLASS, RTTI_BEGIN_STRUCT, RTTI_END_CLASS, RTTI_END_STRUCT, RTTI_PROPERTY, RTTI_FUNCTION - These macros are used to register a type or function in the RTTI system and must be placed in a .cpp file.
- RTTI_BEGIN_ENUM/RTTI_END_ENUM - These macros are used to register an enum in the RTTI system and must be placed in a .cpp file
See the following example for a typical usage scenario of these macros:
enum class ETestEnum
{
One,
Two,
Three,
Four
};
// RTTIClasses.h
struct DataStruct
{
float mFloatProperty;
std::string mStringProperty;
ETestEnum mEnumProperty;
};
class BaseClass
{
RTTI_ENABLE()
private:
float mFloatProperty;
};
class DerivedClass : public BaseClass
{
RTTI_ENABLE(SomeBaseClass)
DerivedClass() = default;
DerivedClass(int value) :
mIntProperty(value)
{
}
int getValue() const { return mIntProperty; }
private:
int mIntProperty;
};
The above code defines four new types:
- ETestEnum An enum that will be used in one of the other RTTI classes
- DataStruct: A class without base or derived classes. Note that the RTTI_ENABLED macro is not used for this class. The fact that the RTTI_ENABLED macro is optional (it's only required when the class is part of an inheritance hierarchy) makes it possible to add RTTI to third party classes, since no modification of the class itself is required. This is also very efficient, because when RTTI_ENABLED is not used, no vtable is required in the class. A good example of this is adding RTTI support to classes such as glm::vec2, glm::vec3, etc; types that we have no control over, but we want to add RTTI to, without adding a vtable to them.
- BaseClass This class is designed to be the base-class of an inheritance hierarchy. Because of this, a RTTI_ENABLED macro is required in the class definition in order for RTTI to properly work Note that because this is the base class, no arguments to the RTTI_ENABLED macro are needed
- DerivedClass This class is part of an inheritance hierarchy and in this case inherits from BaseClass. Again, this means a RTTI_ENABLED macro is required in the class definition. Note that because this class derives from another RTTI class (BaseClass), the class it derives from must be specified as argument to the RTTI_ENABLE macro. The class has two constructors: the default constructor (which will be registered by default) and another constructor that we will have to register manually. GetValue is a function that we are going to expose as well.
Note that the code in the header does not actually register these types with the RTTI system; the RTTI_ENABLED macro is only used to add some plumbing (virtual calls) to the class, not to do actual registration. In order to actually register the types with the RTTI system, the following code must be added to the cpp file:
// RTTIClasses.cpp
RTTI_BEGIN_ENUM(ETestEnum)
RTTI_ENUM_VALUE(ETestEnum::One, "One"),
RTTI_ENUM_VALUE(ETestEnum::Two, "Two"),
RTTI_ENUM_VALUE(ETestEnum::Three, "Three"),
RTTI_ENUM_VALUE(ETestEnum::Four, "Four")
RTTI_END_ENUM
RTTI_BEGIN_CLASS(DataStruct)
RTTI_PROPERTY("FloatProperty", &DataStruct::mFloatProperty, nap::rtti::EPropertyMetaData::None, "Property description");
RTTI_PROPERTY("StringProperty", &DataStruct::mStringProperty, nap::rtti::EPropertyMetaData::Required, "Property description");
RTTI_PROPERTY("EnumProperty", &DataStruct::mEnumProperty, nap::rtti::EPropertyMetaData::Required, "Property description");
RTTI_END_CLASS
RTTI_BEGIN_CLASS(BaseClass)
RTTI_PROPERTY("FloatProperty", &BaseClass::mFloatProperty, nap::rtti::EPropertyMetaData::None);
RTTI_END_CLASS
RTTI_BEGIN_CLASS(DerivedClass, "Type description")
RTTI_CONSTRUCTOR(int)
RTTI_PROPERTY("IntProperty", &DerivedClass::mIntProperty, nap::rtti::EPropertyMetaData::None)
RTTI_FUNCTION("getValue", &DerivedClass::getValue)
RTTI_END_CLASS
The above code, which must be located in the cpp, is responsible for the registration. In general, to register a type and its attributes with the RTTI system, you simply use the RTTI_BEGIN_CLASS/RTTI_END_CLASS pair and add RTTI_PROPERTY, RTTI_CONSTRUCTOR and RTTI_FUNCTION calls to register the properties you need.
Once registered, the type can be looked up in the RTTI system and can be inspected for properties etc. A simple example that prints out the names of all properties of an RTTI class:
template<class T>
void printProperties()
{
rtti::TypeInfo type = RTTI_OF(T); // Could also be rtti::TypeInfo::get<T>()
std::cout << "Properties of " << type.get_name().data() << std::endl;
for (const rtti::Property& property : type.get_properties())
{
std::cout << " -- " << property.get_name().data() << std::endl;
}
}
printProperties<DataStruct>();
This namespace is only used to redefine some RTTR types to our own types so that the rttr:: namespace does not leak out everywhere
From https://github.com/jesusgollonet/ofpennereasing
All Photoshop blend modes. taken from http://www.deepskycolors.com/archivo/2010/04/21/formulas-for-Photoshop-blending-modes.html Operations should be done on normalized values. Some of these functions are just included for completeness (multiply anyone?)