CHAI SDK
Version 1.3
|
Public Member Functions | |
CPNS::IOutput * | GetIOutput () const |
Check Output type and return an IOutput object pointer if type match. More... | |
CPNS::IController * | GetIController () const |
Check Controller type and return an IController object pointer if type match. More... | |
virtual CPNS::IBaseLocalDevice * | GetDevice () const =0 |
Get the related Local DeviceCHAI. More... | |
virtual void | SetDisabledInternalSnapshot (CPNS::boolean const fDisabled)=0 |
Enable/disable the internal snapshot capability for this output. More... | |
virtual CPNS::UTF8String | GetName () const =0 |
Get the Output name. More... | |
virtual void | SetName (CPNS::char8 const *const utf8Name)=0 |
Set the Output name. More... | |
virtual CPNS::Endpoint | GetEndpoint ()=0 |
Get the Endpoint related to the output. More... | |
virtual void | SetSectionID (CPNS::SectionID const §ionID)=0 |
Set the Output section. More... | |
virtual CPNS::SectionID | GetSectionID () const =0 |
Get the Output section. More... | |
virtual CPNS::boolean | IsCompatibleWith (CPNS::CombinedInOutCapabilities const inCaps)=0 |
Check if the output is compatible with the specified input caps. More... | |
virtual CPNS::CombinedInOutCapabilities | GetCapabilities () const =0 |
Get the Output capabilities. More... | |
virtual CPNS::boolean | HasRecordingDestinations ()=0 |
Check if the Output has recording destinations. More... | |
virtual void | ClearRecordingDestinations ()=0 |
Clear all recording destinations. More... | |
virtual CPNS::Enums::Errors | AddRecordingDestination (CPNS::Endpoint const &destination)=0 |
Add a recording destination There is no effect if the recording destination is already set for the Output. More... | |
virtual CPNS::Enums::Errors | RemoveRecordingDestination (CPNS::Endpoint const &destination)=0 |
Remove a recording destination. More... | |
virtual CPNS::uint16 | GetNumRecordingDestinations ()=0 |
Get the number of recording destinations. More... | |
virtual CPNS::Endpoint | GetRecordingDestination (CPNS::uint16 const wDestinationIndex)=0 |
Get a recording destination. More... | |
virtual void | EnableSendingDuringGlobalLearning (CPNS::boolean const fEnable)=0 |
Allow sending message during global learning. More... | |
virtual void | ClearTimeStamp ()=0 |
Clear any timestamp information. More... | |
virtual void | SetTimeStampOffline ()=0 |
Set the timestamp in offline mode. More... | |
virtual void | SetTimeStampSongPosition (CPNS::SongPosition const position)=0 |
Set the timestamp to Song Position value. More... | |
virtual void | SetTimeStampSystemTime (CPNS::SystemTime const position)=0 |
Set the timestamp to System Time value. More... | |
virtual void | SetTimeStampSystemTimeFromGlobalSynchronizedTime ()=0 |
Set timestamp from Global Synchronized Clock (unit is 1us). More... | |
virtual void | EnableAutoTimeStampOnRecording (CPNS::boolean const fEnable)=0 |
Enable/disable automatic timestamping during recording session. More... | |
virtual CPNS::Enums::Errors | QueryCurrentParameterValues ()=0 |
Send a query for all current parameter values refresh to the connected input. More... | |
virtual CPNS::Enums::Errors | QueryCurrentParameterValue (CPNS::ParameterID const ¶mID)=0 |
Send a query of current parameter value update for the specified parameter. 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... | |
|
pure virtual |
Add a recording destination There is no effect if the recording destination is already set for the Output.
[in] | destination | the new destination |
|
pure virtual |
Clear all recording destinations.
|
pure virtual |
Clear any timestamp information.
|
pure virtual |
Enable/disable automatic timestamping during recording session.
[in] | fEnable | If enabled (default status), a global synchronized time timestamp is automatically added when recording is armed if no timestamp has been set using one of the SetTimeStamp*** methods. |
|
pure virtual |
Allow sending message during global learning.
[in] | fEnable | if TRUE, messages can be sent even the network is performing a global learning |
|
pure virtual |
Get the Output capabilities.
|
pure virtual |
Get the related Local DeviceCHAI.
|
pure virtual |
Get the Endpoint related to the output.
CPNS::IController* CPNS::IBaseOutput::GetIController | ( | ) | const |
Check Controller type and return an IController object pointer if type match.
CPNS::IOutput* CPNS::IBaseOutput::GetIOutput | ( | ) | const |
Check Output type and return an IOutput object pointer if type match.
|
pure virtual |
Get the Output name.
|
pure virtual |
Get the number of recording destinations.
|
pure virtual |
Get a recording destination.
[in] | wDestinationIndex | Index, from 0 to GetNumRecordingDestinations()-1 |
|
pure virtual |
Get the Output section.
|
pure virtual |
Check if the Output has recording destinations.
|
pure virtual |
Check if the output is compatible with the specified input caps.
[in] | inCaps | the input capabilities |
|
pure virtual |
Send a query of current parameter value update for the specified parameter.
|
pure virtual |
Send a query for all current parameter values refresh to the connected input.
|
pure virtual |
Remove a recording destination.
[in] | destination | the destination to be removed |
|
pure virtual |
Enable/disable the internal snapshot capability for this output.
By default it is enabled, so the output destination set and hosted controllers assignment are saved/restored by the internal snapshot.
[in] | fDisabled | If TRUE, the internal snapshot is disabled for this output. |
|
pure virtual |
Set the Output name.
[in] | utf8Name | the new name |
|
pure virtual |
Set the Output section.
[in] | sectionID | the new Section ID |
|
pure virtual |
Set the timestamp in offline mode.
By default, time stamp is not in offline mode.
|
pure virtual |
Set the timestamp to Song Position value.
[in] | position | The position expressed as a 32 bits number. Unit is (a quarter note / 1920). |
|
pure virtual |
Set the timestamp to System Time value.
[in] | position | The position expressed as a 64 bits number. Unit is 1 us. |
|
pure virtual |
Set timestamp from Global Synchronized Clock (unit is 1us).