CHAI SDK
Version 1.3
|
Base interface for all kinds of message. More...
Public Member Functions | |
virtual CPNS::IEventMessage * | GetIEventMessage () const =0 |
Check message type and return an IEventMessage object pointer if type match. More... | |
virtual CPNS::IModifierMessage * | GetIModifierMessage () const =0 |
Check message type and return an IModifierMessage object pointer if type match. More... | |
virtual CPNS::ISelectorMessage * | GetISelectorMessage () const =0 |
Check message type and return an ISelectorMessage object pointer if type match. More... | |
virtual CPNS::ITextMessage * | GetITextMessage () const =0 |
Check message type and return an ITextMessage object pointer if type match. More... | |
virtual CPNS::IMIDISysexMessage * | GetIMIDISysexMessage () const =0 |
Check message type and return an IMIDISysexMessage object pointer if type match. More... | |
virtual CPNS::IDataTransferMessage * | GetIDataTransferMessage () const =0 |
Check message type and return an IDataTransferMessage object pointer if type match. More... | |
virtual CPNS::CombinedTimeStampFlags | GetTimeStampFlags () const =0 |
Get time stamp flags, informing about time stamp types available and offline mode. More... | |
virtual CPNS::SongPosition | GetTimeStampSongPosition () const =0 |
Get the Song Position time stamp. More... | |
virtual CPNS::SystemTime | GetTimeStampSystemTime () const =0 |
Get the System Time time stamp. More... | |
virtual CPNS::Endpoint | GetSource () const =0 |
Get the message source endpoint. More... | |
virtual CPNS::uint16 | GetDestinationNumber () const =0 |
Get the number of destinations This methods is only useful in case of message trapped during recording session. More... | |
virtual CPNS::Endpoint | GetDestination (CPNS::uint16 const wDestinationIndex)=0 |
Get a destination Get the number of destinations This methods is only useful in case of message trapped during recording session. More... | |
Public Member Functions inherited from CPNS::IHookedObject | |
virtual void | Acquire ()=0 |
Acquire an object. More... | |
virtual void | Release ()=0 |
Release an object. More... | |
virtual CPNS::uint32 | GetHookCounter () const =0 |
Get object's hook counter. More... | |
Public Member Functions inherited from CPNS::IObject | |
virtual CPNS::ICHAI * | GetCHAI ()=0 |
Get a pointer to the CHAI hosting this object. More... | |
virtual void | RegisterObjectNotificationHandler (CPNS::IObject_NotificationHandler *const pHandler)=0 |
Register an Object's notification handler. More... | |
virtual void | UnregisterObjectNotificationHandler (CPNS::IObject_NotificationHandler *const pHandler)=0 |
Unregister an Object's notification handler. More... | |
virtual CPNS::Enums::ObjectTypes | GetObjectType () const =0 |
Get the object type. More... | |
virtual CPNS::uint32 | GetHandle () const =0 |
Get a unique handle to the object if this object is handled by the trashcan. More... | |
virtual void | SetUserDataPtr (void const *const pData)=0 |
Set a custom user ptr data. More... | |
virtual void * | GetUserDataPtr () const =0 |
Get custom user ptr data. More... | |
virtual void | SetUserDataUInt32 (const CPNS::uint32 dwData)=0 |
Set a custom user uint32 data. More... | |
virtual CPNS::uint32 | GetUserDataUInt32 () const =0 |
Get custom user uint32 data. More... | |
Base interface for all kinds of message.
All kinds of message inherits from this base interface providing a single anchor pointer for sending or receiving operation.
|
pure virtual |
Get a destination Get the number of destinations This methods is only useful in case of message trapped during recording session.
It provides a way to explore original destination list related to a message sniffed by the recording feature.
[in] | wDestinationIndex | an index from 0 to GetDestinationNumber()-1 |
|
pure virtual |
Get the number of destinations This methods is only useful in case of message trapped during recording session.
It provides a way to explore original destination list related to a message sniffed by the recording feature.
|
pure virtual |
Check message type and return an IDataTransferMessage object pointer if type match.
|
pure virtual |
Check message type and return an IEventMessage object pointer if type match.
|
pure virtual |
Check message type and return an IMIDISysexMessage object pointer if type match.
|
pure virtual |
Check message type and return an IModifierMessage object pointer if type match.
|
pure virtual |
Check message type and return an ISelectorMessage object pointer if type match.
|
pure virtual |
Check message type and return an ITextMessage object pointer if type match.
|
pure virtual |
Get the message source endpoint.
|
pure virtual |
Get time stamp flags, informing about time stamp types available and offline mode.
|
pure virtual |
Get the Song Position time stamp.
|
pure virtual |
Get the System Time time stamp.