IMessage Class Reference

Base message class. More...

Inheritance diagram for IMessage:
IKernelObject IObject IMessageClock IMessageEvent IMessageSignal IMessageWithData

List of all members.

Public Member Functions

virtual OpenViBE::CIdentifier getIdentifier (void) const =0
 Gets the message identifier.
virtual OpenViBE::uint64 getTime (void) const =0
 Gets the timestamp of the message.
virtual OpenViBE::boolean setIdentifier (const OpenViBE::CIdentifier &rIdentifier)=0
 Sets the message identifier for this message.
virtual OpenViBE::boolean setTime (const OpenViBE::uint64 ui64Time)=0
 Sets the message timestamp.

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.