NVIDIA Iray API — software examples nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Buffer Class Reference
Inheritance diagram for Buffer:
mi::base::Interface_implement< mi::neuraylib::IBuffer > mi::neuraylib::IBuffer mi::base::Interface_declare< 0xfb925baf, 0x1e38, 0x461b, 0x8e, 0xcd, 0x65, 0xa3, 0xf5, 0x20, 0xe5, 0x92 > mi::base::IInterface

Public Member Functions

const mi::Uint8get_data () const
 Returns a pointer to the data represented by the buffer. More...
 
mi::Size get_data_size () const
 Returns the size of the buffer. More...
 
 Buffer (const std::vector< mi::Uint8 > &content)
 
- Public Member Functions inherited from mi::base::Interface_implement< mi::neuraylib::IBuffer >
 Interface_implement (Uint32 initial=1)
 Constructor. More...
 
 Interface_implement (const Interface_implement< mi::neuraylib::IBuffer > &other)
 Copy constructor. More...
 
Interface_implement
< mi::neuraylib::IBuffer > & 
operator= (const Interface_implement< mi::neuraylib::IBuffer > &other)
 Assignment operator. More...
 
virtual Uint32 retain () const
 Increments the reference count. More...
 
virtual Uint32 release () const
 Decrements the reference count. More...
 
virtual const IInterfaceget_interface (const Uuid &interface_id) const
 Acquires a const interface. More...
 
virtual IInterfaceget_interface (const Uuid &interface_id)
 Acquires a mutable interface. More...
 
Uuid get_iid () const
 Returns the interface ID of the most derived interface. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xfb925baf, 0x1e38, 0x461b, 0x8e, 0xcd, 0x65, 0xa3, 0xf5, 0x20, 0xe5, 0x92 >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xfb925baf, 0x1e38, 0x461b, 0x8e, 0xcd, 0x65, 0xa3, 0xf5, 0x20, 0xe5, 0x92 >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 
- Protected Member Functions inherited from mi::base::Interface_implement< mi::neuraylib::IBuffer >
Atom32refcount () const
 Get the current refcount. More...
 
virtual ~Interface_implement ()
 
- Static Protected Member Functions inherited from mi::base::Interface_declare< 0xfb925baf, 0x1e38, 0x461b, 0x8e, 0xcd, 0x65, 0xa3, 0xf5, 0x20, 0xe5, 0x92 >
static const IInterfaceget_interface_static (const IInterface *iinterface, const Uuid &interface_id)
 
static IInterfaceget_interface_static (IInterface *iinterface, const Uuid &interface_id)
 

Detailed Description

Definition at line 35 of file example_rtmp_server.cpp.

Constructor & Destructor Documentation

Buffer::Buffer ( const std::vector< mi::Uint8 > &  content)
inline

Definition at line 42 of file example_rtmp_server.cpp.

Member Function Documentation

const mi::Uint8* Buffer::get_data ( ) const
inlinevirtual

Returns a pointer to the data represented by the buffer.

Implements mi::neuraylib::IBuffer.

Definition at line 38 of file example_rtmp_server.cpp.

mi::Size Buffer::get_data_size ( ) const
inlinevirtual

Returns the size of the buffer.

Implements mi::neuraylib::IBuffer.

Definition at line 40 of file example_rtmp_server.cpp.


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