Nebula
Loading...
Searching...
No Matches
IO::IOMessage Class Reference

#include <iointerfaceprotocol.h>

Inherits Messaging::Message.

Inherited by IO::CreateDirectory, IO::DeleteDirectory, IO::DeleteFile, IO::MountArchive, IO::ReadStream, and IO::WriteStream.

Public Member Functions

 IOMessage ()
 
void SetURI (const IO::URI &val)
 
const IO::URIGetURI () const
 
void SetResult (bool val)
 
bool GetResult () const
 
- Public Member Functions inherited from Messaging::Message
 Message ()
 constructor
 
bool CheckId (const Messaging::Id &id) const
 return true if message is of the given id
 
virtual void Encode (const Ptr< IO::BinaryWriter > &writer)
 encode message into a stream
 
virtual void Decode (const Ptr< IO::BinaryReader > &reader)
 decode message from a stream
 
void SetHandled (bool b)
 set the handled flag
 
bool Handled () const
 return true if the message has been handled
 
void SetDeferred (bool b)
 set deferred flag
 
bool IsDeferred () const
 get deferred flag
 
void SetDeferredHandled (bool b)
 set the deferred handled flag
 
bool DeferredHandled () const
 get the deferred handled flag
 
bool GetDistribute () const
 should this message be distributed over the network
 
void SetDistribute (bool b)
 enable distribution over network
 
- 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::StringGetClassName () const
 get the class name
 
Util::FourCC GetClassFourCC () const
 get the class FourCC code
 

Private Member Functions

 __DeclareClass (IOMessage)
 

Private Attributes

 __DeclareMsgId
 
IO::URI uri
 
bool result
 

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)
 
- Protected Attributes inherited from Messaging::Message
volatile int handled
 
bool deferred
 
bool deferredHandled
 
bool distribute
 

Constructor & Destructor Documentation

◆ IOMessage()

IO::IOMessage::IOMessage ( )
inline

Member Function Documentation

◆ __DeclareClass()

IO::IOMessage::__DeclareClass ( IOMessage )
private

◆ GetResult()

bool IO::IOMessage::GetResult ( ) const
inline

◆ GetURI()

const IO::URI & IO::IOMessage::GetURI ( ) const
inline

◆ SetResult()

void IO::IOMessage::SetResult ( bool val)
inline

◆ SetURI()

void IO::IOMessage::SetURI ( const IO::URI & val)
inline

Member Data Documentation

◆ __DeclareMsgId

IO::IOMessage::__DeclareMsgId
private

◆ result

bool IO::IOMessage::result
private

◆ uri

IO::URI IO::IOMessage::uri
private

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