IMessage Class Referenceabstract

Base message class. More...

Inheritance diagram for IMessage:
IKernelObject IObject IMessageClock IMessageEvent IMessageSignal

Public Member Functions

virtual OpenViBE::CIdentifier getIdentifier (void) const =0
 Gets the message identifier. More...
 
virtual OpenViBE::uint64 getTime (void) const =0
 Gets the timestamp of the message. More...
 
virtual OpenViBE::boolean setIdentifier (const OpenViBE::CIdentifier &rIdentifier)=0
 Sets the message identifier for this message. More...
 
virtual OpenViBE::boolean setTime (const OpenViBE::uint64 ui64Time)=0
 Sets the message timestamp. More...
 
- Public Member Functions inherited from IObject
virtual OpenViBE::CIdentifier getClassIdentifier (void) const =0
 Returns the final class identifier of the concrete class. More...
 
virtual OpenViBE::boolean isDerivedFromClass (const OpenViBE::CIdentifier &rClassIdentifier) const
 Checks if this object is compatible with a class identifier. More...
 
virtual OpenViBE::boolean acceptVisitor (OpenViBE::IObjectVisitor &rObjectVisitor)
 Requests this object to accept a visitor. More...
 

Detailed Description

Base message class.

Author
Yann Renard (INRIA/IRISA)
Date
2006-05-30

Member Function Documentation

virtual OpenViBE::CIdentifier getIdentifier ( void  ) const
pure virtual

Gets the message identifier.

Returns
The identifier of the message.
virtual OpenViBE::uint64 getTime ( void  ) const
pure virtual

Gets the timestamp of the message.

Returns
the timestamp of the message.
virtual OpenViBE::boolean setIdentifier ( const OpenViBE::CIdentifier rIdentifier)
pure virtual

Sets the message identifier for this message.

Parameters
rIdentifier[in] : the new identifier of the message
Returns
true in case of success.
false in case of error.
virtual OpenViBE::boolean setTime ( const OpenViBE::uint64  ui64Time)
pure virtual

Sets the message timestamp.

Parameters
ui64Time[in] : the new timestamp of the message
Returns
true in case of success.
false in case of error.