Important Update:
- FunctionCore:
- Improve Channel Events:
- Remove important actions from ChannelStateEvent()
(now only used for custom actions)
- Add new method UpdateChannelOutState()
- Add Channel Events to Link and Unlink actions
- Rename SetChannelState() -> SetChannelInState()
- Use Channel->Ref (instead of name) on all channel events
- DeviceCore/SelectableCore:
- Rename SetChannelState() -> SetChannelInState()
This commit is contained in:
@@ -121,9 +121,10 @@ public:
|
||||
// Manage Channels
|
||||
virtual TChannel * AddChannel( const char * ChannelName, const EChannelState State );
|
||||
|
||||
virtual bool SetChannelState( TChannel * Channel, const EChannelState State );
|
||||
virtual bool ChannelStateEvent( TChannel * Channel, const char * SourceRef, const EChannelState OldState, const EChannelState NewState );
|
||||
virtual EChannelState ChannelOutState( TChannel * Channel, const char * TargetRef );
|
||||
virtual bool SetChannelInState( TChannel * Channel, const EChannelState State );
|
||||
virtual bool ChannelStateEvent( TChannel * Channel, const char * SourceRef, const EChannelState OldState, const EChannelState NewState ) { return true; };
|
||||
virtual bool UpdateChannelOutState( TChannel * Channel );
|
||||
virtual EChannelState GetChannelOutState( TChannel * Channel, const char * TargetRef );
|
||||
|
||||
// Pushing Data Output -> Input
|
||||
virtual int Output( const char * ChannelName, const char * TargetRef, const bool SourceRef, const char * Data, int Len = -1 );
|
||||
|
||||
Reference in New Issue
Block a user